Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11467 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71453 invoked by uid 1010); 22 Jul 2004 14:08:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 71425 invoked from network); 22 Jul 2004 14:08:26 -0000 Received: from unknown (HELO mproxy.gmail.com) (216.239.56.252) by pb1.pair.com with SMTP; 22 Jul 2004 14:08:26 -0000 Received: by mproxy.gmail.com with SMTP id w29so1229480cwb for ; Thu, 22 Jul 2004 07:08:21 -0700 (PDT) Received: by 10.11.118.54 with SMTP id q54mr37931cwc; Thu, 22 Jul 2004 07:08:21 -0700 (PDT) Message-ID: <4e89b426040722070854e8db0e@mail.gmail.com> Date: Thu, 22 Jul 2004 15:08:21 +0100 To: John Lim Cc: internals@lists.php.net In-Reply-To: <20040722133959.57622.qmail@pb1.pair.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20040722111742.253.qmail@pb1.pair.com> <72756627-DBDC-11D8-86DF-000D93359332@omniti.com> <20040722133959.57622.qmail@pb1.pair.com> Subject: Re: [PHP-DEV] Calling PHP functions from an extension From: kingwez@gmail.com (Wez Furlong) 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. 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. --Wez. On Thu, 22 Jul 2004 21:39:58 +0800, John Lim wrote: > Hi George, > > 2 reasons. > > High learning curve to learn all client API's. Secondly because of linking > issues with the client. E.g. oracle might not be installed on the server. > > John