mirror of
https://github.com/php/php-src.git
synced 2024-12-15 04:45:03 +08:00
12 lines
209 B
PHP
12 lines
209 B
PHP
--TEST--
|
|
Object naming collision error: class/interface
|
|
--FILE--
|
|
<?php
|
|
|
|
class A { }
|
|
interface A { }
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Cannot declare interface A, because the name is already in use in %s on line %d
|