So now I have: PHP_RINIT_FUNCTION(vardumpoverload) { zend_function *orig_1;TSRMLS_FETCH();
You don't need fetch here, RINIT already gets it as a parameter.
When I don't use TSRMLS_FETCH(); at all I get a "Bus error" when running the extension and calling require_once().
You shouldn't look for require_once in function table, it's not a function, it's syntax construct. If you do look stuff up, it is a good idea to check the return value of the lookup function.
-- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
