mirror of
https://github.com/php/php-src.git
synced 2024-12-18 14:30:35 +08:00
13 lines
255 B
PHP
13 lines
255 B
PHP
--TEST--
|
|
ZE2 Late Static Binding ensuring extending 'static' is not allowed
|
|
--FILE--
|
|
<?php
|
|
|
|
class Foo extends static {
|
|
}
|
|
|
|
?>
|
|
==DONE==
|
|
--EXPECTF--
|
|
Parse error: parse error, expecting `T_STRING' or `T_PAAMAYIM_NEKUDOTAYIM' or `T_NAMESPACE' in %s on line %d
|