--TEST-- Bug #46205 (Closure - Memory leaks when ReflectionException is thrown) --FILE-- invokeArgs(new reflectionparameter('trim', 'str'), array($y, 1)); } catch (Exception $e) { } ?> ok --EXPECTF-- Deprecated: Function ReflectionParameter::export() is deprecated in %s on line %d ok