Searched refs:getReturn (Results 1 – 25 of 27) sorted by relevance
12
2 Generator::getReturn() success cases12 // Calling getReturn() directly here is okay due to auto-priming13 var_dump($gen->getReturn());23 var_dump($gen->getReturn());36 var_dump($gen->getReturn());48 var_dump($gen->getReturn());58 var_dump($gen->getReturn());68 var_dump($gen->getReturn());
12 var_dump($gen->getReturn());20 var_dump($gen->getReturn());28 var_dump($gen->getReturn());36 var_dump($gen->getReturn());44 var_dump($gen->getReturn());
2 Generator::getReturn() error cases15 $gen->getReturn();34 $gen->getReturn();47 // Generator throws during auto-priming of getReturn() call48 $gen->getReturn();67 $gen->getReturn();
2 Test interaction of Generator::getReturn() and finally17 var_dump($gen->getReturn());32 var_dump($gen->getReturn());38 var_dump($gen->getReturn());
13 var_dump($gen->getReturn());
22 var_dump($gen->getReturn());
2 Fiber::getReturn() from unstarted fiber8 $fiber->getReturn();14 #0 %sget-return-from-unstarted-fiber.php(%d): Fiber->getReturn()
2 Fiber::getReturn() in unfinished fiber10 $fiber->getReturn();18 #0 %sget-return-in-unfinished-fiber.php(%d): Fiber->getReturn()
2 Fiber::getReturn() after a fiber throws14 $fiber->getReturn();22 #0 %sget-return-after-throwing.php(%d): Fiber->getReturn()
2 Fiber function may return by ref, but getReturn() always returns by val13 var_dump($fiber->getReturn());
2 Fiber::getReturn() after bailout15 var_dump($fiber->getReturn());29 #0 %sget-return-after-bailout.php(%d): Fiber->getReturn()
9 var_dump($fiber->getReturn());
14 var_dump($fiber->getReturn());
16 var_dump($fiber->getReturn());
19 var_dump($fiber->getReturn());
12 var_dump($fiber->getReturn());
35 ZEND_METHOD(Generator, getReturn);46 ZEND_ME(Generator, getReturn, arginfo_class_Generator_getReturn, ZEND_ACC_PUBLIC)
25 public function getReturn(): mixed {} function in Generator
27 public function getReturn(): mixed {} function in Fiber
49 ZEND_METHOD(Fiber, getReturn);64 ZEND_ME(Fiber, getReturn, arginfo_class_Fiber_getReturn, ZEND_ACC_PUBLIC)
16 var_dump($g->getReturn());
20 var_dump($fiber->getReturn()); // int(1)
23 var_dump($fiber->getReturn()); // int(16)
24 echo $generator->getReturn() . PHP_EOL;
29 var_dump($fiber->getReturn()); // int(-1)
Completed in 28 milliseconds