> That's TSRMLS_FETCH() (you have extra S).
So now I have:
PHP_RINIT_FUNCTION(vardumpoverload)
{
zend_function *orig_1;
TSRMLS_FETCH();
/* Override require_once with our own function */
zend_hash_find(CG(function_table), "require_once", 13, (void
**)&orig_1);
VARDUMPOVERLOA
I am trying to call CG(function_table) from within my
PHP_RINIT_FUNCTION() and from what I have found I need to call
TSRMSLS_FETCH() first to populate the function table in a thread safe way.
When I run the extension I get:
dyld: lazy symbol binding failed: Symbol not found: _TSRMSLS_FETCH
Refe
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: