Files
developer-roadmap/roadmaps/php/content/function-declaration@1nODJchgSuWbcvSlxnWeE.md

7 lines
445 B
Markdown

# Function Declaration
A function is declared using the `function` keyword, followed by the function name, parentheses for parameters, and a code block. Function names are case-insensitive in PHP. Functions can be defined anywhere in a file and are available throughout the script scope once declared.
Visit the following resources to learn more:
- [@official@User Defined Functions](https://www.php.net/manual/en/functions.user-defined.php)