Help calling PHP_FUNCTIONS from C (inside PHP extension function).

From: Date: Mon, 26 May 2008 09:52:03 +0000
Subject: Help calling PHP_FUNCTIONS from C (inside PHP extension function).
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-37884@lists.php.net to get a copy of this message
---------- Forwarded message ---------- From: ksheera sagar <ksheera@gmail.com> Date: May 26, 2008 3:19 PM Subject: Help calling PHP_FUNCTIONS from C (inside PHP extension function). To: internals@php.net 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 (#37884) next »