note 88526 added to function.isset
| From: | ysu at osu1 dot php dot net | Date: | Wed, 28 Jan 2009 01:54:06 +0000 |
| Subject: | note 88526 added to function.isset | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-149871@lists.php.net to get a copy of this message | ||
RE tomek's short function
you can avoid the notice, and make the first check a bit more meaningful by changing the function
def to:
function is(&$var ) { ...
but I agree the behaviour of it is a tad chaotic. It may have it's use in a specific situation
only.
----
Server IP: 117.55.229.1
Probable Submitter: 121.44.157.228
----
Manual Page -- http://www.php.net/manual/en/function.isset.php
Edit -- https://master.php.net/note/edit/88526
Del: integrated -- https://master.php.net/note/delete/88526/integrated
Del: useless -- https://master.php.net/note/delete/88526/useless
Del: bad code -- https://master.php.net/note/delete/88526/bad+code
Del: spam -- https://master.php.net/note/delete/88526/spam
Del: non-english -- https://master.php.net/note/delete/88526/non-english
Del: in docs -- https://master.php.net/note/delete/88526/in+docs
Del: other reasons-- https://master.php.net/note/delete/88526
Reject -- https://master.php.net/note/reject/88526
Search -- https://master.php.net/manage/user-notes.php