mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.5'
* PHP-8.5: Fix flaky gh19984.phpt test
This commit is contained in:
@@ -14,6 +14,10 @@ if (!function_exists('pcntl_fork')) die('skip pcntl_fork() not available');
|
||||
<?php
|
||||
$pid = pcntl_fork();
|
||||
require __DIR__ . '/warning_replay.inc';
|
||||
if ($pid) {
|
||||
// Wait for child to output its error message.
|
||||
pcntl_waitpid($pid, $status);
|
||||
}
|
||||
?>
|
||||
--EXPECTF--
|
||||
Warning: Unsupported declare 'unknown' in %s on line %d
|
||||
|
||||
Reference in New Issue
Block a user