RE: [PHP-DEV] Call ZEND_FUNCTION in Zend_API
| From: | Marc Boeren | Date: | Tue, 10 Oct 2000 11:31:16 +0000 |
| Subject: | RE: [PHP-DEV] Call ZEND_FUNCTION in Zend_API | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34574@lists.php.net to get a copy of this message | ||
Hi
>I createt a extension for PHP which contains a few functions, implemented
as
>ZEND_FUNCTION(test) {
> zend_printf("Hello World");
>}
I think if you look up the definition of ZEND_FUNCTION in the header-file
(search for #define ZEND_FUNCTION, I don't have the source available right
now) you can see what function definition ZEND_FUNCTION(test) expands to.
That should tell how to call it from other functions...
Cheerio, Marc.