Re: [RFC] Allow non-variable arguments to empty() and isset()

From: Date: Mon, 30 Apr 2012 13:05:45 +0000
Subject: Re: [RFC] Allow non-variable arguments to empty() and isset()
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-60377@lists.php.net to get a copy of this message
On Mon, Apr 30, 2012 at 9:50 AM, Patrick ALLAERT <patrickallaert@php.net> wrote: > Hi, > > 2012/4/12 Nikita Popov <nikita.ppv@googlemail.com>: >> PS: I added isset() too, to address the consistency concerns mentioned on IRC. > > I would have voted +1 if it didn't contain the isset() change. None of > the examples used in the isset_with_expr.phpt test seems logic to me. > > Care to explain the consistency concerns here? > > Patrick I changed the vote to have three options: "Both empty() and isset()", "Only empty()" or "None" https://wiki.php.net/rfc/empty_isset_exprs#vote Nikita

« previous php.internals (#60377) next »