note 17131 rejected from language.variables by zak
| From: | zak@php.net | Date: | Tue, 27 Nov 2001 16:50:42 +0000 |
| Subject: | note 17131 rejected from language.variables by zak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-21335@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.