PHP Functions allow you to combine several statements of code into a 'function'. These functions can then be called by their given name, and all of the code contained will run and return the results. This will drastically help you clean up code and use less repetitive code.
What you'll learn
- Function Basics
- String Functions
- Array Functions
- Closures
- Named Functions