note 94668 added to function.compact

From: Date: Tue, 17 Nov 2009 16:33:27 +0000
Subject: note 94668 added to function.compact
Groups: php.notes 
Request: Send a blank email to php-notes+get-162991@lists.php.net to get a copy of this message
To packard_bell_nec at hotmail dot com: Use isset() to determine if something is set. This works for variables and object properties. Using compact() to determine if something exists is quite an ugly hack. ---- Server IP: 192.41.40.227 Probable Submitter: 38.97.88.20 ---- Manual Page -- http://www.php.net/manual/en/function.compact.php Edit -- https://master.php.net/note/edit/94668 Del: integrated -- https://master.php.net/note/delete/94668/integrated Del: useless -- https://master.php.net/note/delete/94668/useless Del: bad code -- https://master.php.net/note/delete/94668/bad+code Del: spam -- https://master.php.net/note/delete/94668/spam Del: non-english -- https://master.php.net/note/delete/94668/non-english Del: in docs -- https://master.php.net/note/delete/94668/in+docs Del: other reasons-- https://master.php.net/note/delete/94668 Reject -- https://master.php.net/note/reject/94668 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#162991) next »