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

1.1     ! misho       1: --TEST--
        !             2: ReflectionClass::getMethods() - invalid arguments
        !             3: --CREDITS--
        !             4: Robin Fernandes <robinf@php.net>
        !             5: Steve Seear <stevseea@php.net>
        !             6: --FILE--
        !             7: <?php
        !             8: $rc = new ReflectionClass("ReflectionClass");
        !             9: echo "\nTest invalid arguments:";
        !            10: $rc->getMethods('X');
        !            11: $rc->getMethods('X', true);
        !            12: 
        !            13: ?>
        !            14: --EXPECTF--
        !            15: Test invalid arguments:
        !            16: Warning: ReflectionClass::getMethods() expects parameter 1 to be long, string given in %s on line 4
        !            17: 
        !            18: Warning: ReflectionClass::getMethods() expects at most 1 parameter, 2 given in %s on line 5

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