summaryrefslogtreecommitdiff
path: root/Zend/tests/lsb_007.phpt
blob: 970044eab29e941320a1821c1830a2d51ff8a247 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
ZE2 Late Static Binding ensuring implementing 'static' is not allowed
--FILE--
<?php

class Foo implements static {
}

?>
==DONE==
--EXPECTF--
Fatal error: Cannot use 'static' as interface name, as it is reserved in %s on line %d