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

1.1     ! misho       1: --TEST--
        !             2: Testing creation of alias to class name without namespace prefix
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: namespace foo;
        !             7: 
        !             8: class bar {
        !             9: }
        !            10: 
        !            11: class_alias('bar', 'baz');
        !            12: 
        !            13: ?>
        !            14: --EXPECTF--
        !            15: Warning: Class 'bar' not found in %s on line %d

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