Posted by Dikkie Dik on 09/06/07 08:56
ptdorf@gmail.com wrote:
> Hi everybody,
>
> one of the most powerful things about ruby is its ability to add
> funcionality to a class (or an instance of a class) at runtime. Can
> anyone please tell me if this can be done with php?
>
> thanks a million
>
You could search the manual for "magic methods" and follow the link
"overloading". It may not be what you would do in Ruby, but it should
get you the same possibilities.
Hope this helps,
Dikkie
[Back to original message]
|