Skip to main content

Classes and Objects

  • Chapter
  • 199 Accesses

Part of the book series: Essential Series ((ES))

Classes and objects are fundamental concepts within the software development paradigm known as object orientation. Since version 4, PHP has supported these object-oriented concepts. An object is a software item that contains a collection of functions and variables. A class is a template, defining the functions and variables to be included for a particular type of object. We shall examine how to use classes and objects in this chapter.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag London

About this chapter

Cite this chapter

Stobart, S. (2002). Classes and Objects. In: Essential PHP fast. Essential Series. Springer, London. https://doi.org/10.1007/978-1-4471-0209-0_16

Download citation

  • DOI: https://doi.org/10.1007/978-1-4471-0209-0_16

  • Publisher Name: Springer, London

  • Print ISBN: 978-1-85233-578-6

  • Online ISBN: 978-1-4471-0209-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics