-----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-----
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php