Re: AW: AW: [PHP-DEV] Method overloading by method signature

2007-10-16 Thread Christian Schneider
Hans Moog wrote: > And if you have more than one parameter you will name it > methodFromStringIntegerSampleClassBoolean ?!? No, I would rethink my interface. > And how would you do the same for constructors ?!? Create a > initWithStringIntegerSampleClassBoolean method which has to be called > aft

Re: AW: AW: [PHP-DEV] Method overloading by method signature

2007-10-14 Thread Christian Schneider
Hans Moog wrote: You are missing something. Using this new feature would be voluntarily (it is optional like type hints are already). Thanks for bringing that up right after I told you that I won't accept this argument ;-) If you want to code the old way and you don't want to force coders t

Re: AW: AW: [PHP-DEV] Method overloading by method signature

2007-10-14 Thread Rasmus Lerdorf
Hans Moog wrote: > Kcachegrind doesn't show the function signature in the callgraph because the > parameter signature is not part of the function signature. If the parameter > siganture would be moved into the function signature, kcachegrind would adept > and show it. > > Btw: You don't have to