[Tutorial] Basic tutorial about class basics
View Single Post
07-08-2008, 02:00 PM
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Classes are objects
No, classes are classes, objects are created from classes. They are however two different things.
Earlier versions of PHP support classes eg.
Yes, but he was using keywords (such as public and private declarations) that are specific to PHP5's object handling, so to read his examples, you would need a newer release of PHP.
These variables are called class member variables
Weeeeellllll, technically they're called properties.
Cut him a little slack, he may well have been doing the tutorial to learn as much for himself as to help others, and either way he didn't do a bad job. You are right though that everybody should do research before diving in, that's never bad advice.
The Following 2 Users Say Thank You to delayedinsanity For This Useful Post:
View Public Profile
Send a private message to delayedinsanity
Visit delayedinsanity's homepage!
Find More Posts by delayedinsanity