Looking for php Answers? Try Ask4KnowledgeBase
Looking for php Keywords? Try Ask4Keywords

PHP Basic Function Usage


Example

A basic function is defined and executed like this:

function hello($name)
{
    print "Hello $name";
}

hello("Alice");