Using Nasal functions: Difference between revisions

Jump to navigation Jump to search
m
mNo edit summary
Line 11: Line 11:
== Simple examples ==
== Simple examples ==


In its most basic form, a function does not even take any arguments. Let's imagine a function named '''hello''', functions are typically called by appending parentheses to the function name:
In its most basic form, a function does not even take any arguments. Let's imagine a function named '''hello''', functions are typically called by appending parentheses to the function name, empty parenthese for function calls without any arguments.


<syntaxhighlight lang="php">
<syntaxhighlight lang="php">

Navigation menu