Abstract
This chapter discusses the static keyword as it is applied to variables, classes, and methods. You will learn about the scope resolution operator (::) and its implication in object-oriented design. Finally, I will touch on the often heated debate about the usage of static classes in application design.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
Rights and permissions
Copyright information
© 2008 Kevin McArthur
About this chapter
Cite this chapter
(2008). Static Variables, Members, and Methods. In: Pro PHP. Apress. https://doi.org/10.1007/978-1-4302-0279-0_2
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0279-0_2
Publisher Name: Apress
Print ISBN: 978-1-59059-819-1
Online ISBN: 978-1-4302-0279-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books