Posted by Michael Fesser on 03/01/07 10:23
..oO(Kesavan)
>Your trick help's me..,
>Isn't PHP fully OOP language/
Method overloading is not necessarily a feature required to be an OOP
language. Usually you will find that feature in statically-typed
languages, where the compiler can decide which function to call by
looking at the types of the passed arguments. In dynamically-typed
languages it's much more difficult, if not impossible. I don't know if
there's any scripting language at all that supports that.
Micha
[Back to original message]
|