Mysql
PHP Manual

Changelog

The following changes have been made to classes/functions/methods of this extension.

VersionFunctionDescription
5.0.0mysql_fetch_objectAdded the ability to return as a different object.
4.3.0mysql_connect添加 client_flags 参数。
4.2.0mysql_connect添加 new_link 参数。
3.0.10mysql_connect对 server 添加 ":/path/to/socket" 支持。
3.0.0mysql_connect对 server 添加 ":port" 支持。

Mysql
PHP Manual