<?php function test(array $array) { foreach ($array as $value) { yield $value; } } $array = range(0, 10000); $values = array(); foreach ($array as $value) { $values[] = $value; }
You have javascript disabled. You will not be able to edit any code.