3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php try { $client = new \SoapClient('http://ws.cdyne.com/ip2geo/ip2geo.asmx?wsdl'); } catch (\Exception $e) { echo $e->getMessage(); }
based on U5746
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'SoapClient' not found in /in/JfGXm:4 Stack trace: #0 {main} thrown in /in/JfGXm on line 4
Process exited with code 255.
Output for 5.4.0 - 5.6.28
Fatal error: Class 'SoapClient' not found in /in/JfGXm on line 4
Process exited with code 255.
Output for 5.3.19 - 5.3.29
SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://ws.cdyne.com/ip2geo/ip2geo.asmx?wsdl' : failed to load external entity "http://ws.cdyne.com/ip2geo/ip2geo.asmx?wsdl"
Process exited with code 255.