Re[2]: [PHP] newbie questions

From: Date: Sun, 29 Aug 2004 21:27:36 +0000
Subject: Re[2]: [PHP] newbie questions
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-195119@lists.php.net to get a copy of this message
Hello Torsten, Thanks for the answers ... it's all becoming clearer. Sunday, August 29, 2004, 3:08:01 PM, you wrote: TR> Hi Kevin, TR> with PHP4 &$db means the value is passed by reference. Otherwise a copy of TR> $db would be passed to the method. See here: TR> http://de2.php.net/references TR> With PHP5 variable assignments or passing variables to functions by TR> reference is standard. $this->db is the PHP equal to this.varName. TR> You access property db of the current object. Methods are called this way: TR> $this->methodName() TR> Hope this clears things up a bit. -- Best regards, Kevin Bridges mailto:cyberswat@wispertel.net Independent Contractor 303.809.4427

« previous php.general (#195119) next »