Rejestr zmian

W tym rozszerzeniu dokonano następujących zmian w klasach, funkcjach i metodach:

General Changelog for the ext/mysql extension

This changelog references the ext/mysql extension.

Global ext/mysql changes

The following is a list of changes to the entire ext/mysql extension.

Wersja Opis
7.0.0

This extension was removed from PHP. For details, see Choosing an API.

5.5.0

This extension has been deprecated. Connecting to a MySQL database via mysql_connect(), mysql_pconnect() or an implicit connection via any other mysql_* function will generate an E_DEPRECATED error.

5.5.0

All of the old deprecated functions and aliases now emit E_DEPRECATED errors. These functions are:

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().

Changes to existing functions

The following list is a compilation of changelog entries from the ext/mysql functions.

VersionFunctionDescription
5.5.0mysql_connectTa funkcja wygeneruje błąd E_DEPRECATED.
 mysql_db_nameFunkcja mysql_list_dbs jest przestarzała, i emituje błąd E_DEPRECATED.
5.3.0mysql_db_queryTa funkcja zwraca błąd E_DEPRECATED.
 mysql_escape_stringUżycie funkcji wywołuje błąd E_DEPRECATED.
4.3.0mysql_escape_stringTa funkcja została uznana za przestarzałą. W zamian użyj mysql_real_escape_string.
add a note add a note

User Contributed Notes 1 note

up
-1
Gianluca
8 years ago
In these wrappers all mysql and ereg functions are rewritten using mysqli and pcre
https://sourceforge.net/projects/mysqlwithmysqli/
https://sourceforge.net/projects/ereg-using-pcre/
To Top