+++ title = "Functions" description = "Reusable code" tags = ["php", "function"] slug = "functions" previous = "arrays.html" next = "classes.html" +++ A function allows you to store code under a name and then execute that code later. A function always starts with the function keyword followed by the name with parentheses and then opening and closing curly braces around the code. ```php