MFH: Fixed bug #60978 (exit code incorrect)

This commit is contained in:
Xinchen Hui 2012-03-02 03:25:41 +00:00
parent 59cbf74b74
commit 101e3e8aed
2 changed files with 1 additions and 2 deletions

1
NEWS
View File

@ -6,7 +6,6 @@ PHP NEWS
. World domination
- Core:
. Fixed bug #60978 (exit code incorrect). (Laruence)
. Fixed bug #60573 (type hinting with "self" keyword causes weird errors).
(Laruence)

View File

@ -3,7 +3,7 @@ Bug #60978 (exit code incorrect)
--FILE--
<?php
$php = getenv('TEST_PHP_EXECUTABLE');
exec($php . ' -r "exit(2);"', $output, $exit_code);
exec($php . '-n -r "exit(2);"', $output, $exit_code);
echo $exit_code;
?>
--EXPECT--