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();

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
152.21 ms | 1490 KiB | 12 Q