Index

<<<, using with heredoc syntax, 31

& (ampersand), using with variables, 30

% (percent sign), using in strings, 41

:: (scope resolution operator), using, 172175, 177

; (semicolon), use with stored functions, 109

" (quotation marks), using with classes, 152

A

abstract classes

versus classes, 184

creating, 186

declaring attributes, 188

defining constructors, 188

Heron’s Formula, 188

versus interfaces, 191, 196

Triangle class, 186189

Abstract Factory pattern versus Factory, 224

abstract methods

creating, 186

declaring attributes, 188

defining constructors, 188

Heron’s Formula, 188

access control

establishing for methods, 165

importance of, 166

indicating in UML, 166

in OOP, 151

private level, 165166

protected level, 165

public level, 165 ...

Get PHP Advanced and Object-Oriented Programming: Visual Quickpro Guide, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.