com php-src: Fix test (order of warning / notice changes due to delaying until runtime): Zend/tests/bug69788.phpt
| From: | Bob Weinand | Date: | Thu, 28 Feb 2019 08:10:35 +0000 |
| Subject: | com php-src: Fix test (order of warning / notice changes due to delaying until runtime): Zend/tests/bug69788.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-104881@lists.php.net to get a copy of this message | ||
Commit: 9d5db37cee4ebe5cfddb47b6fbce5329ddaad2a7
Author: Bob Weinand <bobwei9@hotmail.com> Thu, 28 Feb 2019 09:10:07 +0100
Parents: 6d487ee1775b2e659e0c40f3a422398856a740a7
Branches: PHP-7.4
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9d5db37cee4ebe5cfddb47b6fbce5329ddaad2a7
Log:
Fix test (order of warning / notice changes due to delaying until runtime)
Changed paths:
M Zend/tests/bug69788.phpt
Diff:
diff --git a/Zend/tests/bug69788.phpt b/Zend/tests/bug69788.phpt
index 326328c..ff02841 100644
--- a/Zend/tests/bug69788.phpt
+++ b/Zend/tests/bug69788.phpt
@@ -3,6 +3,6 @@ Bug #69788: Malformed script causes Uncaught Error in php-cgi, valgrind SIGILL
--FILE--
<?php [t.[]]; ?>
--EXPECTF--
-Notice: Array to string conversion in %s on line %d
-
Warning: Use of undefined constant t - assumed 't' (this will throw an Error in a future
version of PHP) in %s on line %d
+
+Notice: Array to string conversion in %s on line %d