摘要:
PHP static::的用法 <?php class a{ static protected $test="class a"; public function static_test(){ echo static::$test; // Results class b echo self::$tes 阅读全文
摘要:
PHP多进程开发1 <?php $pid = pcntl_fork(); //父进程和子进程都会执行下面代码 if ($pid == -1) { //错误处理:创建子进程失败时返回-1. die('could not fork'); } else if ($pid) { echo getmypid( 阅读全文