Tuesday, 13 August 2013

Variable number of parametres for function in php

Variable number of parametres for function in php

I have question about functions. For example: to function array_merge, you
can input 2 arrays, or 100 or 1000. So, my question is, is it possible to
have it same way for user-defined function? I want function, where I write
URL to parameters and I get menu with all there URLs.

No comments:

Post a Comment