php-8.0.30-src/Zend/tests/inter_06.phpt

11 lines
219 B
PHP

--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