xref: /php-src/Zend/tests/lsb/lsb_006.phpt (revision 275f63e7)
1--TEST--
2ZE2 Late Static Binding ensuring extending "static" is not allowed
3--FILE--
4<?php
5
6class Foo extends static {
7}
8
9?>
10==DONE==
11--EXPECTF--
12Fatal error: Cannot use "static" as class name, as it is reserved in %s on line %d
13