In this lesson we talk about some built-in functions that come with PHP – including mathematical functions such as cos(), log(), rand() to generate random numbers, and string functions including strtoupper(), substr() to convert string to lower/upper case and to display parts of a string.