User-defined functions

A function may be defined using syntax such as the following:

Example #1 Pseudo code to demonstrate function uses
<?php
function foo($arg_1, $arg_2, /* …, */ $arg_n)
{
echo “Example function.\n”;
return $retval;
}
?>