Re: [PHP-DEV] Calling original function from an overloaded function

2008-06-09 Thread Alexey Zakhlestin
Well, speaking in broad terms, I would suggest to store the pointer to original function before overloading it, and calling that, when you need it On 6/10/08, Christoph Dorn <[EMAIL PROTECTED]> wrote: > I have been looking at xdebug and have figured out how to overload a > function. As a test I h

[PHP-DEV] Calling original function from an overloaded function

2008-06-09 Thread Christoph Dorn
I have been looking at xdebug and have figured out how to overload a function. As a test I have overloaded the var_dump function. Now how do I call the original var_dump function from my implementation? Borrowing from OO terminology I have subclassed the var_dump method, now I want to call parent: