All Vskills Certification exams are ONLINE now. You may take from any where any time | Please use #TOGETHER for 20% discount

Certified PHP Developer Learning Resources User-defined functions

User-defined functions
 


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

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