A follow up on my question about good coding practice [isset]

From: Date: Sun, 06 Jun 2004 23:46:58 +0000
Subject: A follow up on my question about good coding practice [isset]
Groups: php.general 
Request: Send a blank email to php-general+get-187765@lists.php.net to get a copy of this message
I could use one additional clarification regarding good practice. As I understand the php manual the following is acceptable. $foo= TRUE; if($foo) do.............. ; where $foo is a binary; but not a variable. Use isset($var) for variables and be careful with $var= ' '; etc. because $var is assigned, i.e., "set".

« previous php.general (#187765) next »