Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14896 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65687 invoked by uid 1010); 13 Feb 2005 07:21:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 65665 invoked from network); 13 Feb 2005 07:21:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2005 07:21:40 -0000 X-Host-Fingerprint: 220.245.208.145 220-245-208-145-act.tpgi.com.au Received: from ([220.245.208.145:57016] helo=picard.newmillennium.net.au) by pb1.pair.com (ecelerity 1.2.11 (r4403)) with SMTP id CD/10-04303-CFFFE024 for ; Sun, 13 Feb 2005 02:21:40 -0500 Received: from riker (riker.nmn.cafn [10.0.1.2]) by picard.newmillennium.net.au (8.13.1/8.13.1) with ESMTP id j1D7KrEe043971; Sun, 13 Feb 2005 18:20:53 +1100 (EST) (envelope-from alastair@newmillennium.net.au) Sender: "Alastair D'Silva" To: "'Jani Taskinen'" Cc: Date: Sun, 13 Feb 2005 18:20:20 +1100 Organization: New Millennium Networking Message-ID: <002301c5119c$7bfc9b90$0201000a@riker> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 In-reply-to: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: [PHP-DEV] Symbol clash between Recode and MySQL extensions From: php@newmillennium.net.au References: > -----Original Message----- > From: Jani Taskinen [mailto:sniper@iki.fi]=20 > Sent: Sunday, 13 February 2005 5:25 PM > To: php@newmillennium.net.au > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] Symbol clash between Recode and MySQL=20 > extensions >=20 >=20 >=20 > Also documented in the manual: >=20 > http://www.php.net/recode Got it, thanks. > Just blame recode and mysql. They both should namespace=20 > protect their > functions. :) Agreed. However, if a workaround is available, it would benefit everyone = to implement it. I was thinking that rather than linking against the recode library (and implicitly importing all symbols within it), we could instead dlopen() = it, and use dlsym() to import only symbols we want. Looking at the recode extension, theres only a handful of entrypoints that need to be = imported, so it should be a relatively easy task for someone familiar with the PHP = API. --=20 Alastair D'Silva mob: 0413 485 733 Networking Consultant fax: 0413 181 661 New Millennium Networking web: http://www.newmillennium.net.au