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

From: Date: Fri, 25 May 2018 11:58:37 +0000
Subject: Re: [RFC] Make compact function reports undefined passed variables
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-102131@lists.php.net to get a copy of this message
Sammy, thanks for point it. Just test a simple code (https://3v4l.org/0QQ9S) to confirm that. Gonna change it in the implementation. Em sex, 25 de mai de 2018 às 08:45, Sammy Kaye Powers <me@sammyk.me> escreveu: > 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 > -- Gabriel Caruso

« previous php.internals (#102131) next »