3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = array([1],[2]); $time = array([3],[4]); $message = array([5],[6]); //this are my arrays that are filled from mysql result and this works in this arrays all is all data. $iterator = new MultipleIterator(); $iterator->attachIterator(new ArrayIterator($date)); $iterator->attachIterator(new ArrayIterator($time)); $iterator->attachIterator(new ArrayIterator($message)); foreach($iterator as $i) { echo $i[0][0]; echo $i[1][0]; echo $i[2][0]; echo PHP_EOL; }
Output for git.master_jit, git.master, rfc.property-hooks
135 246

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:
145.59 ms | 405 KiB | 5 Q