From 54305825869e32a4fb5b2d6f815c94ab5aea2a8d Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 1 Aug 2007 10:39:49 +0000 Subject: Fixed bug #42151 (__destruct functions not called after catching a SoapFault exception) --- ext/soap/tests/bugs/bug42151.phpt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 ext/soap/tests/bugs/bug42151.phpt (limited to 'ext/soap/tests') diff --git a/ext/soap/tests/bugs/bug42151.phpt b/ext/soap/tests/bugs/bug42151.phpt new file mode 100755 index 0000000000..7f7a87bd15 --- /dev/null +++ b/ext/soap/tests/bugs/bug42151.phpt @@ -0,0 +1,31 @@ +--TEST-- +Bug #42151 __destruct functions not called after catching a SoapFault exception +--SKIPIF-- + +--FILE-- +getMessage() . "\n"; +} +echo "ok\n"; +?> +--EXPECT-- +SOAP-ERROR: Parsing WSDL: Couldn't load from 'httpx://' +ok +I don't get executed either. -- cgit v1.2.1