3v4l.org

run code in 300+ PHP versions simultaneously
<?php function main_entry() { $generator = (function (): \Generator { do { echo "===BEGIN===\n"; debug_print_backtrace(); echo "===END===\n"; yield; } while (true); } )(); $generator->current(); $generator->send(null); } main_entry();
Output for git.master, git.master_jit, rfc.property-hooks
===BEGIN=== #0 [internal function]: {closure}() #1 /in/E10Wt(14): Generator->current() #2 /in/E10Wt(18): main_entry() ===END=== ===BEGIN=== #0 [internal function]: {closure}() #1 /in/E10Wt(15): Generator->send(NULL) #2 /in/E10Wt(18): main_entry() ===END===

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:
61.33 ms | 866 KiB | 4 Q