• PHP Manual
  • Language Reference
  • Basic syntax
  • Types
  • Variables
  • Constants
  • Expressions
  • Operators
  • Control Structures
  • Functions
  • Classes and Objects
  • Namespaces
  • Exceptions
  • Generators
  • References Explained
  • Predefined Variables
  • Predefined Exceptions
  • Predefined Interfaces and Classes
  • Context options and parameters
  • Supported Protocols and Wrappers
Anonymous functions
Introduction
Language Reference
PHP Manual

Classes and Objects

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