|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-07-26 05:12 UTC] xltxlm at qq dot com
[2017-07-26 10:23 UTC] laruence@php.net
-Status: Open
+Status: Not a bug
[2017-07-26 10:23 UTC] laruence@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 07 17:00:02 2025 UTC |
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.