3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(0); $asd = "123"; ob_start(); eval ('?> <?php foreach(array("asd", "asx123") as $data): ?> <div><?php PHP.ROCKZZZ.print($data) ?></div> <?php endforeach; ?>'); ob_flush();
Output for 4.3.0 - 7.1.0
<div>asd</div> <div>asx123</div>