3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<? $url = file_get_contents('https://ptax.bcb.gov.br/ptax_internet/consultarUltimaCotacaoDolar.do'); ?>
based on 7OCAI
Output for 5.5.0 - 5.6.30, 7.0.0 - 7.2.0
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: System error in /in/3TkDl on line 2 Warning: file_get_contents(https://ptax.bcb.gov.br/ptax_internet/consultarUltimaCotacaoDolar.do): failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/3TkDl on line 2
Output for hhvm-3.11.1 - 3.17.3
Warning: Failed to open https://ptax.bcb.gov.br/ptax_internet/consultarUltimaCotacaoDolar.do (Could not resolve host: ptax.bcb.gov.br) in /in/3TkDl on line 2