Functions¶
Functions in PHP. It defines a set of argument, and process a value, which is returned upon completion.
<?php
function foo($a, $b) {
return $a - $b;
}
?>
Related : Closure, Arrow Functions, Method, Anonymous Function, First Class Callable