3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = 'https://moodle.fernuni.ch/mod/forum/view.php?id=83510'; echo($url); $html = file_get_contents($url);
Output for 7.3.0alpha1
https://moodle.fernuni.ch/mod/forum/view.php?id=83510 Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/tuJkt on line 6 Warning: file_get_contents(https://moodle.fernuni.ch/mod/forum/view.php?id=83510): failed to open stream: No such file or directory in /in/tuJkt on line 6
Output for 7.0.30, 7.1.17 - 7.2.6
https://moodle.fernuni.ch/mod/forum/view.php?id=83510 Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/tuJkt on line 6 Warning: file_get_contents(): open_basedir restriction in effect. File(https://moodle.fernuni.ch/mod/forum/view.php?id=83510) is not within the allowed path(s): (/tmp:/in) in /in/tuJkt on line 6 Warning: file_get_contents(https://moodle.fernuni.ch/mod/forum/view.php?id=83510): failed to open stream: Operation not permitted in /in/tuJkt on line 6
Output for 5.6.30, 7.1.0 - 7.1.16
https://moodle.fernuni.ch/mod/forum/view.php?id=83510 Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: System error in /in/tuJkt on line 6 Warning: file_get_contents(https://moodle.fernuni.ch/mod/forum/view.php?id=83510): failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/tuJkt on line 6
Output for hhvm-3.22.0
https://moodle.fernuni.ch/mod/forum/view.php?id=83510 Warning: Failed to open https://moodle.fernuni.ch/mod/forum/view.php?id=83510 (Could not resolve host: moodle.fernuni.ch) in /in/tuJkt on line -1
Output for hhvm-3.18.5 - 3.21.3
https://moodle.fernuni.ch/mod/forum/view.php?id=83510 Warning: Failed to open https://moodle.fernuni.ch/mod/forum/view.php?id=83510 (Could not resolve host: moodle.fernuni.ch) in /in/tuJkt on line 6