Annotation of embedaddon/php/Zend/tests/ns_030.phpt, revision 1.1

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>