3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $client=new SoapClient('http://hostname/path/to/index.php?r=stock/quote'); echo $client->getPrice('GOOGLE');
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'SoapClient' not found in /in/5LfZ2:2 Stack trace: #0 {main} thrown in /in/5LfZ2 on line 2
Process exited with code 255.
Output for 5.4.9 - 5.6.28
Fatal error: Class 'SoapClient' not found in /in/5LfZ2 on line 2
Process exited with code 255.
Output for 5.3.19 - 5.3.29
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://hostname/path/to/index.php?r=stock/quote' : failed to load external entity "http://hostname/path/to/index.php?r=stock/quote" in /in/5LfZ2:2 Stack trace: #0 /in/5LfZ2(2): SoapClient->SoapClient('http://hostname...') #1 {main} thrown in /in/5LfZ2 on line 2
Process exited with code 255.