Re: Before March 1st aka PHP 5.1 beta
| From: | Christian Schneider | Date: | Thu, 17 Feb 2005 20:37:59 +0000 |
| Subject: | Re: Before March 1st aka PHP 5.1 beta | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15067@lists.php.net to get a copy of this message | ||
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