Appendix A. A whistle-Stop Tour of PHP Syntax

 

This appendix covers

  • Fundamental PHP syntax
  • Variables and types
  • How loops and conditionals work in PHP
  • The basics of PHP functions

Zend Framework is a powerful framework and it’s piquing the interest of a wide range of users, from PHP developers who want to take their sites and skills to the next level to developers from other languages and environments looking to build sites in PHP. The content of this book isn’t for beginners, and the code assumes a reasonable level of PHP knowledge. This appendix and the next are intended to provide a whistle-stop tour of the core PHP concepts you’ll need to know. Obviously, these appendices aren’t a substitute for a complete book on the subject.

This appendix covers the key points of the PHP language that you’ll need to know to make sense of this book. It’s intended for people who understand programming but aren’t well versed in the nuances of PHP. If you don’t know the fundamentals of programming, we suggest that you consider PHP and MySQL Web Development by Welling and Thompson—it’s an excellent introduction to PHP development and programming for the Web. Another good book that goes beyond the basics is PHP in Action by Reiersøl, Baker, and Shiflett.

A.1. PHP Fundamentals

A.2. Variables and Types

A.3. Conditionals and Loops

A.4. Functions

A.5. Summary