The real power of PHP comes from its functions.
PHP has more than 1000 built-in functions, and in addition you can create your own custom functions.
function functionName() {
code to be executed;
}A function name must start with a letter or an underscore. Function names are NOT case-sensitive.
Edit the code below and click Run to see the result live.