--TEST-- ReflectionMethod::invokeArgs() further errors --FILE-- invokeArgs($testClassInstance, true)); } catch (Error $e) { var_dump($e->getMessage()); } ?> --EXPECT-- string(89) "Argument 2 passed to ReflectionMethod::invokeArgs() must be of the type array, bool given"