3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ob_start(''); echo "test"; var_dump(ob_get_contents()); ?>
Output for 5.4.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: ob_start(): function '' not found or invalid function name in /in/L4EEG on line 3 Notice: ob_start(): failed to create buffer in /in/L4EEG on line 3 testbool(false)
Output for hhvm-3.10.0 - 3.12.0
Warning: Invalid argument: function: method '' not found in /in/L4EEG on line 3 testbool(false)
Output for 4.3.2 - 5.3.29
testbool(false)
Output for 4.3.0 - 4.3.1
teststring(4) "test"