3v4l.org

run code in 300+ PHP versions simultaneously
<?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 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.7
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 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
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.

preferences:
160.38 ms | 403 KiB | 188 Q