Bug #2599: class variables
| From: | jymil at hotmail dot com | Date: | Mon, 25 Oct 1999 08:21:29 +0000 |
| Subject: | Bug #2599: class variables | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11879@lists.php.net to get a copy of this message | ||
From: jymil@hotmail.com
Operating system: linux 2.1
PHP version: 3.0.12
PHP Bug Type: Feature/Change Request
Bug description: class variables
Variable declarations in classes can't refer to other
variables in that class, only value assigments are
allowed. The following example does not work:
class test
{ var $testvar = "this is a test";
var $test2 = $this->testvar;
}
Would be nice if such things were possible.