3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $h = fopen('../tmp.php', 'w+'); if ($h) echo("ok");
Output for 4.3.2 - 7.1.0
Warning: fopen(../tmp.php): failed to open stream: Permission denied in /in/9C1al on line 2
Output for 4.3.0 - 4.3.1
Warning: fopen(../tmp.php) [http://www.php.net/function.fopen]: failed to create stream: Permission denied in /in/9C1al on line 2