3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php try { $soap = new SoapClient("https://qualcas-ssc.ouest-france.fr:443/casregister/services/CasRegisterService?wsdl"); echo "----------- Authenticating -----------<br>"; $oAuthResult = $soap->Authenticate( array( 'login' => 'user-casregister', 'password' => 'U5erKsr3g15tEr', ) ); print_r($oAuthResult); echo "<BR>"; if ($oAuthResult->AuthenticateResult->Result != 0) { echo "Error authenticating!!<br>"; return; } echo "Key = " . $oAuthResult->AuthenticateResult->Key . "<br>"; echo "Authentication OK<br>"; } catch(SoapFault $fault) { echo $fault; }
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'SoapClient' not found in /in/tSBSv:3 Stack trace: #0 {main} thrown in /in/tSBSv on line 3
Process exited with code 255.
Output for 5.4.10 - 5.6.28
Fatal error: Class 'SoapClient' not found in /in/tSBSv on line 3
Process exited with code 255.
Output for 5.3.20 - 5.3.29
SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://qualcas-ssc.ouest-france.fr:443/casregister/services/CasRegisterService?wsdl' : failed to load external entity "https://qualcas-ssc.ouest-france.fr:443/casregister/services/CasRegisterService?wsdl" in /in/tSBSv:3 Stack trace: #0 /in/tSBSv(3): SoapClient->SoapClient('https://qualcas...') #1 {main}
Process exited with code 255.