function myFunction($variable) {
// function code goes in here
}
In the above function entitled, "myFunction", where does $variable get declared? When someone says that it is declared, I assume that it has a $variable = someValue somewhere in the code. However, most of the time I never see this. So where is it declared, or how? I've looked in two of the books I have, but neither have an explanation for my question, they just explain the rest of the function (maybe that means people should automatically know? π). I've also looked in the PHP manual. Thanks for any clarification you can give. π