Skip to content
Archive of posts tagged function

Beginners’ Corner: Variable Function Parameters

Sometimes when defining a function in PHP, you find that there may be cases where you do not want to specify all the possible parameters when calling it. This could be because you want it to use a default value, or that in certain cases it does not logically apply. If you find yourself in [...]