Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2000101

Re: [PHP-DEV] Call ZEND_FUNCTION in Zend_API From: Andre Christ (a.christ <email protected>)
Date: 10/10/00

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>