Images

Applying Comparison and Logical Operators

Images To view the accompanying video for this lesson, please visit mhprofessional.com/nixonphp/.

Continuing our exploration of operators, this lesson covers how to use comparison operators, creating statements using logic operators, and the precedence and associativity of operators. Don’t worry, though, these are just fancy terms for some very simple operations.

   For example, as you will soon learn, comparison is where you test whether a value is or isn’t equal to another (or is greater than or less than), ...

Get PHP: 20 Lessons to Successful Web Development 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.