3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo file_get_contents("https://google.com");
Output for 5.5.0 - 5.5.16, 5.5.18 - 5.5.38, 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/pGgM5 on line 2 Warning: file_get_contents(https://google.com): failed to open stream: No such file or directory in /in/pGgM5 on line 2
Output for 5.5.17, 5.6.0 - 5.6.30, 7.0.0 - 7.2.8
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/pGgM5 on line 2 Warning: file_get_contents(): open_basedir restriction in effect. File(https://google.com) is not within the allowed path(s): (/tmp:/in:/etc) in /in/pGgM5 on line 2 Warning: file_get_contents(https://google.com): failed to open stream: Operation not permitted in /in/pGgM5 on line 2
Output for hhvm-3.22.0
Warning: Failed to open https://google.com (Could not resolve host: google.com) in /in/pGgM5 on line -1
Output for hhvm-3.11.1 - 3.21.3
Warning: Failed to open https://google.com (Could not resolve host: google.com) in /in/pGgM5 on line 2