07-08-2008, 02:00 PM
|
#5 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
No, classes are classes, objects are created from classes. They are however two different things.
Quote:
|
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.
Quote:
|
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.
-m
|
|
|
|