We’ve arranged the material in this book so that you can either read it from start to finish or jump around to hit just the topics that interest you. The book is divided into 17 chapters and 1 appendix, as follows:
Talks about the history of PHP and gives a lightning-fast overview of what is possible with PHP programs.
Is a concise guide to PHP program elements such as identifiers, data types, operators, and flow-control statements.
Discusses user-defined functions, including scope, variable-length parameter lists, and variable and anonymous functions.
Covers the functions you’ll use when building, dissecting, searching, and modifying strings in your PHP code.
Details the notation and functions for constructing, processing, and sorting arrays in your PHP code.
Covers PHP’s updated object-oriented features. In this chapter, you’ll learn about classes, objects, inheritance, and introspection.
Discusses web basics such as form parameters and validation, cookies, and sessions.
Discusses PHP’s modules and functions for working with databases, using the PEAR database library and the MySQL database as examples. Also, the new SQLite database engine and the new PDO database interface are covered.
Demonstrates how to create and modify image files in a variety of formats from within PHP.
Explains how to create dynamic PDF files from a PHP application.
Introduces PHP’s updated extensions for generating and parsing XML data.
Provides valuable advice and guidance for programmers creating secure scripts. You’ll learn best practices programming techniques here that will help you avoid mistakes that can lead to disaster.
Talks about advanced techniques most PHP programmers eventually want to use, including error handling and performance tuning.
Discusses the tricks and traps of the Windows port of PHP. It also discusses some of the features unique to Windows such as COM.
Provides techniques for creating a modern web services API via PHP, and for connecting with web services APIs on other systems.
Discusses techniques for debugging PHP code and for writing debuggable PHP code.
Talks about PHP’s built-in classes for dealing with dates and times.
A handy quick reference to all core functions in PHP.