--TEST-- Bug #62384 (Attempting to invoke a Closure more than once causes segfaul) --FILE-- getMethod('__invoke'); $arguments1 = array('hello'); $arguments2 = array('world'); var_dump($reflection_method->invokeArgs($closure1, $arguments1)); var_dump($reflection_method->invokeArgs($closure2, $arguments2)); ?> --EXPECT-- string(5) "hello" string(5) "world"