php-src/Zend/tests/lsb_006.phpt

13 lines
229 B
Plaintext
Raw Normal View History

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