note 100409 deleted from function.isset by danbrown
| From: | danbrown@php.net | Date: | Thu, 14 Oct 2010 16:31:03 +0000 |
| Subject: | note 100409 deleted from function.isset by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-173220@lists.php.net to get a copy of this message | ||
Note Submitter: dbergan at gmail dot com
----
I ran into issues with isset() behaving counter-intuitively when I was checking user-input via
forms... so I spent a few hours testing isset() and its siblings empty(), is_null(), and strlen()
and put the results in a large table on my site to clarify their behavior and highlighted the areas
that might get a programmer in trouble. Hope you find this useful.
http://www.davidbergan.com/Summa/Php
Kind regards,
David