Re: [RFC] Make compact function reports undefined passed variables
| From: | Nikita Popov | Date: | Fri, 25 May 2018 10:34:46 +0000 |
| Subject: | Re: [RFC] Make compact function reports undefined passed variables | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102128@lists.php.net to get a copy of this message | ||
On Fri, May 25, 2018 at 4:17 AM, Gabriel Caruso <carusogabriel34@gmail.com>
wrote:
> Hello Internals.
>
>
> I'd like to announce my new RFC:
> https://wiki.php.net/rfc/compact.
>
>
> This was already previously discussed (https://externals.io/message/102012
> )
> and now I have officially opened the RFC so we can discuss, improve and
> vote it.
>
>
> Thanks in advance,
> --
> Gabriel Caruso
>
Sounds reasonable to me. An undefined variable in compact() is most likely
a typo, not an intentional use of a conditionally defined variable.
Nikita