php-src/Zend/tests/inter_06.phpt

11 lines
219 B
Plaintext
Raw Normal View History

2008-05-13 01:55:21 +08:00
--TEST--
Trying use name of an internal class as interface name
--FILE--
<?php
interface stdClass { }
?>
--EXPECTF--
Fatal error: Cannot declare interface stdClass, because the name is already in use in %s on line %d