<?php function baz(){ yield 1; } function bar($x){ return $x ? baz() : 'a'; } var_dump(bar(true)); var_dump(bar(false));
You have javascript disabled. You will not be able to edit any code.