Inital value of variables...
| From: | Martin Thoma | Date: | Tue, 08 Aug 2000 11:27:13 +0000 |
| Subject: | Inital value of variables... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-10631@lists.php.net to get a copy of this message | ||
Hello !
I need to know if an variable has been set or net. I assum, that:
If a variable has never been set, I can test it with
if ($myVariable == 0)
If $myVariable is set, it is set to a value != 0.
If this correct ? Is a state of a variable, which has not been used
before, always equl 0 ?
Regards
Martin