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

1.1     ! misho       1: --TEST--
        !             2: Testing creation of alias using an existing interface name
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: class foo { }
        !             7: 
        !             8: interface test { }
        !             9: 
        !            10: 
        !            11: class_alias('foo', 'test');
        !            12: 
        !            13: ?>
        !            14: --EXPECTF--
        !            15: Warning: Cannot redeclare class test in %s on line %d

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