3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<? ob_start(); passthru("dir"); $var = ob_get_contents(); ob_end_clean(); //Use this instead of ob_flush() ?>
based on 68TOi
Output for 5.4.0 - 7.3.1
Output for 4.3.0 - 5.3.29
<? ob_start(); passthru("dir"); $var = ob_get_contents(); ob_end_clean(); //Use this instead of ob_flush() ?>