Thursday, May 12, 2011

Introduction to OOPS

more info.. http://evergreenphp.blogspot.com

Introduction

Starting with PHP 5, the object model was rewritten to allow for better performance and more features.
This was a major change from PHP 4. PHP 5 has a full object model.
Among the features in PHP 5 are the inclusions of visibility, abstract and final classes and methods,
additional magic methods, interfaces, cloning and typehinting.
PHP treats objects in the same way as references or handles, meaning that each variable contains an
object reference rather than a copy of the entire object. See Objects and References


• Classes and Objects
• Introduction
• The Basics
• Properties
• Class Constants
• Autoloading Classes
• Constructors and Destructors
• Visibility
• Object Inheritance
• Scope Resolution Operator (::)
• Static Keyword
• Class Abstraction
• Object Interfaces
• Overloading
• Object Iteration
• Patterns
• Magic Methods
• Final Keyword
• Object Cloning
• Comparing Objects
• Type Hinting
• Late Static Bindings
• Objects and references
• Object Serialization

No comments: