dis-bench / src /php /php-src /sapi /cli /tests /bug62294.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
284 Bytes
--TEST--
Bug #62294: register_shutdown_function() does not handle exit code correctly
--FILE--
<?php
$php = getenv('TEST_PHP_EXECUTABLE_ESCAPED');
exec($php . ' -n ' . escapeshellarg(__DIR__ . '/bug62294.inc'), $output, $exit_status);
var_dump($exit_status);
?>
--EXPECT--
int(255)