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:
@@ -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());
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user