3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new StdClass(); for( $i=0; $i<100; $i++ ){ $a->$i = $i*100; } foreach($a as $i){ echo $i; }
Output for git.master, git.master_jit, rfc.property-hooks
0100200300400500600700800900100011001200130014001500160017001800190020002100220023002400250026002700280029003000310032003300340035003600370038003900400041004200430044004500460047004800490050005100520053005400550056005700580059006000610062006300640065006600670068006900700071007200730074007500760077007800790080008100820083008400850086008700880089009000910092009300940095009600970098009900

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:
40.61 ms | 402 KiB | 8 Q