blob: b300729939f07eadd47716ad0d28c14c4b3df3dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--TEST--
Bug #62294: register_shutdown_function() does not handle exit code correctly
--FILE--
<?php
$php = getenv('TEST_PHP_EXECUTABLE');
exec($php . ' ' . __DIR__ . '/bug62294.inc', $output, $exit_status);
var_dump($exit_status);
?>
--EXPECT--
int(255)
|