note 17131 added to language.variables
| From: | zonezero at zonedzero dot net | Date: | Tue, 27 Nov 2001 15:33:30 +0000 |
| Subject: | note 17131 added to language.variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-21330@lists.php.net to get a copy of this message | ||
Just a note to everyone using windows to develop on or moving php code from unix apache servers to
windows IIS servers. I have found that you must declare a variable before you use it. For instance
on my unix box I can do this:
$n = 1;
echo "n=$n";
echo "o=$o";
and it will happily accept that and print nothing for the value of o. to get this working on
windows I have to declare the variable like this:
$o= "";
and everything is good.
--
http://www.php.net/manual/en/language.variables.php
http://master.php.net/manage/user-notes.php?action=edit+17131
http://master.php.net/manage/user-notes.php?action=delete+17131
http://master.php.net/manage/user-notes.php?action=reject+17131