> How do you make you PHP scripts require explicit variable declaration? >Like Java/SQL/C/C++ or 'use strict;' in PERL or 'Option Explicit' in >VB/VBScript
The closest you can come is: <?php error_reporting(E_ALL);?> This can also be set in php.ini and/or .htaccess Note that PHP simply does not *have* variable declarations, but at least it will bitch at you when you do something stupid like use a variable that has no value. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php