]> granicus.if.org Git - php/commitdiff
MFH: Fixed bug #60978 (exit code incorrect)
authorXinchen Hui <laruence@php.net>
Fri, 2 Mar 2012 03:25:41 +0000 (03:25 +0000)
committerXinchen Hui <laruence@php.net>
Fri, 2 Mar 2012 03:25:41 +0000 (03:25 +0000)
NEWS
Zend/tests/bug60978.phpt

diff --git a/NEWS b/NEWS
index 33fd9d0dfb6873be8e14209e76494594b76564c0..1aa054655a14456c37d881f11c86a4aa7f6af59c 100644 (file)
--- a/NEWS
+++ b/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)
 
index ebaaf05f23e244e9091536956a9515b3a0d75113..86ee1ce1200ccd421fc20345cb2e0ed5b6145b7a 100755 (executable)
@@ -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--