PHP5 Objects
COMPARING A PHP5 OBJECT TO ITS PHP4 ancestor is just plain unfair; however many of the API functions used with PHP5 objects are built to conform to the PHP4 API. If you worked through Chapter 10, "PHP4 Objects," you should find yourself in somewhat familiar territory here. Before you begin this chapter, grab the skeleton files from Chapter 10, renaming sample2 to sample3 so that you're starting from a nice clean extension source.