summaryrefslogtreecommitdiff
path: root/Zend/tests/error_reporting02.phpt
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2019-07-14 03:45:31 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-07-23 11:27:23 +0200
commit6d6d954d0d28f488f743e6c9d0cd9ab01e1c4e41 (patch)
tree60cbb3987b5dadbac96ca4a372045d2f509e77f3 /Zend/tests/error_reporting02.phpt
parenta07e85f93fe446975f84948cfe905e2ec1c4db4a (diff)
downloadphp-git-6d6d954d0d28f488f743e6c9d0cd9ab01e1c4e41.tar.gz
Cleanup of remaining E_STRICT in tests
Diffstat (limited to 'Zend/tests/error_reporting02.phpt')
-rw-r--r--Zend/tests/error_reporting02.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/tests/error_reporting02.phpt b/Zend/tests/error_reporting02.phpt
index 6ceb8deaa3..c76c5b54c8 100644
--- a/Zend/tests/error_reporting02.phpt
+++ b/Zend/tests/error_reporting02.phpt
@@ -3,13 +3,13 @@ testing @ and error_reporting - 2
--FILE--
<?php
-error_reporting(E_ALL);
+error_reporting(E_ALL & ~E_DEPRECATED);
function foo($arg) {
}
function bar() {
- error_reporting(E_ALL|E_STRICT);
+ error_reporting(E_ALL);
throw new Exception("test");
}