|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2017-11-06 10:38 UTC] bashofmann at gmail dot com
[2018-01-11 09:39 UTC] kelunik@php.net
[2018-01-12 20:28 UTC] nikic@php.net
[2018-01-12 20:28 UTC] nikic@php.net
-Status: Open
+Status: Closed
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 01:00:02 2025 UTC |
Description: ------------ See example. It doesn't continue the generator anywhere, it just exists. Test script: --------------- <?php $gen = (function () { yield 42; try { } finally { exit; } })(); $gen->send("x"); Expected result: ---------------- Clean exit. Actual result: -------------- Fatal error: Cannot resume an already running generator.