3v4l.org

run code in 500+ PHP versions simultaneously
<?php $date = array("08.2018", "08.2018", "08.2018"); $time = array("09:30", "10:30", "11:30"); $message = array("a", "b", "c"); //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]; echo $i[1]; echo $i[2]; echo PHP_EOL; }
Output for git.master_jit, git.master, rfc.property-hooks
08.201809:30a 08.201810:30b 08.201811:30c

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:
42.35 ms | 1421 KiB | 4 Q