<?php interface Foo { public function bar(string $stuff): Generator; } class Baz { public function bar(string $stuff): Generator { yield $stuff; } } $baz = new Baz; $g = $baz->bar("Hello PHP!"); foreach ($g as $value) { var_dump($value); }
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`