3v4l.org

run code in 300+ PHP versions simultaneously
<?php $number = 1; while($number <= 200){ print $number; if($number % 3 == 0){ print 'Blue'; } if($number % 5 == 0){ print 'Red'; } $number++; }
Output for git.master, git.master_jit, rfc.property-hooks
123Blue45Red6Blue789Blue10Red1112Blue131415BlueRed161718Blue1920Red21Blue222324Blue25Red2627Blue282930BlueRed313233Blue3435Red36Blue373839Blue40Red4142Blue434445BlueRed464748Blue4950Red51Blue525354Blue55Red5657Blue585960BlueRed616263Blue6465Red66Blue676869Blue70Red7172Blue737475BlueRed767778Blue7980Red81Blue828384Blue85Red8687Blue888990BlueRed919293Blue9495Red96Blue979899Blue100Red101102Blue103104105BlueRed106107108Blue109110Red111Blue112113114Blue115Red116117Blue118119120BlueRed121122123Blue124125Red126Blue127128129Blue130Red131132Blue133134135BlueRed136137138Blue139140Red141Blue142143144Blue145Red146147Blue148149150BlueRed151152153Blue154155Red156Blue157158159Blue160Red161162Blue163164165BlueRed166167168Blue169170Red171Blue172173174Blue175Red176177Blue178179180BlueRed181182183Blue184185Red186Blue187188189Blue190Red191192Blue193194195BlueRed196197198Blue199200Red

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