Skip to Content
Programming PHP
book

Programming PHP

by Rasmus Lerdorf, Kevin Tatroe
March 2002
Intermediate to advanced
528 pages
21h 29m
English
O'Reilly Media, Inc.
Content preview from Programming PHP

Structure of This Book

We’ve arranged the material in this book so that you can read it from start to finish, or jump around to hit just the topics that interest you. The book is divided into 15 chapters and 2 appendixes, as follows.

Chapter 1 talks about the history of PHP and gives a lightning-fast overview of what is possible with PHP programs.

Chapter 2 is a concise guide to PHP program elements such as identifiers, data types, operators, and flow-control statements.

Chapter 3 discusses user-defined functions, including scoping, variable-length parameter lists, and variable and anonymous functions.

Chapter 4 covers the functions you’ll use when building, dissecting, searching, and modifying strings.

Chapter 5 details the notation and functions for constructing, processing, and sorting arrays.

Chapter 6 covers PHP’s object-oriented features. In this chapter, you’ll learn about classes, objects, inheritance, and introspection.

Chapter 7 discusses web basics such as form parameters and validation, cookies, and sessions.

Chapter 8 discusses PHP’s modules and functions for working with databases, using the PEAR DB library and the MySQL database for examples.

Chapter 9 shows how to create and modify image files in a variety of formats from PHP.

Chapter 10 explains how to create PDF files from a PHP application.

Chapter 11 introduces PHP’s extensions for generating and parsing XML data, and includes a section on the web services protocol XML-RPC.

Chapter 12 provides valuable ...

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.
Start your free trial

You might also like

Programming PHP, 3rd Edition

Programming PHP, 3rd Edition

Rasmus Lerdorf, Kevin Tatroe, Peter MacIntyre
Programming PHP, 2nd Edition

Programming PHP, 2nd Edition

Rasmus Lerdorf, Kevin Tatroe, Peter MacIntyre
Clean Code in PHP

Clean Code in PHP

Carsten Windler, Alexandre Daubois

Publisher Resources

ISBN: 1565926102Supplemental ContentCatalog PageErrata