Annotation of embedaddon/php/ext/reflection/tests/ReflectionClass_isSubclassOf_error1.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: ReflectionClass::isSubclassOf() - non-existent class error
        !             3: --FILE--
        !             4: <?php
        !             5: class A {}
        !             6: $rc = new ReflectionClass('A');
        !             7: 
        !             8: var_dump($rc->isSubclassOf('X'));
        !             9: 
        !            10: ?>
        !            11: --EXPECTF--
        !            12: Fatal error: Uncaught exception 'ReflectionException' with message 'Class X does not exist' in %s:5
        !            13: Stack trace:
        !            14: #0 %s(5): ReflectionClass->isSubclassOf('X')
        !            15: #1 {main}
        !            16:   thrown in %s on line 5

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