Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32188 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28596 invoked by uid 1010); 10 Sep 2007 13:31:48 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 28581 invoked from network); 10 Sep 2007 13:31:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Sep 2007 13:31:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=buildsmart@daleenterprise.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=buildsmart@daleenterprise.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain daleenterprise.com from 67.78.11.229 cause and error) X-PHP-List-Original-Sender: buildsmart@daleenterprise.com X-Host-Fingerprint: 67.78.11.229 daleenterprise.com Received: from [67.78.11.229] ([67.78.11.229:51698] helo=daleenterprise.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 95/54-01533-34745E64 for ; Mon, 10 Sep 2007 09:31:48 -0400 Received: from localhost (localhost [127.0.0.1]) by daleenterprise.com (Postfix) with ESMTP id EADC4243482; Mon, 10 Sep 2007 09:31:44 -0400 (EDT) Received: from daleenterprise.com ([127.0.0.1]) by localhost (daleenterprise.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00501-14; Mon, 10 Sep 2007 09:31:43 -0400 (EDT) Received: from [10.1.100.11] (relay.mustangrestomods.com [67.78.11.226]) by daleenterprise.com (Postfix) with ESMTP id 4B648243478; Mon, 10 Sep 2007 09:31:33 -0400 (EDT) In-Reply-To: <199717507.20070910145329@marcus-boerger.de> References: <199717507.20070910145329@marcus-boerger.de> Mime-Version: 1.0 (Apple Message framework v752.2) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <64047417-3838-4E20-B767-110266B9F4A0@daleenterprise.com> Cc: PHP Developers Mailing List Content-Transfer-Encoding: 7bit Date: Mon, 10 Sep 2007 09:31:32 -0400 To: Marcus Boerger X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.2) MTA-Interface: amavisd-new-2.3.3 (2005-08-22) + Maia Mailguard 1.1.0 at daleenterprise.com X-Spam-Scanned: using SpamAssassin 3.1.7 (2006-10-05) at daleenterprise.com X-Virus-Scanned: using ClamAV 0.88.6 (2006-11-05) at daleenterprise.com Subject: Re: [PHP-DEV] PHP_FALIAS() From: buildsmart@daleenterprise.com (BuildSmart) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sep 10, 2007, at 08:53:29, Marcus Boerger wrote: > Hello BuildSmart, > > If you have the correct includes in place, sure. > > marcus Thanks for the response, OK I think I can manage that with ease, what I'm contemplating to do is create a mysql_alias extension that aliases the mysql extension functions to the mysqli equivalents since a lot of scripts and packages are already dependent on the mysql extension but it's been deprecated (so I've been informed) and I was thinking of a simple method to allow the dropping of the mysql extension in favor of the mysqli extension without having to rewrite existing scripts and packages. Since you claims it's possible to alias an external extensions functions I guess it's just a matter of getting the includes worked out and what headers need to be loaded in the faking module. This will probably require a little finessing but shouldn't be too difficult or complicated. > > Saturday, September 8, 2007, 11:36:15 AM, you wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 > >> I've seen several examples of PHP_FALIAS within a single module, I'm >> wondering if it's possible to have one module with aliases >> referencing functions in another module? > >> - -- Dale >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.2.2 (Darwin) > >> iD8DBQFG4m0P0hzWbkf0eKgRAmlXAKChGWEIl+Hz9uOFVFv76qddNH0T5wCeIllB >> VsN5vneLwIMBXwBTSEzSbH0= >> =fw4n >> -----END PGP SIGNATURE----- > > > > > Best regards, > Marcus - -- Dale -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) iD8DBQFG5Uc00hzWbkf0eKgRAomHAKCegTASJWoqwHi+szmDwiXU82wVdQCgqzBT uf2junm3kDfwnOZzDTnCKOI= =+07f -----END PGP SIGNATURE-----