PHP

Object Oriented Programming

Object oriented programming assumes everything as an object. This tutorial covers how to declare, implement, use and extend classes.

This tutorial covers the following:

  • The drawbacks to standard function libraries and how object-oriented programming helps to solve them
  • How to declare, implement, and use classes in PHP5
  • How to extend classes
  • How to create hierarchies of related classes that share implementation and classes that expose common programming 'interfaces'
  • Some of the other details and features of classes in PHP