Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11468 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24731 invoked by uid 1010); 22 Jul 2004 14:23:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 24707 invoked by uid 1007); 22 Jul 2004 14:23:50 -0000 Message-ID: <20040722142350.24706.qmail@pb1.pair.com> To: internals@lists.php.net Date: Thu, 22 Jul 2004 15:27:31 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en, en-us MIME-Version: 1.0 References: <20040722111742.253.qmail@pb1.pair.com> <72756627-DBDC-11D8-86DF-000D93359332@omniti.com> <20040722133959.57622.qmail@pb1.pair.com> <4e89b426040722070854e8db0e@mail.gmail.com> In-Reply-To: <4e89b426040722070854e8db0e@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 81.138.11.136 Subject: Re: [PHP-DEV] Calling PHP functions from an extension From: lester@lsces.co.uk (Lester Caine) Wez Furlong wrote: > Doesn't ext/dbx already do what you're doing? > To answer your original question, no, there isn't really a way to call > it directly without duplicating a lot of ugly code. John wrote ADOdb so he is looking to speed it up. > IIRC, PHP 5 adds a cache to reduce the lookup overhead for > call_user_function; you probably won't be able to get it to go much > faster than it does already. I'm not seeing any bottleneck there John. My bottleneck seems to come with the result set, rather than the call, but none of it is causing a problem yet. (Running on PHP5 of cause) -- Lester Caine ----------------------------- L.S.Caine Electronic Services