What’s Next
In this chapter, you have learned about mathematical expressions and how they are evaluated in PHP. You have also learned about the math operators—including the four basic operations and an additional one for modulus (remainder) division. You’ve even skimmed the surface of applying arithmetic to patterns, which can obviously be quite handy.
From arithmetic, we’ll move into string manipulation. You can use string manipulation to read and interpret information from files, to replace certain words in a sentence or paragraph, or even to verify that an e-mail address a user gave you is valid. the next chapter will not only teach you several good uses of the string manipulation functions of PHP, but it will also help you to develop your own uses for them