3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { echo 'start'; for ($i = 1; $i < 100; ++$i) { yield $i; } echo 'finish'; } foreach (test() as $i) { echo $i; }
Output for git.master, git.master_jit, rfc.property-hooks
start123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899finish

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