Undefined variables?

From: Date: Mon, 18 Nov 2002 14:57:52 +0000
Subject: Undefined variables?
Groups: php.general 
Request: Send a blank email to php-general+get-124916@lists.php.net to get a copy of this message
I installed php 4.2.3 on Apache2. When I write <? echo $anyvariable; ?> I get an error message telling me that I have an undefined variable $anyvariable. Is this something new that one must declare all variables? In my previous version of php the expression above would return an empty string - no error messages... Hope you understand my problem... Martin Magnusson

« previous php.general (#124916) next »