Test Your Knowledge
What actual underlying values are represented by
TRUE
andFALSE
?What are the simplest two forms of expressions?
What is the difference between unary, binary, and ternary operators?
What is the best way to force your own operator precedence?
What is meant by operator associativity?
When would you use the
===
(identity) operator?Name the three conditional statement types.
What command can you use to skip the current iteration of a loop and move on to the next one?
Why is a
for
loop more powerful than awhile
loop?How do
if
andwhile
statements interpret conditional expressions of different data types?
See Chapter 4 Answers in Appendix A for the answers to these questions.
Get Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition 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.