note 92954 added to language.operators.comparison
| From: | vostok4 at gmail dot com | Date: | Sun, 16 Aug 2009 03:21:42 +0000 |
| Subject: | note 92954 added to language.operators.comparison | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-159539@lists.php.net to get a copy of this message | ||
In response to anonymous noting about the ternary operator not helping with undefined array indices,
you can always use isset() to check for the existence of an index without throwing an error.
----
Server IP: 208.69.120.35
Probable Submitter: 76.126.223.44
----
Manual Page -- http://www.php.net/manual/en/language.operators.comparison.php
Edit -- https://master.php.net/note/edit/92954
Del: integrated -- https://master.php.net/note/delete/92954/integrated
Del: useless -- https://master.php.net/note/delete/92954/useless
Del: bad code -- https://master.php.net/note/delete/92954/bad+code
Del: spam -- https://master.php.net/note/delete/92954/spam
Del: non-english -- https://master.php.net/note/delete/92954/non-english
Del: in docs -- https://master.php.net/note/delete/92954/in+docs
Del: other reasons-- https://master.php.net/note/delete/92954
Reject -- https://master.php.net/note/reject/92954
Search -- https://master.php.net/manage/user-notes.php