1--TEST-- 2Bug #70469 (SoapClient should not generate E_ERROR if exceptions enabled) 3--SKIPIF-- 4<?php require_once('skipif.inc'); ?> 5--FILE-- 6<?php 7try { 8 $x = new SoapClient('http://i_dont_exist.com/some.wsdl'); 9} catch (SoapFault $e) { 10 echo "caught\n"; 11} 12 13$error = error_get_last(); 14if ($error === null) { 15 echo "ok\n"; 16} 17?> 18--EXPECT-- 19caught 20ok 21