Re: Array map with reset function
| From: | Nikita Popov | Date: | Tue, 25 Aug 2020 19:08:32 +0000 |
| Subject: | Re: Array map with reset function | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-111686@lists.php.net to get a copy of this message | ||
On Tue, Aug 25, 2020 at 7:47 PM Michael Voříšek - ČVUT FEL <
vorismi3@fel.cvut.cz> wrote:
> The following code stopped working in PHP 8:
>
> https://3v4l.org/UlIE3
>
> is it a bug or a feature?
>
This is an intentional change, if that's what you're asking. array_map() is
not spec'd to pass by reference, so it doesn't.
is posting issues like this to internals@lists.php.net email prefered
> over opening bug directly? or is there any special email for it?
>
Please prefer reporting issues at bugs.php.net over this mailing list. (At
least for bugs -- for non-trivial feature requests, the mailing list may be
better.)
Regards,
Nikita