null value and isset
| From: | daniel at electroteque dot org | Date: | Wed, 28 Jan 2004 00:17:52 +0000 |
| Subject: | null value and isset | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-175987@lists.php.net to get a copy of this message | ||
Hi there regarding out discussions before about using isset, i set function
params which are false intitalially as null ie function foo ($bar = null) ,
anyway $bar remains true both ways if i do isset($bar), i didnt notice this
assuming it was ok, now the scripts are buggered, it was originally like if
($bar) which worked fine. Is there a better way to check ?