[PHP] Re: ASP Option Explicit equivalent in PHP

2002-10-09 Thread Nick Eby
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] Re: ASP Option Explicit equivalent in PHP

2002-10-09 Thread Nick Eby
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