lime icon

Phosphorus and Lime

A Developer's Broadsheet

This blog has been deprecated. Please visit my new blog at klenwell.com/press.
PHP Objects
One of my new year's resolutions is to stop reinventing wheels and start using PEAR. PEAR of course requires some familiarity classes. I did a little work with object-oriented programming when I was playing with Java a few years ago but haven't done much with it since then. That was enough to finally get my mind wrapped around the concept.

What I've been looking for to get started is simply a crib sheet for PHP object syntax. Finally found it here:

Classes and Objects (PHP 5) : The Basics
(php.net)

This animated gif (linked in the comments) is really helpful in comprehending the difference between instances, variables, and references:

http://www.prism.gatech.edu/~gtg624r/Code_Explenation.gif
source: http://www.prism.gatech.edu/~gtg624r/Code_Explenation.gif