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 <[email protected]>
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

Reply via email to