3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo file_get_contents('https://ya.ru');
based on DgUUQ
Output for 7.0.28, 7.0.31, 7.1.18 - 7.1.19, 7.1.21, 7.2.8 - 7.2.11, 7.3.0rc3 - 7.3.0rc4
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/Cep0F on line 3 Warning: file_get_contents(): open_basedir restriction in effect. File(https://ya.ru) is not within the allowed path(s): (/tmp:/in:/etc) in /in/Cep0F on line 3 Warning: file_get_contents(https://ya.ru): failed to open stream: Operation not permitted in /in/Cep0F on line 3
Output for 7.3.0alpha1 - 7.3.0beta3
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/Cep0F on line 3 Warning: file_get_contents(https://ya.ru): failed to open stream: No such file or directory in /in/Cep0F on line 3
Output for 7.0.29 - 7.0.30, 7.1.14 - 7.1.17, 7.1.20, 7.2.2 - 7.2.7
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/Cep0F on line 3 Warning: file_get_contents(): open_basedir restriction in effect. File(https://ya.ru) is not within the allowed path(s): (/tmp:/in) in /in/Cep0F on line 3 Warning: file_get_contents(https://ya.ru): failed to open stream: Operation not permitted in /in/Cep0F on line 3
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.0.27, 7.1.0 - 7.1.13, 7.2.0 - 7.2.1
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: System error in /in/Cep0F on line 3 Warning: file_get_contents(https://ya.ru): failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/Cep0F on line 3
Output for hhvm-3.22.0
Warning: Failed to open https://ya.ru (Could not resolve host: ya.ru) in /in/Cep0F on line -1
Output for hhvm-3.12.14 - 3.21.3
Warning: Failed to open https://ya.ru (Could not resolve host: ya.ru) in /in/Cep0F on line 3