Re: how to force variables declaration??

From: Date: Wed, 09 Jul 2003 01:31:32 +0000
Subject: Re: how to force variables declaration??
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-154466@lists.php.net to get a copy of this message
Hello, This is a reply to an e-mail that you wrote on Wed, 9 Jul 2003 at 02:10, lines prefixed by '>' were originally written by you. > hi to all. > i would like to know how to force to php to declare everything > variable, > example > var $var; > $var = bla,bla.. > var $var2 = array(); > $var2 = bla,bla.. > and issue error when a variable is instanced without declare, some > idea???: Check out: http://uk2.php.net/error_reporting You want to use E_ALL to do what you described. David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ (developed entirely in PHP)

« previous php.general (#154466) next »