|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-02-10 13:51 UTC] jimw@php.net
[2001-02-10 14:00 UTC] hholzgra@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Feb 06 18:00:01 2026 UTC |
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.