[PHP-DEV] [RFC][Discussion] Make compact function reports undefined passed variables

2018-04-02 Thread Gabriel Caruso
Hello dear internals, how are you? I'd like to propose a new RFC to PHP's core, but as this one contains a BC Break, let's discussed it before making anything official. A couple of days ago, while discussing some [Coding Standards rules for Doctrine, forbidden the `compact` function]( https://git

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

2018-04-02 Thread Pieter Hordijk
- Original Message - > From: "Gabriel Caruso" > To: "internals" > Sent: Monday, April 2, 2018 11:17:43 AM > Subject: [PHP-DEV] [RFC][Discussion] Make compact function reports undefined > passed variables > Hello dear internals, how are you? > > I'd like to propose a new RFC to PHP's

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

2018-04-02 Thread Gabriel Caruso
> > Hey Gabriel, > > What I am missing here is the reason why we should break well defined > behavior of existing functions. > > How is the BC break for all existing code justified? > > Pieter > Hi Pieter. > What I am missing here is the reason why we should break well defined behavior of exist

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

2018-04-02 Thread Pieter Hordijk
> Hi Pieter. >> What I am missing here is the reason why we should break well defined >> behavior > > of existing functions. > Hi Pieter. >> What I am missing here is the reason why we should break well defined >> behavior > > of existing functions. > This is something I'd like to discuss ab