Help Calling PHP_FUNCTION's from C ( inside PHP extension's function)

From: Date: Mon, 26 May 2008 09:54:23 +0000
Subject: Help Calling PHP_FUNCTION's from C ( inside PHP extension's function)
Groups: php.internals 
Request: Send a blank email to internals+get-37885@lists.php.net to get a copy of this message
Hi, Consider two *PHP* extension A and B. Extension A exports a PHP_FUNCTION to userspace.. Let s call it Afunc(). Extension B exports a PHP_FUNCTION to userspace.. Let s call it Bfunc(). Now, Is there any way to use Afunc1() inside the body of Bfunc()? I don't want to call back to userspace. I want to call the PHP_FUNCTION of one extension in some other extension's C function. PHP_FUNCTION internally expands by a macro to C prototype. Am not getting a proper idea in calling them by passing arguments and getting values returned. I have been trying hard in this regard. Please help me in this.

« previous php.internals (#37885) next »