diff options
| author | Ondřej Surý <ondrej@sury.org> | 2013-04-11 17:20:31 +0200 |
|---|---|---|
| committer | Ondřej Surý <ondrej@sury.org> | 2013-04-11 17:20:31 +0200 |
| commit | 5a7c0b1f326279a6d7dba8285e81860e1f0ff8ce (patch) | |
| tree | 81f2fb75f657f6a90ad1ef8901b9408ce17b20ae /tests/func | |
| parent | cf099ba2ee4e438bae16c3670a14ce0c4390529a (diff) | |
| download | php-5a7c0b1f326279a6d7dba8285e81860e1f0ff8ce.tar.gz | |
Imported Upstream version 5.5.0~beta3upstream/5.5.0_beta3
Diffstat (limited to 'tests/func')
| -rw-r--r-- | tests/func/011.phpt | 10 | ||||
| -rw-r--r-- | tests/func/bug64523.phpt | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/tests/func/011.phpt b/tests/func/011.phpt new file mode 100644 index 000000000..ec93214a7 --- /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-- +<?php +echo ini_get('error_reporting'); +?> +--EXPECT-- +10248 diff --git a/tests/func/bug64523.phpt b/tests/func/bug64523.phpt new file mode 100644 index 000000000..e0092ada6 --- /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-- +<?php +echo ini_get('error_reporting'); +?> +--EXPECTF-- +22519 |
