Summary

This hour covered some of the basic features of the PHP language. You learned about variables and how to assign to them using the assignment operator. You were introduced to operators and learned how to combine some of the most common of these into expressions. Finally, you learned how to define and access constants.

Now that you have mastered some of the fundamentals of PHP, the next hour will really put you in the driver’s seat. You will learn how to make scripts that can make decisions and repeat tasks, with help of course from variables, expressions, and operators.

Get Sams Teach Yourself PHP in 24 Hours, Third 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.