Re: isset, empty, "" and the like
| From: | Philip Olson | Date: | Sun, 24 Nov 2002 20:39:24 +0000 |
| Subject: | Re: isset, empty, "" and the like | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969349895@lists.php.net to get a copy of this message | ||
Yes, interesting indeed. Similar information also exists
in a few user comments so perhaps it's time to put a table
like this in the manual :) Appendix or faq? Some
additions to php_cheat_sheet:
a) Add boolean true to first table
b) empty() handling of "0" changed in php4
c) forms only pass strings
d) When E_NOTICE errors will result
e) Difference of isset() and array_key_exists()
in terms of how they treat NULL values.
f) Add NULL to comparison tables
g) Briefly mention and/or point to types section
h) Mention !
i) Some other stuff no doubt...
The color changes really help make it clearer and easier
to read, let's use a similar color scheme instead of the
&true; and &false; entities.
Regards,
Philip
On Sun, 24 Nov 2002, Gabor Hojtsy wrote:
> Hm, interesting tables :)
> http://www.blueshoes.org/en/developer/php_cheat_sheet/
>
> Goba
>
>
>
> --
> PHP Documentation Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>