Generator::
| From: | Christoph M. Becker | Date: | Fri, 16 Mar 2018 15:44:40 +0000 |
| Subject: | Generator:: | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-101980@lists.php.net to get a copy of this message | ||
Hi everybody!
Wrt. <https://bugs.php.net/76104> I wonder whether
the behavior has
actually been deliberately designed this way (i.e. whether it is indeed
a documentation issue).
Consider the following variation of the Generator::send() example:
<https://3v4l.org/vbbZM>. I certainly would not expect
NULL as fourth
line of the output, but rather int(1).
Can somebody please clarify?
--
Christoph M. Becker