3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $result = simplexml_load_file("https://wwws.portoseguro.com.br/ConsultaDadoSeguradoService/REST/obterDadosSegurado?cpfcnpj=34576911856&codigoProduto=0"); print_r($result);
Output for 5.4.15 - 5.6.28, 7.0.0 - 7.1.0
Warning: simplexml_load_file(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/US6Cn on line 3 Warning: simplexml_load_file(https://wwws.portoseguro.com.br/ConsultaDadoSeguradoService/REST/obterDadosSegurado?cpfcnpj=34576911856&codigoProduto=0): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/US6Cn on line 3 Warning: simplexml_load_file(): I/O warning : failed to load external entity "https://wwws.portoseguro.com.br/ConsultaDadoSeguradoService/REST/obterDadosSegurado?cpfcnpj=34576911856&codigoProduto=0" in /in/US6Cn on line 3
Output for hhvm-3.10.0 - 3.12.0
Warning: Failed to open https://wwws.portoseguro.com.br/ConsultaDadoSeguradoService/REST/obterDadosSegurado?cpfcnpj=34576911856&codigoProduto=0 (Could not resolve host: wwws.portoseguro.com.br) in /in/US6Cn on line 3
Output for 5.3.0 - 5.4.14
Warning: simplexml_load_file(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/US6Cn on line 3 Warning: simplexml_load_file(): I/O warning : failed to load external entity "https://wwws.portoseguro.com.br/ConsultaDadoSeguradoService/REST/obterDadosSegurado?cpfcnpj=34576911856&codigoProduto=0" in /in/US6Cn on line 3
Output for 5.1.0 - 5.2.17
Notice: simplexml_load_file(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/US6Cn on line 3 Warning: simplexml_load_file(): I/O warning : failed to load external entity "https://wwws.portoseguro.com.br/ConsultaDadoSeguradoService/REST/obterDadosSegurado?cpfcnpj=34576911856&codigoProduto=0" in /in/US6Cn on line 3
Output for 5.0.0 - 5.0.5
Notice: simplexml_load_file(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/US6Cn on line 3 Notice: simplexml_load_file(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/US6Cn on line 3 Warning: I/O warning : failed to load external entity "https://wwws.portoseguro.com.br/ConsultaDadoSeguradoService/REST/obterDadosSegurado?cpfcnpj=34576911856&codigoProduto=0" in /in/US6Cn on line 3
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: simplexml_load_file() in /in/US6Cn on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: simplexml_load_file() in /in/US6Cn on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: simplexml_load_file() in /in/US6Cn on line 3