php-developer-list | 2000101
Date: 10/10/00
- Next message: rob <email protected>: "[PHP-DEV] PHP 4.0 Bug #7116: Passing values By Reference into a VB DLL"
- Previous message: Dhr. CaPS Cappert: "Re: [PHP-DEV] PHP 4.0 Bug #7113: count and pointers"
- In reply to: Dhr. CaPS Cappert: "Re: [PHP-DEV] Call ZEND_FUNCTION in Zend_API"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] Call ZEND_FUNCTION in Zend_API"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] Call ZEND_FUNCTION in Zend_API"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
But my function test() needs to be exported to php as well as it needs to be
used inside my module. How can I achieve to call this "exported" function from
inside the module.
Andre
On Thu, 12 Oct 2000, Dhr. CaPS Cappert wrote:
> For one I'd use PHP_FUNCTION(test) if you're writing a PHP extension.
> (ext/*)
>
> Now.. if your function test() there doesn't have to be able to be called
> from PHP use a regular C function definition.. like
> void test() {
> zend_printf("Hello World");
> }
>
> PHP_FUNCTION (test2) {
> test2();
> }
>
>
> --CaPS
>
> On Tue, 10 Oct 2000, Andre Christ wrote:
>
> > I createt a extension for PHP which contains a few functions, implemented as
> > ZEND_FUNCTION(test) {
> > zend_printf("Hello World");
> > }
> >
> > >>From another function I'd like to call this function:
> >
> > ZEND_FUNCTION(test2) {
> > // call test()
> > }
> >
> > How do I call functions which are implemeted in my extension ?
> >
> > Thanks
> > Andre
> >
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> > For additional commands, e-mail: php-dev-help <email protected>
> > To contact the list administrators, e-mail: php-list-admin <email protected>
> >
> >
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: rob <email protected>: "[PHP-DEV] PHP 4.0 Bug #7116: Passing values By Reference into a VB DLL"
- Previous message: Dhr. CaPS Cappert: "Re: [PHP-DEV] PHP 4.0 Bug #7113: count and pointers"
- In reply to: Dhr. CaPS Cappert: "Re: [PHP-DEV] Call ZEND_FUNCTION in Zend_API"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] Call ZEND_FUNCTION in Zend_API"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] Call ZEND_FUNCTION in Zend_API"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

