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