![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: 029: Name ambiguity (class name & import name) 3: --FILE-- 4: <?php 5: use A\B as Foo; 6: 7: class Foo { 8: } 9: 10: new Foo(); 11: --EXPECTF-- 12: Fatal error: Cannot declare class Foo because the name is already in use in %sns_029.php on line 4