8000 GitHub - zhangrui-git/php-runner: PHP PCNTL
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

zhangrui-git/php-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fork star

php pcntl process project

<?php
/**
 * author: Zhang Rui
 * github: https://github.com/zhangrui-git
 * mail: zhangruirui@zhangruirui.com
 * create: 2020/8/5 6:30 下午
 */

include_once './Bootstrap.php';
PhpRunner\Bootstrap::start();
$echo = new PhpRunner\EchoTimeWork();
$echo->step = 10;

$proc = new PhpRunner\Process(4, false);
$proc->addWork($echo);
$proc->main($argv);

shell$ php phprunner start

About

PHP PCNTL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0