3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo file_get_contents('https://ya.ru'); echo "\n";
based on S6045
Output for 5.6.0 - 7.3.1
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/OdnNK 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/OdnNK on line 3 Warning: file_get_contents(https://ya.ru): failed to open stream: Operation not permitted in /in/OdnNK on line 3
Output for 5.3.20 - 5.4.14, 5.5.0 - 5.5.38
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/OdnNK on line 3 Warning: file_get_contents(https://ya.ru): failed to open stream: No such file or directory in /in/OdnNK on line 3
Output for 5.4.15 - 5.4.45
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: System error in /in/OdnNK on line 3 Warning: file_get_contents(https://ya.ru): failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/OdnNK on line 3