|
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-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 07 19:00:02 2025 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.