4 ms·
I prefer Javascript for example: JQuery's calling conventions would not be possible if function args were mandatory.
by snorkel 15y ago
I prefer Javascript for example: JQuery's calling conventions would not be possible if function args were mandatory.
- nawariata 15y agoYou can always use func_get_args() if you truly want it that way.
- ryan-allen 15y agoOr you could just use a real programming language that has some kind of design.
- wvenable 15y agoI'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.