Re: [VOTE] Make compact function reports undefined passed variables
| From: | Dmitry Stogov | Date: | Sat, 09 Jun 2018 10:03:33 +0000 |
| Subject: | Re: [VOTE] Make compact function reports undefined passed variables | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102206@lists.php.net to get a copy of this message | ||
Hi Gabriel,
compact(), extract(), parse_str() (with 1 argument) and get_defined_vars() are bad functions,
because they access local variables indirectly.
They might be considered to be removed in the next major PHP version, despite of this fix.
Thanks. Dmitry.
________________________________
From: Gabriel Caruso <carusogabriel34@gmail.com>
Sent: Wednesday, June 6, 2018 3:58:24 PM
To: PHP Internals
Subject: [PHP-DEV] [VOTE] Make compact function reports undefined passed variables
Hello there.
I'd like to announce that I've opened the RFC for voting until 06/18.
https://wiki.php.net/rfc/compact
Thanks.
--
Gabriel Caruso