3v4l.org

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