3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $f = fopen('test.txt', 'w'); $a = `ls -l`; echo $a;
Output for 5.2.3 - 7.2.0
Warning: fopen(test.txt): failed to open stream: Permission denied in /in/0e6fb on line 3
Output for 4.3.2 - 5.2.2
Warning: fopen(test.txt): failed to open stream: Read-only file system in /in/0e6fb on line 3
Output for 4.3.0 - 4.3.1
Warning: fopen(test.txt) [http://www.php.net/function.fopen]: failed to create stream: Read-only file system in /in/0e6fb on line 3