3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo file_get_contents("php://filter/convert.base64-encode/resource=/proc1/self/");
based on Cp5k7
Output for 7.3.0rc3
Warning: file_get_contents(): open_basedir restriction in effect. File(/proc1/self/) is not within the allowed path(s): (/tmp:/in:/etc) in /in/XQsgi on line 3 Warning: file_get_contents(php://filter/convert.base64-encode/resource=/proc1/self/): failed to open stream: operation failed in /in/XQsgi on line 3
Output for 7.1.10, 7.2.0, 7.3.0alpha1 - 7.3.0beta1
Warning: file_get_contents(php://filter/convert.base64-encode/resource=/proc1/self/): failed to open stream: operation failed in /in/XQsgi on line 3
Output for 7.1.20, 7.2.6
Warning: file_get_contents(): open_basedir restriction in effect. File(/proc1/self/) is not within the allowed path(s): (/tmp:/in) in /in/XQsgi on line 3 Warning: file_get_contents(php://filter/convert.base64-encode/resource=/proc1/self/): failed to open stream: operation failed in /in/XQsgi on line 3
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.7
Warning: file_get_contents(): open_basedir restriction in effect. File(/proc1/self/) is not within the allowed path(s): (/tmp/) in /in/XQsgi on line 3 Warning: file_get_contents(php://filter/convert.base64-encode/resource=/proc1/self/): failed to open stream: operation failed in /in/XQsgi on line 3
Output for hhvm-3.15.4
Warning: No such file or directory in /in/XQsgi on line 3