diff options
Diffstat (limited to 'Zend/tests/lsb_007.phpt')
-rw-r--r-- | Zend/tests/lsb_007.phpt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Zend/tests/lsb_007.phpt b/Zend/tests/lsb_007.phpt new file mode 100644 index 0000000..607f8ef --- /dev/null +++ b/Zend/tests/lsb_007.phpt @@ -0,0 +1,13 @@ +--TEST-- +ZE2 Late Static Binding ensuring implementing 'static' is not allowed +--FILE-- +<?php + +class Foo implements static { +} + +?> +==DONE== +--EXPECTF-- +Parse error: %s error,%sexpecting %s in %s on line %d + |