php-src/Zend/tests/lsb_006.phpt
2020-01-13 12:06:23 +01:00

13 lines
229 B
PHP

--TEST--
ZE2 Late Static Binding ensuring extending 'static' is not allowed
--FILE--
<?php
class Foo extends static {
}
?>
==DONE==
--EXPECTF--
Fatal error: Cannot use 'static' as class name, as it is reserved in %s on line %d