3v4l.org

run code in 300+ PHP versions simultaneously
<?php $niz = array(); for ($i=1; $i<=100; $i++) $niz[] = $i; for ($j=0; $j<=count($niz)-1; $j++) { if ($niz[$j] % 2 == 1) echo $niz[$j] . "<br />\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
1<br /> 3<br /> 5<br /> 7<br /> 9<br /> 11<br /> 13<br /> 15<br /> 17<br /> 19<br /> 21<br /> 23<br /> 25<br /> 27<br /> 29<br /> 31<br /> 33<br /> 35<br /> 37<br /> 39<br /> 41<br /> 43<br /> 45<br /> 47<br /> 49<br /> 51<br /> 53<br /> 55<br /> 57<br /> 59<br /> 61<br /> 63<br /> 65<br /> 67<br /> 69<br /> 71<br /> 73<br /> 75<br /> 77<br /> 79<br /> 81<br /> 83<br /> 85<br /> 87<br /> 89<br /> 91<br /> 93<br /> 95<br /> 97<br /> 99<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:
50.15 ms | 402 KiB | 8 Q