Re: Undefined variables?
| From: | Maxim Maletsky | Date: | Mon, 18 Nov 2002 17:29:27 +0000 |
| Subject: | Re: Undefined variables? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124936@lists.php.net to get a copy of this message | ||
set error reporting to 55
--
Maxim Maletsky
maxim@php.net
"Martin Magnusson" <martin.magnusson@alltomit.com> wrote... :
> 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
>