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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights 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