mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
67b907f059
C:\> php -r "interface stdClass { }" Error: Cannot declare interface stdClass, because the name is already in use in Command Line Code on line 1
11 lines
219 B
PHP
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
|