For even more example, look through the source code for extensions that are shipped with PHP - they illustrate every conceivable situation.
With all the abovementioned ways of receiving function parameters you should have a good handle on this process. For even more example, look through the source code for extensions that are shipped with PHP - they illustrate every conceivable situation.