Example:
I want to have two different constructors, and I don\'t want to use func_get_arg(), because then it\'s invisible what args are possible.
Is it legal
Since the PHP is a weak-typing language and it supports functions with variable number of the arguments (so-called varargs) there is no difference to processor between two functions with the same name even they have different number of declared arguments (all functions are varargs). So, the overloading is illegal by design.