-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/src/php/ext/reflection/tests/
File Upload :
Current File : //usr/src/php/ext/reflection/tests/ReflectionClass_getMethods_002.phpt

--TEST--
ReflectionClass::getMethods() - invalid arguments
--CREDITS--
Robin Fernandes <robinf@php.net>
Steve Seear <stevseea@php.net>
--FILE--
<?php
$rc = new ReflectionClass("ReflectionClass");
echo "\nTest invalid arguments:";
$rc->getMethods('X');
$rc->getMethods('X', true);

?>
--EXPECTF--
Test invalid arguments:
Warning: ReflectionClass::getMethods() expects parameter 1 to be long, string given in %s on line 4

Warning: ReflectionClass::getMethods() expects at most 1 parameter, 2 given in %s on line 5

Copyright © 2017 || Recoded By Mr.Bumblebee