This chapter covered some of the basic features of the PHP language. You learned about variables and how to assign values to them using the assignment operator, as well as received an introduction to the scope of variables and built-in superglobals. You got an introduction 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 chapter 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 from variables, expressions, and operators.