3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = array_chunk(['item 1','item 2','item 3','item 4','item 5','item 6','item 7'], 3); foreach ($array as $set) { echo '<div class="big">'.array_shift($set).'</div>'.PHP_EOL; if (count($set)) echo '<div>'."\n\t".'<div class="small">'.implode('</div>'."\n\t".'<div class="small">', $set).'</div>'."\n".'</div>'."\n"; } ?>
Output for rfc.property-hooks, git.master, git.master_jit
<div class="big">item 1</div> <div> <div class="small">item 2</div> <div class="small">item 3</div> </div> <div class="big">item 4</div> <div> <div class="small">item 5</div> <div class="small">item 6</div> </div> <div class="big">item 7</div>

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:
50.44 ms | 1301 KiB | 4 Q