Annotation of embedaddon/php/ext/reflection/tests/ReflectionClass_isInternal_error.phpt, revision 1.1.1.1

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

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