diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/lang/bug23384.phpt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/lang/bug23384.phpt b/tests/lang/bug23384.phpt index e6184c4690..f48d89a3b0 100644 --- a/tests/lang/bug23384.phpt +++ b/tests/lang/bug23384.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #23384 (use of class constants in statics) +--INI-- +error_reporting=4095 --FILE-- <?php define('TEN', 10); @@ -18,7 +20,8 @@ class Foo { Foo::test(); echo Foo::HUN."\n"; ?> ---EXPECT-- +--EXPECTF-- +Strict Standards: Non-static method Foo::test() cannot be called statically in %sbug23384.php on line %d Array ( [100] => ten |
