Helping ordinary people create extraordinary websites!

Getting Started with Objects with PHP V5

By Matt Zandstra
2005-07-01

Why you need to know objects and classes, and how to use them

This article describes the fundamentals of objects and classes in PHP V5, from the very basics through to inheritance, for experienced object-oriented programmers and those who have not yet been introduced to objects.

As a PHP programmer, you know variables and functions inside-out. Classes and objects, though, might be a different matter. It's possible to create perfectly good systems without defining a single class. Even if you decide to stay away from object-oriented programming in your own code, you will likely need to know object-oriented programming. For example, if you use a third-party library, such as those made available by PHP Extension and Application Repository (PEAR), you will find yourself instantiating objects and calling methods.





Tutorial pages:

First published by IBM DeveloperWorks


 1 Votes

You might also want to check these out:


Leave a Comment on "Getting Started with Objects with PHP V5"
You must be logged in to post a comment.

Link to This Tutorial Page!


GET OUR NEWSLETTERS