3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 1; $i <= 20; $i++) { echo "\nNombre $i : "; echo "\n$i%2 = ".($i%2); echo "\n$i%8 = ".($i%8); }
Output for git.master, git.master_jit, rfc.property-hooks
Nombre 1 : 1%2 = 1 1%8 = 1 Nombre 2 : 2%2 = 0 2%8 = 2 Nombre 3 : 3%2 = 1 3%8 = 3 Nombre 4 : 4%2 = 0 4%8 = 4 Nombre 5 : 5%2 = 1 5%8 = 5 Nombre 6 : 6%2 = 0 6%8 = 6 Nombre 7 : 7%2 = 1 7%8 = 7 Nombre 8 : 8%2 = 0 8%8 = 0 Nombre 9 : 9%2 = 1 9%8 = 1 Nombre 10 : 10%2 = 0 10%8 = 2 Nombre 11 : 11%2 = 1 11%8 = 3 Nombre 12 : 12%2 = 0 12%8 = 4 Nombre 13 : 13%2 = 1 13%8 = 5 Nombre 14 : 14%2 = 0 14%8 = 6 Nombre 15 : 15%2 = 1 15%8 = 7 Nombre 16 : 16%2 = 0 16%8 = 0 Nombre 17 : 17%2 = 1 17%8 = 1 Nombre 18 : 18%2 = 0 18%8 = 2 Nombre 19 : 19%2 = 1 19%8 = 3 Nombre 20 : 20%2 = 0 20%8 = 4

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