Contents of This Book
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:
- Chapter 1, Introduction to PHP
Talks about the history of PHP and gives a lightning-fast overview of what is possible with PHP programs.
- Chapter 2, Language Basics
Is a concise guide to PHP program elements such as identifiers, data types, operators, and flow-control statements.
- Chapter 3, Functions
Discusses user-defined functions, including scope, variable-length parameter lists, and variable and anonymous functions.
- Chapter 4, Strings
Covers the functions you’ll use when building, dissecting, searching, and modifying strings in your PHP code.
- Chapter 5, Arrays
Details the notation and functions for constructing, processing, and sorting arrays in your PHP code.
- Chapter 6, Objects
Covers PHP’s updated object-oriented features. In this chapter, you’ll learn about classes, objects, inheritance, and introspection.
- Chapter 7, Web Techniques
Discusses web basics such as form parameters and validation, cookies, and sessions.
- Chapter 8, Databases
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.
- Chapter 9, Graphics
Demonstrates how to create and modify image files in a variety of formats from within PHP. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access