3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ob_start(); for ($i = 0; $i < 10; $i++) { echo $i; } $output = ob_get_contents(); ob_end_clean(); echo $output; ?>
Output for 4.3.0 - 7.1.0
0123456789