3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo file_get_contents(popen('/bin/sh', 'r'));
based on V4kcB
Output for 5.4.0 - 7.1.7
Warning: file_get_contents() expects parameter 1 to be a valid path, resource given in /in/1YBTC on line 2
Output for 4.3.0 - 5.3.29
Warning: file_get_contents() expects parameter 1 to be string, resource given in /in/1YBTC on line 2