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

1.1     ! misho       1: --TEST--
        !             2: Bug #63982 (isset() inconsistently produces a fatal error on protected property)
        !             3: --FILE--
        !             4: <?php
        !             5: class Test {
        !             6:         protected $protectedProperty;
        !             7: }
        !             8: 
        !             9: $test = new Test();
        !            10: 
        !            11: var_dump(isset($test->protectedProperty));
        !            12: var_dump(isset($test->protectedProperty->foo));
        !            13: --EXPECTF--
        !            14: bool(false)
        !            15: bool(false)

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