I'm curious as what PHP couldn't do? You have default argument values and you can pass more arguments to any function. Seems that covers all the cases.
You can always use func_get_args() if you truly want it that way.
Or you could just use a real programming language that has some kind of design.