Re: mysqli func param order

From: Date: Wed, 03 Mar 2004 16:25:11 +0000
Subject: Re: mysqli func param order
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-8349@lists.php.net to get a copy of this message
On Wed, 3 Mar 2004, Juergen Mueller wrote: > okay you're right! > but it increased the migration process from ext/mysql to ext/mysqli in my > opinion. Having spent some time over the last few weeks investigating ext/mysqli, I can say that the migration process is definitely non-trivial if you're not already using some form of a database abstraction layer. It's not complex, but it's a bunch of work to reorder all the function parameters, especially since some functions have been deprecated and others reworked. Alternatively, John Coggelshall has a compatability layer here: http://www.coggeshall.org/show_source.php?filename=mysql2mysqli.php It looks like it does a pretty good job mapping from ext/mysql to ext/mysqli, but I haven't tried it myself. I've only read the source. -adam -- adam@trachtenberg.com author of o'reilly's php cookbook avoid the holiday rush, buy your copy today!

« previous php.internals (#8349) next »