3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ob_start(); function level(){ echo 'Text that won\'t get displayed.'; } level('level2'); echo "\n"; var_dump(ob_get_level()); ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Text that won't get displayed. int(1)