note 98781 added to function.isset
| From: | RaphaelCampos at osu1 dot php dot net | Date: | Wed, 07 Jul 2010 15:03:41 +0000 |
| Subject: | note 98781 added to function.isset | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-170759@lists.php.net to get a copy of this message | ||
A little errata for my last comment.
On the first line:
"Keep that an empty string" = "Keep in mind that an empty string"
And for the last snippet, the correct would be as follow:
<?php
(isset($a) && $a === ''); // => TRUE
?>
Note the use of the "identical" operator (===) instead of "equal" (==)
Sorry for the bother. It would be really appreciated if the wrong note could be edited and this
errata removed.
----
Server IP: 69.147.83.197
Probable Submitter: 189.26.239.156
----
Manual Page -- http://www.php.net/manual/en/function.isset.php
Edit -- https://master.php.net/note/edit/98781
Del: integrated -- https://master.php.net/note/delete/98781/integrated
Del: useless -- https://master.php.net/note/delete/98781/useless
Del: bad code -- https://master.php.net/note/delete/98781/bad+code
Del: spam -- https://master.php.net/note/delete/98781/spam
Del: non-english -- https://master.php.net/note/delete/98781/non-english
Del: in docs -- https://master.php.net/note/delete/98781/in+docs
Del: other reasons-- https://master.php.net/note/delete/98781
Reject -- https://master.php.net/note/reject/98781
Search -- https://master.php.net/manage/user-notes.php