--TEST-- ReflectionMethod::invokeArgs() further errors --FILE-- invokeArgs($testClassInstance, true)); } catch (Exception $e) { var_dump($e->getMessage()); } ?> --EXPECTF-- Catchable fatal error: Argument 2 passed to ReflectionMethod::invokeArgs() must be of the type array, boolean given in %s on line %d