The following changes have been made to functions of bundled extensions.
Version | Function | Description |
---|---|---|
5.6.0 | pg_convert | No longer experimental. Boolean/NULL data types are supported. Unknown/unsupported data types are escaped without validation. pg_convert could be used with any data types. |
pg_delete | No longer experimental. Added PGSQL_DML_ESCAPE constant, TRUE/FALSE and NULL data type support. | |
pg_insert | No longer experimental. Added PGSQL_DML_ESCAPE constant, TRUE/FALSE and NULL data type support. | |
pg_lo_seek | Added PostgreSQL 9.3's 64bit large object support. Both client and server must support PostgreSQL 9.3 and PHP must be 64bit build to use 64bit large object. | |
pg_lo_tell | Added PostgreSQL 9.3's 64bit large object support. Both client and server must support PostgreSQL 9.3 and PHP must be 64bit build to use 64bit large object. | |
pg_lo_truncate | Added truncate function. It supports PostgreSQL 9.3's 64bit large object. Both client and server must support PostgreSQL 9.3 and PHP must be 64bit build to use 64bit large object. | |
pg_meta_data | No longer experimental. Added "is enum" as default attribute. extended flag is added. | |
pg_select | No longer experimental. Added PGSQL_DML_ESCAPE constant, TRUE/FALSE and NULL data type support. | |
pg_update | No longer experimental. Added PGSQL_DML_ESCAPE constant, TRUE/FALSE and NULL data type support. | |
5.6 | Countable::count | The optional mode parameter was added. |
5.5.3/5.4.19 | pg_delete | Direct SQL injection to table_name and Indirect SQL injection to identifiers are fixed. |
pg_insert | Direct SQL injection to table_name and Indirect SQL injection to identifiers are fixed. | |
pg_select | Direct SQL injection to table_name and Indirect SQL injection to identifiers are fixed. | |
pg_update | Direct SQL injection to table_name and Indirect SQL injection to identifiers are fixed. | |
5.5.1 | pg_unescape_bytea | A warning is thrown if the input string is invalid. |
5.5.0 | iterator_to_array | iterator_to_array gained support for key types other than integer and string when the use_keys parameter is enabled. |
mysqli::commit | Added flags and name parameters. | |
mysqli::options | The MYSQLI_SERVER_PUBLIC_KEY option was added. | |
mysqli::rollback | Added flags and name parameters. | |
SoapClient::SoapClient | New ssl_method option. | |
5.4.0 | filter_input_array | Added add_empty parameter. |
filter_var_array | Added add_empty parameter. | |
snmp_set_valueretrieval | Constants SNMP_VALUE_PLAIN or SNMP_VALUE_LIBRARY may be combined with SNMP_VALUE_OBJECT resulting different way of representing contents of value array element in return value of GET-function. If no SNMP_VALUE_{PLAIN,LIBRARY} constant is accompanying SNMP_VALUE_OBJECT, SNMP_VALUE_LIBRARY is used. Prior to 5.4.0 SNMP_VALUE_OBJECT effecively meant SNMP_VALUE_OBJECT|SNMP_VALUE_PLAIN. | |
Phar::setStub | Added len parameter. | |
PharData::setStub | Added len parameter. | |
SoapClient::SoapClient | New keep_alive option. | |
5.3.4 | mt_rand | Issues an E_WARNING and returns FALSE if max < min. |
mysqli_driver::$report_mode | Changing the reporting mode is now be per-request, rather than per-process. | |
5.3.3 | ldap_sasl_bind | Support on Windows was added. |
5.3.2 (PECL OCI8 1.4) | oci_set_prefetch | Before this release, rows must be >= 1. |
5.3.2 | gmp_init | The base was extended from 2 to 36, to 2 to 62 and -2 to -36. |
gmp_strval | The base was extended from 2 to 36, to 2 to 62 and -2 to -36. | |
5.3.1 | ibase_query | On success the function now returns TRUE if there were no affected rows, where it previously returned 0 (a zero followed by an empty space). |
5.3.0 (PECL OCI8 1.3.4) | oci_set_prefetch | Before this release, prefetching was limited to the lesser of rows rows and 1024 * rows bytes. The byte size restriction has now been removed. |
5.3.0 | DirectoryIterator::__construct | Throws UnexpectedValueException if the path cannot be opened. |
acosh | This function is now available on all platforms | |
asinh | This function is now available on all platforms | |
atanh | This function is now available on all platforms | |
expm1 | This function is now available on all platforms | |
log1p | This function is now available on all platforms | |
pg_lo_create | The optional object_id was added. | |
pg_lo_import | The optional object_id was added. | |
round | The mode parameter was introduced. | |
shm_attach | This function now returns a resource instead of an integer. | |
spl_autoload_register | Namespaces support was introduced. | |
spl_autoload_register | The prepend parameter was added. | |
sybase_connect | The new parameter was added. | |
mysqli::__construct | Added the ability of persistent connections. | |
mysqli::query | Added the ability of async queries. | |
SplObjectStorage::attach | Added the data parameter. | |
5.2.15 | mysqli_driver::$report_mode | Changing the reporting mode is now be per-request, rather than per-process. |
5.2.7 | round | The inner workings of round was changed to conform to the C99 standard. |
5.2.4 | ldap_first_attribute | The ber_identifier was removed. This is now handled automatically by PHP. |
ldap_next_attribute | The ber_identifier was removed. This is now handled automatically by PHP. | |
5.2.1 | iterator_to_array | The use_keys parameter was added. |
mt_srand | The Mersenne Twister implementation in PHP now uses a new seeding algorithm by Richard Wagner. Identical seeds no longer produce the same sequence of values they did in previous versions. This behavior is not expected to change again, but it is considered unsafe to rely upon it nonetheless. | |
5.2.0 | pg_escape_bytea | connection added |
pg_escape_string | connection added | |
snmp_set_oid_numeric_print | Since PHP 5.2.0. | |
SoapServer::SoapServer | Added the typemap option. | |
5.1.3 | DirectoryIterator::__construct | Throws RuntimeException if the path is an empty string. |
SoapClient::__doRequest | The one_way parameter was added. | |
5.1.0 | DirectoryIterator::__construct | Throws RuntimeException on error. Previously, threw Exception. |
class_implements | Added the option to pass the class parameter as a string. Added the autoload parameter. | |
class_parents | Added the option to pass the class parameter as a string. Added the autoload parameter. | |
5.0.0 | apache_get_modules | Apache 1 ya da PHP Apache 2 filtre API'si kullanıldığında kullanılabilinir. Bundan önce sadece Apache 2 handler API'si kullanılırken kullanılabiliyordu. |
apache_get_version | Apache 2 filter API ile birlikte kullanılabilir hale geldi. | |
opendir | dizin değiştirgesinde ftp:// sarmalayıcısı da kabul edilmeye başlandı. | |
pg_fetch_object | class_name and params were added. The old form with result_type still exists for backwards compatibility. | |
mysqli_result::fetch_object | Added the ability to return as a different object. |