> > 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. >> >> > > Hello Dmitry. > > Thanks for this feedback. When I decided to create this RFC adding a > warning, many of friends actually suggested me creating an RFC depracting > `compact`, and complaing with the same arguments as yours. > > Do you think we should do this already in PHP 7.3? > > Thanks. > -- Gabriel Caruso
- [PHP-DEV] [VOTE] Make compact function reports und... Gabriel Caruso
- Re: [PHP-DEV] [VOTE] Make compact function re... Dmitry Stogov
- Re: [PHP-DEV] [VOTE] Make compact functio... Sebastian Bergmann
- Re: [PHP-DEV] [VOTE] Make compact functio... Christoph M. Becker
- Re: [PHP-DEV] [VOTE] Make compact fun... David Rodrigues
- Re: [PHP-DEV] [VOTE] Make compact functio... Gabriel Caruso
- Re: [PHP-DEV] [VOTE] Make compact fun... Hoffman, Zachary Robert
- Re: [PHP-DEV] [VOTE] Make compact... Marco Pivetta
- Re: [PHP-DEV] [VOTE] Make co... Hoffman, Zachary Robert
- Re: [PHP-DEV] [VOTE] Make compact... Rowan Collins
- Re: [PHP-DEV] [VOTE] Make co... Hoffman, Zachary Robert
- Re: [PHP-DEV] [VOTE] Mak... Rowan Collins
- Re: [PHP-DEV] [VOTE] Make compact function re... Dmitry Stogov
