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 -adam -- [EMAIL PROTECTED] | http://www.trachtenberg.com author of o'reilly's "upgrading to php 5" and "php cookbook" avoid the holiday rush, buy your copies today! -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php