technical question

php.internals

Oliver Block

19 years ago
Hello, As far as I understood, php loads requires modules at startup. Which impact does that have on which function a developer can call from within an extension. I mean, is it possible to call functions from other extensions besides ext/standard? And how? Regards, Oliver

Stanislav Malyshev

19 years ago
> As far as I understood, php loads requires modules at startup. Which impact
If they are loaded through extension= directive and not compiled in.
> does that have on which function a developer can call from within an > extension. I mean, is it possible to call functions from other extensions > besides ext/standard? And how?
You want to call PHP function defined in other module or C function? The former shouldn't be any problem, the latter might be harder since if you call it directly your linker may not like it. You may need to use dlsym or analogous functions - which unfortunately is highly non-portable...
-- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/