Menu
Hi, would like to ask some elementary question.
What is the purpose of having ‘$param = value’ in the following snippet, over simply ‘$param’? Does it mean that if $param is missing when the function is called, it is given the default value of value?
[code=php]
function myfun($param = value) {
…
}
TIA