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

1.1     ! misho       1: --TEST--
        !             2: Testing instantiation using namespace:: prefix
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: namespace foo;
        !             7: 
        !             8: class bar {
        !             9: }
        !            10: 
        !            11: class_alias('foo\bar', 'foo\baz');
        !            12: 
        !            13: var_dump(new namespace\baz);
        !            14: 
        !            15: ?>
        !            16: --EXPECTF--
        !            17: object(foo\bar)#%d (0) {
        !            18: }

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