3v4l.org

run code in 300+ PHP versions simultaneously
<?php function gen() { echo "[1] Incoming value: ".yield.PHP_EOL; echo "[2] Incoming value: ".yield.PHP_EOL; echo "[3] Incoming value: ".yield.PHP_EOL; echo "[4] Incoming value: ".yield.PHP_EOL; echo "[5] Incoming value: ".yield.PHP_EOL; } $x = gen(); $x->send(5); $x->send(4); $x->send(3); $x->send(2); $x->send(1);
Output for git.master, git.master_jit, rfc.property-hooks
[1] Incoming value: 5 [2] Incoming value: 4 [3] Incoming value: 3 [4] Incoming value: 2 [5] Incoming value: 1

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