<?php function foo() { yield 'a' => 1; yield 'b' => 2; yield 'c' => 3; } $it = foo(); do { echo key($it), "\n", current($it), "\n"; } while($it->next());
You have javascript disabled. You will not be able to edit any code.