3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $client = new SoapClient(null, array('location'=>'http://www.webservicex.net/globalweather.asmx?WSDL', 'uri'=>'http://www.webservicex.net/globalweather.asmx?WSDL')); var_dump($client->_getFunctions()); var_dump($client->_getTypes()); ?>
based on haQE2
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'SoapClient' not found in /in/9kupL:2 Stack trace: #0 {main} thrown in /in/9kupL on line 2
Process exited with code 255.
Output for 5.4.9 - 5.6.28
Fatal error: Class 'SoapClient' not found in /in/9kupL on line 2
Process exited with code 255.
Output for 5.3.19 - 5.3.29
Fatal error: Uncaught SoapFault exception: [HTTP] Could not connect to host in /in/9kupL:5 Stack trace: #0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'http://www.webs...', 'http://www.webs...', 1, 0) #1 /in/9kupL(5): SoapClient->__call('_getFunctions', Array) #2 /in/9kupL(5): SoapClient->_getFunctions() #3 {main} thrown in /in/9kupL on line 5
Process exited with code 255.