Re: [PHP-DEV] [VOTE] Make compact function reports undefined passedvariables

2018-06-09 Thread David Rodrigues
Em sáb, 9 de jun de 2018 às 11:27, Christoph M. Becker escreveu: > On 09.06.2018 at 12:03, Dmitry Stogov wrote: > > > compact(), extract(), parse_str() (with 1 argument) and > get_defined_vars() are bad functions, because they access local variables > indirectly. > > While I agree that extract()

Re: [PHP-DEV] [VOTE] Make compact function reports undefined passedvariables

2018-06-09 Thread Christoph M. Becker
On 09.06.2018 at 12:03, Dmitry Stogov wrote: > compact(), extract(), parse_str() (with 1 argument) and get_defined_vars() > are bad functions, because they access local variables indirectly. While I agree that extract() and parse_str() can be dangerous, I don't understand why compact() and get_d