variables

From: Date: Mon, 10 Dec 2001 09:13:02 +0000
Subject: variables
Groups: php.general 
Request: Send a blank email to php-general+get-77186@lists.php.net to get a copy of this message
Is it advisable to use the same names for variables both in a function and in its activator([?] I'm sorry I don't know the correct word) as follows? <? function test($var1, $var2) { ...whatever; return $result; } var $var1, $var2; $result = test($var1, $var2); // this is what I called the "activator" ... :) ?> Lennart Johansen

« previous php.general (#77186) next »