summaryrefslogtreecommitdiff
path: root/Zend/tests/interface_extends_static.phpt
blob: 3d12070ec8d07bf5335d712abc51a55b1997fdc3 (plain)
1
2
3
4
5
6
7
8
9
10
--TEST--
Interface cannot extend static, as it is reserved
--FILE--
<?php

interface Foo extends static {}

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