3v4l.org

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