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