Re: [PHP-DEV] [RFC][Discussion] Make compact function reportsundefined passed variables

2018-04-11 Thread Björn Larsson
And by that one could argue that the BC break is negligible :) Anyway, I think this is a clear improvement! Regards -- //Björn Larsson Den 2018-04-09 kl. 23:54, skrev Andrea Faulds: And the determined can prefix with an @ if they want similar to old behaviour :) Ivan Enderlin wrote: Hello,

Re: [PHP-DEV] [RFC][Discussion] Make compact function reportsundefined passed variables

2018-04-09 Thread Andrea Faulds
And the determined can prefix with an @ if they want similar to old behaviour :) Ivan Enderlin wrote: Hello, Yes, a thousand yes. Silently ignoring undefined variables is a source of multiple bugs. Emiting a warning is a small BC break comparing to the benefits. Regards. -- Andrea Faulds h