Making magic objects with PHP

PHP 5 provides us with the ability to introduce magic into our code via its set of Magic Methods. These methods get called automatically (depending on the situation) and allow the developer to add extra capabilities to their scripts. I am going to focus on a set that...