We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c21e48a commit 73bbf64Copy full SHA for 73bbf64
1 file changed
tests/phpt/fork/011_queue.php
@@ -82,7 +82,8 @@ function g ($x) {
82
}
83
84
$res = [];
85
-while ($t = wait_queue_next ($q)) {
+while (!wait_queue_empty($q)) {
86
+ $t = wait_queue_next ($q);
87
$res[] = wait($t);
88
89
sort ($res);
0 commit comments