3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $file = fopen("test.tmp", "wb"); ;
Output for 4.3.2 - 7.1.0
Warning: fopen(test.tmp): failed to open stream: Permission denied in /in/ggH09 on line 3
Output for 4.3.1
Warning: fopen(test.tmp) [http://www.php.net/function.fopen]: failed to create stream: Permission denied in /in/ggH09 on line 3
Output for 4.3.0
Warning: fopen(test.tmp) [http://www.php.net/function.fopen]: failed to create stream: Read-only file system in /in/ggH09 on line 3