[PHP-NOTES] note 130818 added to language.fibers
[email protected] ("Anonymous") Fri, 12 Jun 2026 00:21:13 +0000
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
Fiber::suspend() called inside a try block does not trigger the finally clause until the Fiber is either resumed or garbage collected — this differs from Generator behavior where finally is executed on Generator::throw() immediately ---- Server IP: 2a03:b0c0:2:f0:0:1:a983:a001 (proxied: BunnyCDN) Probable Submitter: 8.222.239.94 ---- Manual Page -- https://php.net/manual/en/language.fibers.php Edit -- https://main.php.net/note/edit/130818 Del: integrated -- https://main.php.net/note/delete/130818/integrated Del: useless -- https://main.php.net/note/delete/130818/useless Del: bad code -- https://main.php.net/note/delete/130818/bad+code Del: spam -- https://main.php.net/note/delete/130818/spam Del: non-english -- https://main.php.net/note/delete/130818/non-english Del: in docs -- https://main.php.net/note/delete/130818/in+docs Del: other reasons-- https://main.php.net/note/delete/130818 Reject -- https://main.php.net/note/reject/130818 Search -- https://main.php.net/manage/user-notes.php