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
MySQL-related functions
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 C.1.
Operators | |||
---|---|---|---|
SYMBOL | MEANING | TYPE | EXAMPLE |
= | is assigned the value of | assignment | $n = 1 |
. | concatenation | miscellaneous | $var = $x . $y |
== | is equal to | comparison ... |
Get PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.