3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php touch('test'); var_dump(file_exists('test'));
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
Warning: touch(): Unable to create file test because Permission denied in /in/ONALS on line 2 bool(false)
Output for hhvm-3.12.0
Warning: touch(): Unable to create file /test because Permission denied in /in/ONALS on line -1 bool(false)
Output for hhvm-3.10.0
Warning: touch(): Unable to create file /test because Permission denied in /in/ONALS on line 2 bool(false)
Output for 4.3.1
Warning: touch() [http://www.php.net/function.touch]: Unable to create file test because Permission denied in /in/ONALS on line 2 bool(false)
Output for 4.3.0
Warning: touch() [http://www.php.net/function.touch]: Unable to create file test because Read-only file system in /in/ONALS on line 2 bool(false)