MySQLi return NULL when there is no further entry in the table,
MySQL returns false in the same case.
I think that should be made consistent for all dbms.
4. Be careful when porting from ext/mysql to ext/mysqli. The following
functions return NULL when no more data is available in the result set
(ext/mysql's functions return FALSE).