3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = sprintf("https://www.bundestag.de/wk%03d",1); $content=file_get_contents($url); var_dump($content); ?>
based on lMCO8
Output for 5.6.0 - 7.3.0
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/Si4E3 on line 3 Warning: file_get_contents(): open_basedir restriction in effect. File(https://www.bundestag.de/wk001) is not within the allowed path(s): (/tmp:/in:/etc) in /in/Si4E3 on line 3 Warning: file_get_contents(https://www.bundestag.de/wk001): failed to open stream: Operation not permitted in /in/Si4E3 on line 3 bool(false)
Output for 5.3.17 - 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/Si4E3 on line 3 Warning: file_get_contents(https://www.bundestag.de/wk001): failed to open stream: No such file or directory in /in/Si4E3 on line 3 bool(false)