xref: /PHP-7.1/Zend/tests/name_collision_01.phpt (revision 1c599418)
1--TEST--
2Object naming collision error: class/class
3--FILE--
4<?php
5
6class A { }
7class A { }
8
9?>
10--EXPECTF--
11Fatal error: Cannot declare class A, because the name is already in use in %s on line %d
12