Re: note 9216 added to empty
| From: | J. M. Castagnetto | Date: | Mon, 23 Oct 2000 10:15:57 +0000 |
| Subject: | Re: note 9216 added to empty | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6874@lists.php.net to get a copy of this message | ||
You should submit this as a bug report to
bugs.php.net, not to the manual notes, so the
developers will be aware of this behaviour.
This note will be removed.
--- mpostupalski@wp-sa.pl wrote:
> Try this:
> $test='0'; //zero
> echo empty($test) ? "True" : "False";
> //PHP 3.0 returns "False";
> //PHP 4.0 returns "True";
>
> http://www.php.net/manual/function.empty.php
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-notes-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-notes-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
=====
--- Jesus M. Castagnetto (jcastagnetto@yahoo.com)
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/