<?php function testGenerators() { $testArray = array(1,2,3); foreach ($testArray as $num) { yield $num; } } list($a, $b, $c) = testGenerators(); var_dump($a); var_dump($b);
You have javascript disabled. You will not be able to edit any code.