1. Go to this page and download the library: Download hoa/zombie library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
echo 'I guess I am sick…', "\n";
Hoa\Zombie\Zombie::fork();
// Do whatever you want here, e.g.:
sleep(10);
file_put_contents(
__DIR__ . DS . 'AMessage',
'Hello from after-life… or somewhere about!'
);
Hoa\Zombie\Zombie::decapitate();