3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $defaultPars["loginWS"] = "webservice"; $defaultPars["senhaWS"] = "1a77676a4bf882c75bce575b0aac605cf6b2da9e1486db9cb1ac94835828ae5f6e2d16bcc0a44f9"; $housesSoapClient = new SoapClient(null, array('location' => "http://sistemas.jtech.com.br/sansysSaoFranciscoSul/services2/dadosUnidadeComercial", 'uri' => "dadosUnidadeComercialWS.webservice.sansys.jtech.com.br")); $housesSoapJson = $defaultPars; $housesSoapJson["nuCpfCnpj"] = "009.482.669-29"; $strjson = json_encode($housesSoapJson); var_dump($strjson); $housesResult = $housesSoapClient->__soapCall("obterDadosUnidadeApenasComCpf", array($strjson)); var_dump($housesResult);
based on u0SQv
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'SoapClient' not found in /in/gAsBP:4 Stack trace: #0 {main} thrown in /in/gAsBP on line 4
Process exited with code 255.
Output for 5.5.0 - 5.6.28
Fatal error: Class 'SoapClient' not found in /in/gAsBP on line 4
Process exited with code 255.