3v4l.org

run code in 300+ PHP versions simultaneously
<?php function countFromAndTo($from, $to) { for ($counter = $from; $counter <= $to; $counter = $counter +1) { print $counter; } } print PHP_EOL."Josh: ".PHP_EOL; countFromAndTo(5, 26); print "Armando: ".PHP_EOL; countFromAndTo(27, 38); print "Juan: ".PHP_EOL; countFromAndTo(-15,3);
Output for git.master, git.master_jit, rfc.property-hooks
Josh: 567891011121314151617181920212223242526Armando: 272829303132333435363738Juan: -15-14-13-12-11-10-9-8-7-6-5-4-3-2-10123

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:
44.73 ms | 401 KiB | 8 Q