View Single Post
04-18-2009, 04:46 PM
Join Date: Sep 2007
Originally Posted by
My PHP version is 5.28, so looks like I should upgrade.
I think I'm starting to get the hang of OO.
The static way of accessing properties (self::,parent::) is very interesting, I want to try to incorporate that into my class somehow, hopefully for a good reason, but if not, at least to get a good understanding of how they work just by using it.
Do I have to declare the property as "public" in order to access it outside of the class? Right now all my properties are set to "private".
FYI, PHP 5.3 is not released as final yet, but you can grab the RC1 and play around with it:
or grab a snapshot:
View Public Profile
Send a private message to Kalle
Visit Kalle's homepage!
Find More Posts by Kalle