Advertisement

Classes and Objects

  • Frank M. Kromann
Chapter

Abstract

Object-oriented programming provides many advantages over procedural programming. It helps with encapsulation when code is shared within a team or between teams and it can help protect elements of the code from being abused. This is especially the case when code is shared in compiled form but the same mechanisms can be applied to a scripting language like PHP. This chapter describes how object-oriented programming works in PHP.

Keywords

Abstract Class Object Context Private Variable Member Variable Fatal Error 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Frank M. Kromann 2016

Authors and Affiliations

  • Frank M. Kromann
    • 1
  1. 1.Trabuco CanyonUSA

Personalised recommendations