3v4l.org

run code in 150+ 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 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
Warning: file_get_contents(/tmp/sess_91e9a535242e4756f3db0ca9fbe4ba61): failed to open stream: No such file or directory in /in/SW4ig on line 10
Output for hhvm-3.10.0 - 3.13.2
Warning: No such file or directory in /in/SW4ig on line 10
Output for 4.3.0 - 4.3.1
Warning: file_get_contents(/tmp/sess_91e9a535242e4756f3db0ca9fbe4ba61) [http://www.php.net/function.file-get-contents]: failed to create stream: No such file or directory in /in/SW4ig on line 10