3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo file_get_contents("php://filter/convert.base64-encode/resource=/proc/self/");
based on Wc8c4
Output for 7.3.0rc3
Warning: file_get_contents(): open_basedir restriction in effect. File(/proc/self/) is not within the allowed path(s): (/tmp:/in:/etc) in /in/Cp5k7 on line 3 Warning: file_get_contents(php://filter/convert.base64-encode/resource=/proc/self/): failed to open stream: operation failed in /in/Cp5k7 on line 3
Output for hhvm-3.15.4, 7.1.10, 7.2.0, 7.3.0alpha1 - 7.3.0beta1
Output for 7.1.20, 7.2.6
Warning: file_get_contents(): open_basedir restriction in effect. File(/proc/self/) is not within the allowed path(s): (/tmp:/in) in /in/Cp5k7 on line 3 Warning: file_get_contents(php://filter/convert.base64-encode/resource=/proc/self/): failed to open stream: operation failed in /in/Cp5k7 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(/proc/self/) is not within the allowed path(s): (/tmp/) in /in/Cp5k7 on line 3 Warning: file_get_contents(php://filter/convert.base64-encode/resource=/proc/self/): failed to open stream: operation failed in /in/Cp5k7 on line 3