Re: Calling PHP functions from an extension

From: Date: Sat, 24 Jul 2004 09:26:34 +0000
Subject: Re: Calling PHP functions from an extension
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-11533@lists.php.net to get a copy of this message
Andi, Just a few quick questions. What is the BG macro for? Eg. if (zend_call_function(&fci, &BG(fci_cache) TSRMLS_CC) == SUCCESS) Secondly, I think i need to initialize the fci_cache structure first with fci_cache = empty_fcall_info_cache; Can I do so in my PHP_MINIT_FUNCTION? Thx. "Andi Gutmans" <andi@zend.com> wrote in message news:5.1.0.14.2.20040723085747.034ff738@127.0.0.1... > php5/Zend/zend_execute_API.c. > It's quite simple. If you can't figure it out yourself, let me know. > > At 08:08 AM 7/23/2004 +0100, Lester Caine wrote: > >Andi Gutmans wrote: > > > >>Check out zend_call_function(). It allows you to cache the function > >>lookup in the fci_cache parameter. > > > >Where is the best place to find zend_call_function details, nothing in the > >manual and google gives some spurious results. > > > >-- > >Lester Caine > >----------------------------- > >L.S.Caine Electronic Services > > > >-- > >PHP Internals - PHP Runtime Development Mailing List > >To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.internals (#11533) next »