Annotation of embedaddon/php/tests/classes/bug24445.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #24445 (get_parent_class() returns the current class when passed an object)
        !             3: --FILE--
        !             4: <?php
        !             5: class Test { }
        !             6: var_dump(get_parent_class('Test'));
        !             7: $t = new Test;
        !             8: var_dump(get_parent_class($t));
        !             9: ?>
        !            10: --EXPECT--
        !            11: bool(false)
        !            12: bool(false)

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