Private Properties

From: Date: Tue, 11 Jul 2000 21:18:46 +0000
Subject: Private Properties
Groups: php.dev 
Request: Send a blank email to php-dev+get-24224@lists.php.net to get a copy of this message
Aight, I'm back again:))) Now I'm almost done implementing private variables, gotta do some tweaking in zend-parser.y And I gotta test it in inheriting classes.. but I'm getting there.. My question: class test { private { var $private_var1; } } or class test { private var $private_var1; private var $private_var2; } And when we access the property from outside the class, E_ERROR or E_NOTICE. Greets, Mathieu Kooiman GG Internet Webdesign - http://www.gginter.net/

« previous php.dev (#24224) next »