faqts : Computers : Programming : Languages : PHP : kms

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

29 of 31 people (94%) answered Yes
Recently 9 of 10 people (90%) answered Yes

Entry

How do I get php to REQUIRE declaration of variables (= option explicit in ASP)?

Jul 16th, 2001 11:31
Rich Cavanaugh, James Walford,


You really can't do that. The only option is to set error reporting to 
E_ALL in the php.ini.
You may want to look at this:
http://www.faqts.com/knowledge_base/view.phtml/aid/651/fid/38
that answers basically the same question.