3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ini_set('display_errors', 1); error_reporting(E_ALL); /** Be sure you've both PEAR installed on your web server and that all the required PEAR modules have been installed */ try{ $usuario="a"; $pass="1"; $clienteSOAP = new SoapClient('http://www.tucomputador.com/wsdl/consultar.wsdl', array('exceptions' => 0)); $resultado_consulta = $clienteSOAP->consultar($usuario,$pass); echo "si ves esto, funciona Falta conexion a BDD de MYSQLy anexarlo a donde se necesite <br/>"; echo $resultado_consulta; } catch(SoapFault $e){ var_dump($e); } ?>
based on 3XPDp
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'SoapClient' not found in /in/aEVJS:14 Stack trace: #0 {main} thrown in /in/aEVJS on line 14
Process exited with code 255.
Output for 5.4.8 - 5.6.28
Fatal error: Class 'SoapClient' not found in /in/aEVJS on line 14
Process exited with code 255.
Output for 5.3.18 - 5.3.29
Warning: SoapClient::SoapClient(): php_network_getaddresses: getaddrinfo failed: System error in /in/aEVJS on line 14 Warning: SoapClient::SoapClient(http://www.tucomputador.com/wsdl/consultar.wsdl): failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/aEVJS on line 14 Warning: SoapClient::SoapClient(): I/O warning : failed to load external entity "http://www.tucomputador.com/wsdl/consultar.wsdl" in /in/aEVJS on line 14 Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://www.tucomputador.com/wsdl/consultar.wsdl' : failed to load external entity "http://www.tucomputador.com/wsdl/consultar.wsdl" in /in/aEVJS on line 14
Process exited with code 255.