Skip to main content

Object-Oriented PHP

  • Chapter
Beginning PHP and Oracle
  • 753 Accesses

Abstract

While for many languages object orientation is simply a matter of course, it took several years before such features were incorporated into PHP. Yet the early forays into adding object-oriented features to the language were considered by many to be a poor attempt at best. Although the very basic premises of object-oriented programming (OOP) were offered in version 4, several deficiencies exist, including the following:

  • An unorthodox object-referencing methodology

  • No means for setting the scope (public, private, protected, abstract) of fields and methods

  • No standard convention for naming constructors

  • Absence of object destructors

  • Lack of an object-cloning feature

  • Lack of support for interfaces

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

Rights and permissions

Reprints and permissions

Copyright information

© 2007 W. Jason Gilmore, Bob Bryla

About this chapter

Cite this chapter

(2007). Object-Oriented PHP. In: Beginning PHP and Oracle. Apress. https://doi.org/10.1007/978-1-4302-0367-4_6

Download citation

Publish with us

Policies and ethics