3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1=array(1,2,3,4,5); $arr2=array("a","b","c","d","e"); $arr3=array("x","y","z","p","q"); foreach($arr1 as $val1) { echo $val1."\n"; foreach($arr2 as $val2) { echo $val2."<br>"; foreach($arr3 as $val3) { echo $val3."<br>"; } } }
Output for git.master, git.master_jit, rfc.property-hooks
1 a<br>x<br>y<br>z<br>p<br>q<br>b<br>x<br>y<br>z<br>p<br>q<br>c<br>x<br>y<br>z<br>p<br>q<br>d<br>x<br>y<br>z<br>p<br>q<br>e<br>x<br>y<br>z<br>p<br>q<br>2 a<br>x<br>y<br>z<br>p<br>q<br>b<br>x<br>y<br>z<br>p<br>q<br>c<br>x<br>y<br>z<br>p<br>q<br>d<br>x<br>y<br>z<br>p<br>q<br>e<br>x<br>y<br>z<br>p<br>q<br>3 a<br>x<br>y<br>z<br>p<br>q<br>b<br>x<br>y<br>z<br>p<br>q<br>c<br>x<br>y<br>z<br>p<br>q<br>d<br>x<br>y<br>z<br>p<br>q<br>e<br>x<br>y<br>z<br>p<br>q<br>4 a<br>x<br>y<br>z<br>p<br>q<br>b<br>x<br>y<br>z<br>p<br>q<br>c<br>x<br>y<br>z<br>p<br>q<br>d<br>x<br>y<br>z<br>p<br>q<br>e<br>x<br>y<br>z<br>p<br>q<br>5 a<br>x<br>y<br>z<br>p<br>q<br>b<br>x<br>y<br>z<br>p<br>q<br>c<br>x<br>y<br>z<br>p<br>q<br>d<br>x<br>y<br>z<br>p<br>q<br>e<br>x<br>y<br>z<br>p<br>q<br>

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:
36.53 ms | 403 KiB | 8 Q