mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
MFH: Fixed bug #60978 (exit code incorrect)
This commit is contained in:
parent
59cbf74b74
commit
101e3e8aed
1
NEWS
1
NEWS
@ -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)
|
||||
|
||||
|
@ -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--
|
||||
|
Loading…
Reference in New Issue
Block a user