php-src/Zend/tests/inter_06.phpt
2008-05-12 17:57:21 +00:00

11 lines
181 B
PHP

--TEST--
Trying use name of an internal class as interface name
--FILE--
<?php
interface stdClass { }
?>
--EXPECTF--
Fatal error: Cannot redeclare class stdClass in %s on line %d