We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3f6b127 + 675606f commit d4f727dCopy full SHA for d4f727d
Zend/tests/bug69212.phpt
@@ -21,7 +21,23 @@ try {
21
echo "Caught!\n";
22
}
23
24
+try {
25
+ $f = function () {};
26
+ $f->__invoke(do_throw());
27
+} catch (Exception $e) {
28
+ echo "Caught!\n";
29
+}
30
+
31
32
+ $t = new Test;
33
+ $f->__invoke($t->bar(Test::foo(do_throw())));
34
35
36
37
38
?>
39
--EXPECT--
40
Caught!
41
42
+Caught!
43
0 commit comments