diff options
Diffstat (limited to 'Examples/FunctionReturnValue/functionreturnvalue.php')
-rw-r--r-- | Examples/FunctionReturnValue/functionreturnvalue.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Examples/FunctionReturnValue/functionreturnvalue.php b/Examples/FunctionReturnValue/functionreturnvalue.php new file mode 100644 index 0000000..722a4fe --- /dev/null +++ b/Examples/FunctionReturnValue/functionreturnvalue.php @@ -0,0 +1,13 @@ +<?php +/* + * functionreturnvalue.php + * @Author Jasper van Eck + * + * An example file to show the working of a function call with a return value. + */ + +/* + * Run a function which returns a value. + */ +echo "Function which returns a value; my_return_value_function()\n" +echo my_return_value_function() . "\n"; |