Cristian RodrÃguez wrote: >> class MyTestClass { >> public function blah(Foo $f); >> public function blah(Bar $b); >> public function blah($v); >> } >> > > Looks like you are using the wrong language, you need JAVA instead. > Yes, I'll admit it does look like Java (or any C++-like OO language) - but PHP already does some type hinting, and IMO it can be very useful as an additional sanity check.
Dave