3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $handle = opendir('/tmp'); while (false !== ($entry = readdir($handle))) { echo "$entry\n"; } echo file_get_contents("/tmp/sess_91e9a535242e4756f3db0ca9fbe4ba61");
Output for 5.3.0 - 7.2.0
. .. Warning: file_get_contents(/tmp/sess_91e9a535242e4756f3db0ca9fbe4ba61): failed to open stream: No such file or directory in /in/1LBCR on line 8