Logo

Programming-Idioms

History of Idiom 3 > diff from v5 to v6

Edit summary for version 6 by :

Version 5

2015-08-20, 14:42:19

Version 6

2015-08-20, 16:05:37

Idiom #3 Create a procedure

Like a function which doesn't return any value, thus has only side effects (e.g. Print to standard output)

Idiom #3 Create a procedure

Like a function which doesn't return any value, thus has only side effects (e.g. Print to standard output)

Code
function finish($name) 
{
    echo "My job here is done. Goodbye $name";
}