note 80678 added to function.empty

From: Date: Mon, 28 Jan 2008 18:59:44 +0000
Subject: note 80678 added to function.empty
Groups: php.notes 
Request: Send a blank email to php-notes+get-135492@lists.php.net to get a copy of this message
Also note, that if you have a URI that looks like this: /page/index.php?query= performing isset($_GET['query']) will return TRUE. as query is set, though null, in the QUERY. To counteract this behavior, check isset($_GET['query']) and !empty($_GET['query']) as empty will detect the null value. ---- Server IP: 208.69.120.35 Probable Submitter: 216.53.205.163 ---- Manual Page -- http://www.php.net/manual/en/function.empty.php Edit -- https://master.php.net/note/edit/80678 Del: integrated -- https://master.php.net/note/delete/80678/integrated Del: useless -- https://master.php.net/note/delete/80678/useless Del: bad code -- https://master.php.net/note/delete/80678/bad+code Del: spam -- https://master.php.net/note/delete/80678/spam Del: non-english -- https://master.php.net/note/delete/80678/non-english Del: in docs -- https://master.php.net/note/delete/80678/in+docs Del: other reasons-- https://master.php.net/note/delete/80678 Reject -- https://master.php.net/note/reject/80678 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#135492) next »