mirror of
https://github.com/php/php-src.git
synced 2024-12-18 06:21:41 +08:00
13 lines
229 B
PHP
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
|