Re: empty("0")
| From: | Hartmut Holzgraefe | Date: | Tue, 30 Oct 2001 19:47:26 +0000 |
| Subject: | Re: empty("0") | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-69351@lists.php.net to get a copy of this message | ||
sterling hughes wrote:
as there are reasons for both sides ... ... maybe we should have empty() and empty0() or so ? ... ... just a quick idea ... not at all thought out ... -- Hartmut Holzgraefe hartmut@six.de http://www.six.de +49-711-99091-77I don't know if this has been discussed yet, but while we're getting all crazy with breaking compat in 4.1 and/or 5.0, why not go ahead and finally fix empty("0") to return false, like it really should (a string with 0 in it, is *not* imho an empty string).-Sterling