summaryrefslogtreecommitdiff
path: root/tests
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 /tests
parenta07e85f93fe446975f84948cfe905e2ec1c4db4a (diff)
downloadphp-git-6d6d954d0d28f488f743e6c9d0cd9ab01e1c4e41.tar.gz
Cleanup of remaining E_STRICT in tests
Diffstat (limited to 'tests')
-rw-r--r--tests/func/011.phpt4
-rw-r--r--tests/func/bug64523.phpt4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/func/011.phpt b/tests/func/011.phpt
index ec93214a78..bc698c7743 100644
--- a/tests/func/011.phpt
+++ b/tests/func/011.phpt
@@ -1,10 +1,10 @@
--TEST--
Test bitwise AND, OR, XOR, NOT and logical NOT in INI via error_reporting
--INI--
-error_reporting = E_ALL & E_NOTICE | E_STRICT ^ E_DEPRECATED & ~E_WARNING | !E_ERROR
+error_reporting = E_ALL & E_NOTICE | E_PARSE ^ E_DEPRECATED & ~E_WARNING | !E_ERROR
--FILE--
<?php
echo ini_get('error_reporting');
?>
--EXPECT--
-10248
+8204
diff --git a/tests/func/bug64523.phpt b/tests/func/bug64523.phpt
index 88adc43959..d360f097ff 100644
--- a/tests/func/bug64523.phpt
+++ b/tests/func/bug64523.phpt
@@ -1,10 +1,10 @@
--TEST--
Bug #64523: XOR not parsed in INI
--INI--
-error_reporting = E_ALL ^ E_NOTICE ^ E_STRICT ^ E_DEPRECATED
+error_reporting = E_ALL ^ E_NOTICE ^ E_WARNING ^ E_DEPRECATED
--FILE--
<?php
echo ini_get('error_reporting');
?>
--EXPECT--
-22519
+24565