repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updates to Tomato RAF including NGINX && PHP
[tomato.git]
/
release
/
src
/
router
/
php
/
ext
/
reflection
/
tests
/
bug46205.phpt
blob
ef7a692cb7da181801932c6a8add65f6371aeed7
1
--TEST--
2
Bug #46205 (Closure - Memory leaks when ReflectionException is thrown)
3
--FILE--
4
<?php
5
$x = new reflectionmethod('reflectionparameter', 'export');
6
$y = function() { };
7
8
try {
9
$x->invokeArgs(new reflectionparameter('trim', 'str'), array($y, 1));
10
} catch (Exception $e) { }
11
?>
12
ok
13
--EXPECT--
14
ok