php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay

| files >> /var/www/html/img_galeri/2r1asasas/root/opt/php-7.0.1/ext/soap/tests/bugs/ |
| files >> //var/www/html/img_galeri/2r1asasas/root/opt/php-7.0.1/ext/soap/tests/bugs/bug42151.phpt |
--TEST--
Bug #42151 (__destruct functions not called after catching a SoapFault exception)
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
class foo {
function __construct(){
$foo = @ new SoapClient('httpx://');
}
function __destruct(){
echo 'I never get executed.' . "\n";
}
}
class bar {
function __destruct(){
echo 'I don\'t get executed either.' . "\n";
}
}
try {
$bar = new bar();
$foo = new foo();
} catch (Exception $e){
echo $e->getMessage() . "\n";
}
echo "ok\n";
?>
--EXPECT--
SOAP-ERROR: Parsing WSDL: Couldn't load from 'httpx://' : failed to load external entity "httpx://"
ok
I don't get executed either.
y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`