<?php function gen () { yield new \stdClass => "foobar"; } foreach (gen() as $key => $value) { var_dump($key, $value); }
You have javascript disabled. You will not be able to edit any code.