3v4l.org

run code in 300+ PHP versions simultaneously
<?php $overView = array('a','b','v'); for($i=0; $i<count($overView); $i++){ //I want to iterate through the Overview file/array, print the contents apropriately if ($i % 2 == 0){?> <dt><span class = "bold"> <?php print ($overView[$i]); ?></span></dt> <?php } else { ?> <dd><?php print ($overView[$i]); ?> </dd> <?php }} ?>
Output for git.master, git.master_jit, rfc.property-hooks
<dt><span class = "bold"> a</span></dt> <dd>b </dd> <dt><span class = "bold"> v</span></dt>

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
37.72 ms | 401 KiB | 8 Q