Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32211 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86208 invoked by uid 1010); 10 Sep 2007 21:19:48 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 86192 invoked from network); 10 Sep 2007 21:19:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Sep 2007 21:19:48 -0000 Authentication-Results: pb1.pair.com header.from=buildsmart@daleenterprise.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=buildsmart@daleenterprise.com; spf=permerror; 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:54210] helo=daleenterprise.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DE/04-59734-3F4B5E64 for ; Mon, 10 Sep 2007 17:19:47 -0400 Received: from localhost (localhost [127.0.0.1]) by daleenterprise.com (Postfix) with ESMTP id BE3E7244519; Mon, 10 Sep 2007 17:19: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 10569-16; Mon, 10 Sep 2007 17:19:39 -0400 (EDT) Received: from [10.1.100.11] (relay.mustangrestomods.com [67.78.11.226]) by daleenterprise.com (Postfix) with ESMTP id C4A5324450F; Mon, 10 Sep 2007 17:19:29 -0400 (EDT) In-Reply-To: References: <199717507.20070910145329@marcus-boerger.de> <64047417-3838-4E20-B767-110266B9F4A0@daleenterprise.com> <46E5882B.7010909@mysql.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: <6E3DE94C-3146-456E-B67C-5B75655FF1C5@daleenterprise.com> Cc: PHP Developers Mailing List Content-Transfer-Encoding: 7bit Date: Mon, 10 Sep 2007 17:19:28 -0400 To: Adam Maccabee Trachtenberg 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 16:15:35, Adam Maccabee Trachtenberg wrote: > On Mon, 10 Sep 2007, BuildSmart wrote: > >> Perhaps the best approach would be to mimic the ext/mysql functions >> and feed them to ext/mysqli function rather than aliasing them >> directly but maybe a performance trade-off might be encountered as a >> result. > > Based on my experiences, if you're keeping to the procedural > interface, aren't doing crazy things with default links, and not > adding in anything new, the API changes are relatively small and > self-contained. > > So, I would suggest people take the minimal amount of time to migrate > through using search and replace and minor syntax updates. It solves > the speed issue and sets you up to take advantage of MySQLi-only > features. > > However, if you feel the need to do this for various reasons, I would > start here: > > http://old.coggeshall.org/show_source.php?filename=mysql2mysqli.php Kewl, the majority of the POC already done, thanks. > > -adam - -- Dale -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) iD8DBQFG5bTg0hzWbkf0eKgRAi+ZAKDAWWa+HrEACbZj079MzRzlOipaawCgk4JH yCCOKVFrkd9zqqkQBIvRDXM= =nWIJ -----END PGP SIGNATURE-----