Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27641 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90741 invoked by uid 1010); 24 Jan 2007 23:53:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 90704 invoked from network); 24 Jan 2007 23:53:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jan 2007 23:53:27 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:18877] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 25/15-43654-961F7B54 for ; Wed, 24 Jan 2007 18:53:15 -0500 Received: (qmail 18946 invoked from network); 24 Jan 2007 23:51:32 -0000 Received: from office.zend.office (HELO ?127.0.0.1?) (192.168.16.109) by internal.zend.office with SMTP; 24 Jan 2007 23:51:32 -0000 Message-ID: <45B7F160.5030306@zend.com> Date: Wed, 24 Jan 2007 15:53:04 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 To: Oliver Block CC: internals@lists.php.net References: <200701241450.56947.lists@block-online.eu> In-Reply-To: <200701241450.56947.lists@block-online.eu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] technical question From: stas@zend.com (Stanislav Malyshev) > As far as I understood, php loads requires modules at startup. Which impact If they are loaded through extension= directive and not compiled in. > does that have on which function a developer can call from within an > extension. I mean, is it possible to call functions from other extensions > besides ext/standard? And how? You want to call PHP function defined in other module or C function? The former shouldn't be any problem, the latter might be harder since if you call it directly your linker may not like it. You may need to use dlsym or analogous functions - which unfortunately is highly non-portable... -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/