• PHP Manual
  • Appendices
  • History of PHP and Related Projects
  • Migrating from PHP 5.5.x to PHP 5.6.x
  • Migrating from PHP 5.4.x to PHP 5.5.x
  • Migrating from PHP 5.3.x to PHP 5.4.x
  • Migrating from PHP 5.2.x to PHP 5.3.x
  • Migrating from PHP 5.1.x to PHP 5.2.x
  • Migrating from PHP 5.0.x to PHP 5.1.x
  • Migrating from PHP 4 to PHP 5.0.x
  • Classes and Objects (PHP 4)
  • Debugging in PHP
  • Configure options
  • php.ini directives
  • Extension List/Categorization
  • List of Function Aliases
  • List of Reserved Words
  • List of Resource Types
  • List of Available Filters
  • List of Supported Socket Transports
  • PHP type comparison tables
  • List of Parser Tokens
  • Userland Naming Guide
  • About the manual
  • Creative Commons Attribution 3.0
  • Index listing
  • Changelog
Error Reporting
class
Appendices
PHP Manual

Classes and Objects (PHP 4)

Table of Contents
  • class
  • extends
  • Constructors
  • Scope Resolution Operator (::)
  • parent
  • Serializing objects - objects in sessions
  • The magic functions __sleep and __wakeup
  • References inside the constructor
  • Comparing objects