The benefits of MySQLi are the same no matter the implementation. I think we need to discuss what exactly MySQLi is. So, one of my favorite sites for php and mysql related info is php.net so I went to see what they have for information on the subject. Let's see what they have to say about MySQL and MySQLi.
What is PHP's MySQL Extension?
This is the original extension designed to allow you to develop PHP applications that interact with a MySQL database. The mysql extension provides a procedural interface and is intended for use only with MySQL versions older than 4.1.3. This extension can be used with versions of MySQL 4.1.3 or newer, but not all of the latest MySQL server features will be available.
Note: If you are using MySQL versions 4.1.3 or later it is strongly recommended that you use the mysqli extension instead.
The mysql extension source code is located in the PHP extension directory ext/mysql.
For further information on the mysql extension, see MySQL.
The MySQLi Extension (MySQL Improved) is a relational database driver used in the PHP programming language to provide an interface with MySQL databases. MySQLi is an improved version of the older PHP MySQL driver, offering various benefits[1]. The developers of the PHP programming language recommend using MySQLi when dealing with MySQL server versions 4.1.3 or later[1].
[edit] Technical details
The MySQLi extension provides various benefits with respect to its predecessor, the most prominent of which are (according to [1]):
* An object-oriented interface
* Support for prepared statements
* Support for multiple statements
* Support for transactions
* Enhanced debugging support
* Embedded server support
As a side note you may be interested to know that as of PHP6 MySQL will be dropped completely in favor of MySQLi .
There are a lot of different pages out there with ideas about which is faster and tons of benchmarks that go both ways. In the end I think that MySQLi wins out and the fact is that when it loses, its by milliseconds over thousands of queries, there isn't really that many cases where it makes sense to keep using MySQL.
Typo