3v4l.org

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