<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Changelog</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mysql.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="mysql.constants.html">Predefined Constants</a></div> <div class="up"><a href="book.mysql.html">Mysql</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="changelog.mysql" class="appendix"> <h1>Changelog</h1> <p class="para">The following changes have been made to classes/functions/methods of this extension.</p> <div class="simplesect"> <h3 class="title">General Changelog for the ext/mysql extension</h3> <p class="para"> This changelog references the ext/mysql extension. </p> </div> <div class="simplesect"> <h3 class="title">Changes to existing functions</h3> <p class="para"> The following list is a compilation of changelog entries from the ext/mysql functions. </p> <table class='doctable table' rules='groups'><thead><tr><th>Version</th><th>Function</th><th>Description</th></tr></thead><tbody class="gen-changelog v"><tr><td>5.5.0</td><td><a href='function.mysql-connect.html'>mysql_connect</a></td><td>This function will generate an E_DEPRECATED error.</td></tr><tr><td> </td><td><a href='function.mysql-db-name.html'>mysql_db_name</a></td><td>The mysql_list_dbs function is deprecated, and emits an E_DEPRECATED level error.</td></tr><tr><td> </td><td><a href='function.mysql-pconnect.html'>mysql_pconnect</a></td><td>This function will generate an E_DEPRECATED error.</td></tr><tr><td> </td><td><a href='function.mysql-tablename.html'>mysql_tablename</a></td><td>The mysql_tablename function is deprecated, and emits an E_DEPRECATED level error.</td></tr></tbody><tbody class="gen-changelog v5-5-0"><tr><td>5.3.0</td><td><a href='function.mysql-db-query.html'>mysql_db_query</a></td><td>This function now throws an E_DEPRECATED notice.</td></tr><tr><td> </td><td><a href='function.mysql-escape-string.html'>mysql_escape_string</a></td><td>This function now throws an E_DEPRECATED notice.</td></tr></tbody><tbody class="gen-changelog v5-3-0"><tr><td>5.0.0</td><td><a href='function.mysql-fetch-object.html'>mysql_fetch_object</a></td><td>Added the ability to return as a different object.</td></tr></tbody><tbody class="gen-changelog v5-0-0"><tr><td>4.3.7</td><td><a href='function.mysql-list-tables.html'>mysql_list_tables</a></td><td>This function became deprecated.</td></tr></tbody><tbody class="gen-changelog v4-3-7"><tr><td>4.3.0</td><td><a href='function.mysql-connect.html'>mysql_connect</a></td><td>Added the client_flags parameter.</td></tr><tr><td> </td><td><a href='function.mysql-escape-string.html'>mysql_escape_string</a></td><td>This function became deprecated, do not use this function. Instead, use mysql_real_escape_string.</td></tr><tr><td> </td><td><a href='function.mysql-pconnect.html'>mysql_pconnect</a></td><td>Added the client_flags parameter.</td></tr></tbody><tbody class="gen-changelog v4-3-0"><tr><td>4.2.0</td><td><a href='function.mysql-connect.html'>mysql_connect</a></td><td>Added the new_link parameter.</td></tr></tbody><tbody class="gen-changelog v4-2-0"><tr><td>4.0.6</td><td><a href='function.mysql-db-query.html'>mysql_db_query</a></td><td>This function is deprecated, do not use this function. Use mysql_select_db and mysql_query instead.</td></tr></tbody></table> </div> <div class="simplesect"> <h3 class="title">Global ext/mysql changes</h3> <p class="para"> The following is a list of changes to the entire ext/mysql extension. </p> <p class="para"> <table class="doctable informaltable"> <thead> <tr> <th>Version</th> <th>Description</th> </tr> </thead> <tbody class="tbody"> <tr> <td>5.5.0</td> <td> <p class="para"> This extension has been deprecated. Connecting to a MySQL database via <span class="function"><a href="function.mysql-connect.html" class="function">mysql_connect()</a></span>, <span class="function"><a href="function.mysql-pconnect.html" class="function">mysql_pconnect()</a></span> or an implicit connection via any other <em>mysql_*</em> function will generate an <strong><code>E_DEPRECATED</code></strong> error. </p> </td> </tr> <tr> <td>5.5.0</td> <td> <p class="para"> All of the old deprecated functions and aliases now emit <strong><code>E_DEPRECATED</code></strong> errors. These functions are: </p> <p class="para"> mysql(), mysql_fieldname(), mysql_fieldtable(), mysql_fieldlen(), mysql_fieldtype(), mysql_fieldflags(), mysql_selectdb(), mysql_createdb(), mysql_dropdb(), mysql_freeresult(), mysql_numfields(), mysql_numrows(), mysql_listdbs(), mysql_listtables(), mysql_listfields(), mysql_db_name(), mysql_dbname(), mysql_tablename(), and mysql_table_name(). </p> </td> </tr> </tbody> </table> </p> </div> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mysql.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="mysql.constants.html">Predefined Constants</a></div> <div class="up"><a href="book.mysql.html">Mysql</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>