From 05016b7e960148b0d2d5bde279c22e05bc42d518 Mon Sep 17 00:00:00 2001 From: Dejan Marjanovic Date: Tue, 26 Mar 2013 23:54:09 +0100 Subject: Added XOR support for expressions in INI parser --- tests/func/011.phpt | 10 ++++++++++ tests/func/bug64523.phpt | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 tests/func/011.phpt create mode 100644 tests/func/bug64523.phpt (limited to 'tests') diff --git a/tests/func/011.phpt b/tests/func/011.phpt new file mode 100644 index 0000000000..ec93214a78 --- /dev/null +++ b/tests/func/011.phpt @@ -0,0 +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 +--FILE-- + +--EXPECT-- +10248 diff --git a/tests/func/bug64523.phpt b/tests/func/bug64523.phpt new file mode 100644 index 0000000000..e0092ada64 --- /dev/null +++ b/tests/func/bug64523.phpt @@ -0,0 +1,10 @@ +--TEST-- +Bug #64523: XOR not parsed in INI +--INI-- +error_reporting = E_ALL ^ E_NOTICE ^ E_STRICT ^ E_DEPRECATED +--FILE-- + +--EXPECTF-- +22519 -- cgit v1.2.1