--TEST-- Request #38992 (invoke() and invokeArgs() static method calls should match) --FILE-- invoke('WTF?'); } catch (TypeError $e) { echo $e->getMessage(), "\n"; } try { $r->invokeArgs('WTF?', array()); } catch (TypeError $e) { echo $e->getMessage(), "\n"; } ?> --EXPECT-- ReflectionMethod::invoke(): Argument #1 ($object) must be of type ?object, string given ReflectionMethod::invokeArgs(): Argument #1 ($object) must be of type ?object, string given