Well, you can set error_reporting to E_ALL, which will cause PHP to
complain if you use a variable without having it initialized. There is
no exact equivalent to Option Explicit--and there still isn't any need
to declare the variables, just to initialize them before use.
Marco
On Wed, 2002-10-0
> 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.
If y
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
3 matches
Mail list logo