Re: [RFC] Make compact function reports undefined passed variables

From: Date: Fri, 25 May 2018 11:45:41 +0000
Subject: Re: [RFC] Make compact function reports undefined passed variables
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-102130@lists.php.net to get a copy of this message
On Thu, May 24, 2018 at 10:17 PM, Gabriel Caruso <carusogabriel34@gmail.com> wrote: > Hello Internals. > > > I'd like to announce my new RFC: > https://wiki.php.net/rfc/compact. > > > This was already previously discussed (https://externals.io/message/102012) > and now I have officially opened the RFC so we can discuss, improve and > vote it. > > > Thanks in advance, > -- > Gabriel Caruso I love it as it would help guard against obscure bugs. I would suggest raising an E_NOTICE instead of an E_WARNING as that is the typical behavior of undefined variables elsewhere. :) Thanks, Sammy Kaye Powers sammyk.me

« previous php.internals (#102130) next »