3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump( (object)fopen('/') );
Output for 5.0.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: fopen() expects at least 2 parameters, 1 given in /in/D7bdb on line 3 object(stdClass)#1 (1) { ["scalar"]=> bool(false) }
Output for hhvm-3.10.0 - 3.12.0
Warning: fopen() expects at least 2 parameters, 1 given in /in/D7bdb on line 3 object(stdClass)#1 (0) { }
Output for 4.3.0 - 4.4.9
Warning: fopen() expects at least 2 parameters, 1 given in /in/D7bdb on line 3 object(stdClass)(1) { ["scalar"]=> bool(false) }