From: Anatol Belski Date: Tue, 10 Mar 2015 09:20:43 +0000 (+0100) Subject: correct tests as the issue is only reproduceable with cgi/fpm X-Git-Tag: PRE_PHP7_NSAPI_REMOVAL~720^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd0a66528e7116462feabb7958a9ea508eca0e76;p=php correct tests as the issue is only reproduceable with cgi/fpm --- diff --git a/Zend/tests/exception_011.phpt b/Zend/tests/exception_011.phpt index 86e10262d1..e02a75a2b0 100644 --- a/Zend/tests/exception_011.phpt +++ b/Zend/tests/exception_011.phpt @@ -10,6 +10,8 @@ define ("XXXXX", 1); assert(false); ?> +--EXPECTHEADERS-- +Content-type: text/html; charset=UTF-8 --EXPECTF-- Fatal error: Uncaught exception 'AssertionException' with message 'assert(false)' in %sexception_011.php:%d Stack trace: diff --git a/Zend/tests/exception_012.phpt b/Zend/tests/exception_012.phpt index 91ea84b2e9..6493e2ccf7 100644 --- a/Zend/tests/exception_012.phpt +++ b/Zend/tests/exception_012.phpt @@ -10,6 +10,8 @@ $func = create_function('', 'define("Mommy", 1); assert(false);'); $func(); ?> +--EXPECTHEADERS-- +Content-type: text/html; charset=UTF-8 --EXPECTF-- Fatal error: Uncaught exception 'AssertionException' with message 'assert(false)' in %sexception_012.php(%d) : runtime-created function:%d Stack trace: