Object Fundamentals
摘要
Objects have been a feature of PHP since version 3, and a great deal of PHP’s built-in functionality is provided by objects (even if at glance, it doesn’t seem that way; for example, anonymous functions are implemented internally as Closure objects). In addition to core PHP, most of the popular frameworks and libraries are implemented in the OOP style. We’ve already had some exposure to objects in previous chapters, and now is a good point to get the fundamentals down.