3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = file_get_contents('https://encoding.spec.whatwg.org/index-windows-1252.txt'); echo $string;
Output for 7.3.0alpha1 - 7.3.0beta1
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/KCqlC on line 3 Warning: file_get_contents(https://encoding.spec.whatwg.org/index-windows-1252.txt): failed to open stream: No such file or directory in /in/KCqlC on line 3
Output for 7.1.17 - 7.2.6
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/KCqlC on line 3 Warning: file_get_contents(): open_basedir restriction in effect. File(https://encoding.spec.whatwg.org/index-windows-1252.txt) is not within the allowed path(s): (/tmp:/in) in /in/KCqlC on line 3 Warning: file_get_contents(https://encoding.spec.whatwg.org/index-windows-1252.txt): failed to open stream: Operation not permitted in /in/KCqlC on line 3
Output for 5.6.0 - 5.6.30, 7.1.0 - 7.1.16
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: System error in /in/KCqlC on line 3 Warning: file_get_contents(https://encoding.spec.whatwg.org/index-windows-1252.txt): failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/KCqlC on line 3
Output for hhvm-3.22.0
Warning: Failed to open https://encoding.spec.whatwg.org/index-windows-1252.txt (Could not resolve host: encoding.spec.whatwg.org) in /in/KCqlC on line -1
Output for hhvm-3.18.5 - 3.21.3
Warning: Failed to open https://encoding.spec.whatwg.org/index-windows-1252.txt (Could not resolve host: encoding.spec.whatwg.org) in /in/KCqlC on line 3