3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = "https://www.hackthebox.eu/api/invite/how/to/generate"; $source = file_get_contents($url); print $source;
Output for 5.6.30, 7.0.0 - 7.2.9, 7.3.0rc3
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/sasIY on line 3 Warning: file_get_contents(): open_basedir restriction in effect. File(https://www.hackthebox.eu/api/invite/how/to/generate) is not within the allowed path(s): (/tmp:/in:/etc) in /in/sasIY on line 3 Warning: file_get_contents(https://www.hackthebox.eu/api/invite/how/to/generate): failed to open stream: Operation not permitted in /in/sasIY on line 3
Output for 7.3.0alpha1 - 7.3.0beta2
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/sasIY on line 3 Warning: file_get_contents(https://www.hackthebox.eu/api/invite/how/to/generate): failed to open stream: No such file or directory in /in/sasIY on line 3
Output for hhvm-3.22.0
Warning: Failed to open https://www.hackthebox.eu/api/invite/how/to/generate (Could not resolve host: www.hackthebox.eu) in /in/sasIY on line -1
Output for hhvm-3.15.4 - 3.21.3
Warning: Failed to open https://www.hackthebox.eu/api/invite/how/to/generate (Could not resolve host: www.hackthebox.eu) in /in/sasIY on line 3