3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $fname = 'graci.txt'; $fp = fopen('graci.txt');
Output for 5.2.3 - 7.1.0
Warning: fopen() expects at least 2 parameters, 1 given in /in/HFDfu on line 3
Output for 4.3.0 - 5.2.2
<br /> <b>Warning</b>: fopen() expects at least 2 parameters, 1 given in <b>/in/HFDfu</b> on line <b>3</b><br />