Bug #74990 [Opn]: pcntl_fork do not exit

From: Date: Wed, 26 Jul 2017 05:12:56 +0000
Subject: Bug #74990 [Opn]: pcntl_fork do not exit
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210337@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74990&edit=1 ID: 74990 User updated by: xltxlm at qq dot com Reported by: xltxlm at qq dot com Summary: pcntl_fork do not exit Status: Open Type: Bug Package: PCNTL related Operating System: Debian GNU/Linux 8 on docker PHP Version: 7.1.7 Block user comment: N Private report: N New Comment: i'm sorry. it is not php 7.1.7's error. it error because grpc.so . Previous Comments: ------------------------------------------------------------------------ [2017-07-26 03:34:45] xltxlm at qq dot com Description: ------------ the test code run ok less than php 7.1.6 . error on php 7.1.7 Test script: --------------- $i = 0; while ($i++ < 3) { $pid = pcntl_fork(); //创建子进程 if ($pid == 0) { echo "$i."; sleep(1); exit; } pcntl_wait($status); } Expected result: ---------------- 1.2.3. Actual result: -------------- 1. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74990&edit=1

« previous php.bugs (#210337) next »