Annotation of embedaddon/php/Zend/tests/bug30707.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Bug #30707 (Segmentation fault on exception in method)
3: --FILE--
4: <?php
5: class C {
6: function byePHP($plop) {
7: echo "ok\n";
8: }
9:
10: function plip() {
11: try {
12: $this->plap($this->plop());
13: } catch(Exception $e) {
14: }
15: }
16:
17: function plap($a) {
18: }
19:
20: function plop() {
21: throw new Exception;
22: }
23: }
24:
25: $x = new C;
26: $x->byePHP($x->plip());
27: ?>
28: --EXPECT--
29: ok
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>