Re: Before March 1st aka PHP 5.1 beta

From: Date: Thu, 17 Feb 2005 22:08:31 +0000
Subject: Re: Before March 1st aka PHP 5.1 beta
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-15071@lists.php.net to get a copy of this message
You're absolutely right... It should've said "notemptyor" :) Very perceptive ;) Ron "Christian Schneider" <cschneid@cschneid.com> wrote in message news:421500A7.4040209@cschneid.com... > Ron Korving wrote: > > $foo = emptyor($foo, "bar"); > > I'm not really sure that you'd use this for. Set $foo to either the > original value (if $foo was empty before) or "bar"? Is that empty as in > empty()? So you could end up with null, "", 0, "0", false or > "bar"? > > - Chris

« previous php.internals (#15071) next »