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

1.1     ! misho       1: --TEST--
        !             2: ReflectionObject::isInternal() - invalid params
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: $r1 = new ReflectionObject(new stdClass);
        !             7: var_dump($r1->isInternal('X'));
        !             8: var_dump($r1->isInternal('X', true));
        !             9: ?>
        !            10: --EXPECTF--
        !            11: Warning: ReflectionClass::isInternal() expects exactly 0 parameters, 1 given in %s on line %d
        !            12: NULL
        !            13: 
        !            14: Warning: ReflectionClass::isInternal() expects exactly 0 parameters, 2 given in %s on line %d
        !            15: NULL

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