accessing a property the static way

From: Date: Thu, 12 Sep 2002 09:29:15 +0000
Subject: accessing a property the static way
Groups: php.general 
Request: Send a blank email to php-general+get-116118@lists.php.net to get a copy of this message
how can i access a property statically (without creating an object)? is that possible at all? i.e. class foo { var $prop = array('some','defines','are','here'); } $myVar = foo::prop; OR $myVar = foo::prop[0]; how can this be realized? can someone help? is that possible with php? -- Wolfram ... translating template engine .... http://sf.net/projects/simpletpl ... authentication system .... http://sf.net/projects/auth

« previous php.general (#116118) next »