1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 02:33:17 +02:00

Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix posix_errno test without PCNTL dep
This commit is contained in:
Peter Kokot
2019-06-27 00:25:14 +02:00
+4 -1
View File
@@ -12,7 +12,10 @@ Francesco Fullone ff@ideato.it
<?php
echo "*** Test by calling function with pid error ***\n";
posix_kill((2 ** 22) + 1, SIGKILL);
// Don't rely on PCNTL extension being around
$SIGKILL = 9;
posix_kill((2 ** 22) + 1, $SIGKILL);
var_dump(posix_errno());
?>