No there really isn't.  I wrote an extension that does it for me, but
I am waiting to see what the second zend engine will have for this
rather that using my hack.  Maybe check the Zend Engine 2 mailing list
to see what the future may hold.


Mika Tuupola wrote:
>         Is there a way to create/add methods runtime to a class via
>         constructor or static factory method? I know it is possible
>         to create functions runtime using eval() or create_function()
>         but I havent been able to make them appear as methods for
>         a class.
> --
> Mika Tuupola            

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to