Foreword
Preface
1. Introduction to PHP
What Does PHP Do?
A Brief History of PHP
The Evolution of PHP
The Widespread Use of PHP
Installing PHP
A Walk Through PHP
Configuration Page
Forms
Databases
Graphics
2. Language Basics
Lexical Structure
Case Sensitivity
Statements and Semicolons
Whitespace and Line Breaks
Comments
Literals
Identifiers
Keywords
Data Types
Integers
Floating-Point Numbers
Strings
Booleans
Arrays
Objects
Resources
Callbacks
NULL
Variables
Variable Variables
Variable References
Variable Scope
Garbage Collection
Expressions and Operators
Number of Operands
Operator Precedence
Operator Associativity
Implicit Casting
Arithmetic Operators
String Concatenation Operator
Auto-increment and Auto-decrement Operators
Comparison Operators
Bitwise Operators
Logical Operators
Casting Operators
Assignment Operators
Miscellaneous Operators
Flow-Control Statements
if
switch
while
for
foreach
try...catch
declare
exit and return
goto
Including Code
Embedding PHP in Web Pages
Standard (XML) Style
SGML Style
ASP Style
Script Style
Echoing Content Directly
3. Functions
Calling a Function
……
4. Strings
5. Arrays
6. Objects
7. Web Techniques
8. Databases
9. Graphics
10. PDF
11. XML
12. Security
13. Application Techniques
14. PHP on Disparate Platforms
15. Web Services
16. Debugging PHP
17. Dates and Times
Appendix: Function Reference
Index