declaring properties

From: Date: Mon, 01 Apr 2002 08:10:08 +0000
Subject: declaring properties
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-90935@lists.php.net to get a copy of this message
Is declaring properties at the beginning of a class imperative or good programming practice. All the documentation I have seen states that you must do this,however if the properties I am setting in each function are listede in the parenthesis i.e function test($var1,$var2){ } then my classes still work. Am I destined for trouble art later stages?

« previous php.general (#90935) next »