3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $file=fopen("a.txt","r"); ?>
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
Warning: fopen(a.txt): failed to open stream: No such file or directory in /in/hXr2H on line 2
Output for hhvm-3.10.0 - 3.13.2
Warning: No such file or directory in /in/hXr2H on line 2
Output for 4.3.0 - 4.3.1
Warning: fopen(a.txt) [http://www.php.net/function.fopen]: failed to create stream: No such file or directory in /in/hXr2H on line 2