3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $mage_url = 'http://order.idrottssupport.se/api/?wsdl'; $mage_user = 'testAccount'; $mage_api_key = 'qweasdzxc'; $soap = new SoapClient( $mage_url ); $session_id = $soap->login( $mage_user, $mage_api_key ); echo $session_id; echo "\n"; $response = $soap->resources($session_id); echo json_encode($response); $resources = $soap->resources( $session_id ); $response = $soap->call($session_id, 'catalog_product.info', 15); echo implode("|",$response); ?>
Output for 7.0.0 - 7.3.0beta1
Fatal error: Uncaught Error: Class 'SoapClient' not found in /in/RRSEs:7 Stack trace: #0 {main} thrown in /in/RRSEs on line 7
Process exited with code 255.
Output for hhvm-3.15.4
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP_ERROR: Parsing WSDL: Couldn't load from 'http://order.idrottssupport.se/api/?wsdl'
Process exited with code 255.
Output for 5.6.0 - 5.6.30
Fatal error: Class 'SoapClient' not found in /in/RRSEs on line 7
Process exited with code 255.