Classes question.

From: Date: Sat, 20 Jan 2001 03:16:17 +0000
Subject: Classes question.
Groups: php.general 
Request: Send a blank email to php-general+get-35777@lists.php.net to get a copy of this message
I get an error when doing this.... class Something { var $something; function Something($this->something) { More somethings } } The error tells me that I need a ")" in the line the function call is in. If I take the "$this->something" it will parse fine. Can you not do this? James

« previous php.general (#35777) next »