O'Reilly logo

PHP and MySQL for Dynamic Web Sites: Visual Quickpro Guide, Second Edition by Larry Ullman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

PHP

By no means could this appendix replace the value of the PHP manual, but the tables and information listed here might save you a trip online to view it. In this section you’ll find lists of

  • Operators, comparators, and their precedence

  • Date- and time-formatting parameters and functions

  • Regular expression characters and classes

  • And more!

Operators and comparators

Many of PHP’s operators and comparators (symbols used to make comparisons) are self-evident. Still, to be explicit, I’ve listed most of them in Table B.1. Along with these, don’t forget about the variations on the assignment operators: .=, +=, -=, *=, and /=.

Table B.1. PHP’s characters for performing operations or making comparisons.
PHP Operators
SymbolMeaningType
=is assigned the value ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required