diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2017-02-02 21:15:36 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2017-02-03 21:02:52 +0100 |
commit | c61daf415d0207abda6041a3ed12c23b6a9d8ebf (patch) | |
tree | a61504f51e3473ca545be5be1109156ebc43de92 /tests | |
parent | 2df9346e7f9a0ecc204a1d615b5c151b8ed053f5 (diff) | |
download | php-git-c61daf415d0207abda6041a3ed12c23b6a9d8ebf.tar.gz |
Deprecate track_errors / $php_errormsg
Diffstat (limited to 'tests')
-rw-r--r-- | tests/run-test/test005.phpt | 3 | ||||
-rw-r--r-- | tests/run-test/test008.phpt | 3 | ||||
-rw-r--r-- | tests/run-test/test008a.phpt | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/tests/run-test/test005.phpt b/tests/run-test/test005.phpt index 07ad7a659b..ef644a4fb1 100644 --- a/tests/run-test/test005.phpt +++ b/tests/run-test/test005.phpt @@ -4,6 +4,8 @@ Error message handling (with ZendOpcache) <?php extension_loaded("Zend Opcache") or die("skip Zend Opcache is not loaded"); ?> +--INI-- +track_errors=1 --FILE-- <?php // If this test fails ask the developers of run-test.php @@ -24,6 +26,7 @@ $error = 1 / $zero; var_dump($php_errormsg); ?> --EXPECTF-- +Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0 string(1) "1" string(5) "32767" string(1) "0" diff --git a/tests/run-test/test008.phpt b/tests/run-test/test008.phpt index 7d95d8937b..41d22d8e71 100644 --- a/tests/run-test/test008.phpt +++ b/tests/run-test/test008.phpt @@ -4,6 +4,8 @@ Error message handling (without ZendOpcache) <?php !extension_loaded("Zend Opcache") or die("skip Zend Opcache is loaded"); ?> +--INI-- +track_errors=1 --FILE-- <?php // If this test fails ask the developers of run-test.php @@ -22,6 +24,7 @@ $error = 1 / 0; var_dump($php_errormsg); ?> --EXPECTF-- +Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0 string(1) "1" string(5) "32767" string(1) "0" diff --git a/tests/run-test/test008a.phpt b/tests/run-test/test008a.phpt index 7d7649adc0..9814fa12f7 100644 --- a/tests/run-test/test008a.phpt +++ b/tests/run-test/test008a.phpt @@ -4,6 +4,8 @@ Error message handling (with ZendOpcache) <?php if (!extension_loaded("Zend Opcache")) die("skip Zend Opcache is not loaded"); ?> +--INI-- +track_errors=1 --FILE-- <?php // If this test fails ask the developers of run-test.php @@ -24,6 +26,7 @@ $error = 1 / $zero; var_dump($php_errormsg); ?> --EXPECTF-- +Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0 string(1) "1" string(5) "32767" string(1) "0" |