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

From: Date: Wed, 02 May 2012 09:10:15 +0000
Subject: Re: [RFC] Allow non-variable arguments to empty() and isset()
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-60415@lists.php.net to get a copy of this message
hi, On Wed, May 2, 2012 at 10:46 AM, Laruence <laruence@php.net> wrote: >    so I think if you want to change empty, you should also change isset. An expression is not set per se. isset goals, by design, from the very 1st day, is to test the existence of a variable and a variable only. empty() on the other hand, tests if something is empty, and only if it is empty. The result of an expression can be empty. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org

« previous php.internals (#60415) next »