summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/bug46205.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/reflection/tests/bug46205.phpt')
-rw-r--r--ext/reflection/tests/bug46205.phpt15
1 files changed, 0 insertions, 15 deletions
diff --git a/ext/reflection/tests/bug46205.phpt b/ext/reflection/tests/bug46205.phpt
deleted file mode 100644
index 78e381370e..0000000000
--- a/ext/reflection/tests/bug46205.phpt
+++ /dev/null
@@ -1,15 +0,0 @@
---TEST--
-Bug #46205 (Closure - Memory leaks when ReflectionException is thrown)
---FILE--
-<?php
-$x = new reflectionmethod('reflectionparameter', 'export');
-$y = function() { };
-
-try {
- $x->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