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

1.1     ! misho       1: --TEST--
        !             2: Checking if exists interface, abstract and final class
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: interface a { }
        !             7: 
        !             8: abstract class b { }
        !             9: 
        !            10: final class c { }
        !            11: 
        !            12: var_dump(class_exists('a'));
        !            13: var_dump(class_exists('b'));
        !            14: var_dump(class_exists('c'));
        !            15: 
        !            16: ?>
        !            17: --EXPECT--
        !            18: bool(false)
        !            19: bool(true)
        !            20: bool(true)

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