3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $f = fopen("/etc/passwd","r"); echo fread($f); fclose($f);
Output for 5.3.0 - 7.2.0
Warning: fread() expects exactly 2 parameters, 1 given in /in/ttg6q on line 4
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for fread() in /in/ttg6q on line 4