The Montoya Herald — ChristianMontoya.com
From now on, all my object constructors in PHP are going to use an associative array as the only argument. Since PHP doesn't support Java-style method overloading by signature (proof here), there's no other way to write methods that are flexible about their arguments. Sure, this will result in a lot of if(isset())s in my methods, but these are the concessions I make with PHP.
This sounds very much like a JavaScript approach but in any case I don't see how this will allow you to overload based on the signature and resolve the original problem. Not only that but this will also cause you grief should you decide to generate API docs or use a PHP IDE with autocomplete etc. down the line.