Linked by John Collins on Wed 21st Apr 2004 06:42 UTC
The purpose of this article is to give a novice programmer the basic idea of what OOP is, as implemented using PHP. Readers should have a basic knowledge of programming ie what variables are, variable types, basic methods of writing comments, and how to enter code into a text editor.
Permalink for comment
To read all comments associated with this story, please click here.
"happy {$hippos}!" is the same as "happy " . $hippos . "!" in PHP.
Also, variables "should always" (at least it's a standard) be written in lowercase, such as $name and $genderLevel instead of $Name and $GenderLevel.