yield; /* testYieldUsedAsPropertyName2 */ echo $obj?->yield(); /* testYieldUsedForClassConstantAccess1 */ echo MyClass::YIELD; /* testFromUsedForClassConstantAccess1 */ echo MyClass::FROM; } /* testYieldUsedAsMethodNameReturnByRef */ public function &yield() {} } function myGen() { /* testYieldLiveCoding */ yield