Re: [PHP] ASP Option Explicit equivalent in PHP

2002-10-09 Thread Marco Tabini
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

RE: [PHP] ASP Option Explicit equivalent in PHP

2002-10-09 Thread John W. Holmes
> 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

[PHP] ASP Option Explicit equivalent in PHP

2002-10-09 Thread R . Z .
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