wait, I take that back... I meant "to see uninitialized variable use", since
there's really no such thing as "declaring" a variable in PHP unless it's a
class member.

"Nick Eby" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> There's 2 ways to get that: use the php.ini setting ERROR_REPORTING, or
the
> function error_reporting().  to see undeclared variable use, call
> error_reporting(E_NOTICE) at the top of your script.
>
> http://www.php.net/manual/en/function.error-reporting.php
>
> /nick
>
> "R . Z ." <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > I'm on a roll with the ASP questions these days, since I picked up the
> > Chiliasp.
> >
> > Here's one:
> >
> > ASP has the function Option Explicit build in, it yells when you use
> > variables without prior declaration, couldn't find anything like that in
> > PHP documentation.
> > Thanks in advance.
> >
> > R>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to