PHP 5.6.0RC3 is available

Changelog

The following changes have been made to functions of bundled extensions.

VersionFunctionDescription
5.6.0Countable::countThe optional mode parameter was added.
 pg_convertNo 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_deleteNo longer experimental. Added PGSQL_DML_ESCAPE constant, TRUE/FALSE and NULL data type support.
 pg_insertNo longer experimental. Added PGSQL_DML_ESCAPE constant, TRUE/FALSE and NULL data type support.
 pg_lo_seekAdded 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_tellAdded 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_truncateAdded 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_dataNo longer experimental. Added "is enum" as default attribute. extended flag is added.
 pg_selectNo longer experimental. Added PGSQL_DML_ESCAPE constant, TRUE/FALSE and NULL data type support.
 pg_updateNo longer experimental. Added PGSQL_DML_ESCAPE constant, TRUE/FALSE and NULL data type support.
5.5.3/5.4.19pg_deleteDirect SQL injection to table_name and Indirect SQL injection to identifiers are fixed.
 pg_insertDirect SQL injection to table_name and Indirect SQL injection to identifiers are fixed.
 pg_selectDirect SQL injection to table_name and Indirect SQL injection to identifiers are fixed.
 pg_updateDirect SQL injection to table_name and Indirect SQL injection to identifiers are fixed.
5.5.1pg_unescape_byteaA warning is thrown if the input string is invalid.
5.5.0iterator_to_arrayiterator_to_array gained support for key types other than integer and string when the use_keys parameter is enabled.
 mysqli::commitAdded flags and name parameters.
 mysqli::optionsThe MYSQLI_SERVER_PUBLIC_KEY option was added.
 mysqli::rollbackAdded flags and name parameters.
 SoapClient::SoapClientNew ssl_method option.
5.4.0filter_input_arrayAdded add_empty parameter.
 filter_var_arrayAdded add_empty parameter.
 snmp_set_valueretrievalConstants 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::setStubAdded len parameter.
 PharData::setStubAdded len parameter.
 SoapClient::SoapClientNew keep_alive option.
5.3.4mt_randIssues an E_WARNING and returns FALSE if max < min.
 mysqli_driver::$report_modeChanging the reporting mode is now be per-request, rather than per-process.
5.3.3ldap_sasl_bindSupport on Windows was added.
5.3.2 (PECL OCI8 1.4)oci_set_prefetchBefore this release, rows must be >= 1.
5.3.2gmp_initThe base was extended from 2 to 36, to 2 to 62 and -2 to -36.
 gmp_strvalThe base was extended from 2 to 36, to 2 to 62 and -2 to -36.
5.3.1ibase_queryOn 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_prefetchBefore 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.0DirectoryIterator::__constructThrows UnexpectedValueException if the path cannot be opened.
 acoshThis function is now available on all platforms
 asinhThis function is now available on all platforms
 atanhThis function is now available on all platforms
 expm1This function is now available on all platforms
 log1pThis function is now available on all platforms
 pg_lo_createThe optional object_id was added.
 pg_lo_importThe optional object_id was added.
 roundThe mode parameter was introduced.
 shm_attachThis function now returns a resource instead of an integer.
 spl_autoload_registerNamespaces support was introduced.
 spl_autoload_registerThe prepend parameter was added.
 sybase_connectThe new parameter was added.
 mysqli::__constructAdded the ability of persistent connections.
 mysqli::queryAdded the ability of async queries.
 SplObjectStorage::attachAdded the data parameter.
5.2.15mysqli_driver::$report_modeChanging the reporting mode is now be per-request, rather than per-process.
5.2.7roundThe inner workings of round was changed to conform to the C99 standard.
5.2.4ldap_first_attributeThe ber_identifier was removed. This is now handled automatically by PHP.
 ldap_next_attributeThe ber_identifier was removed. This is now handled automatically by PHP.
5.2.1iterator_to_arrayThe use_keys parameter was added.
 mt_srandThe 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.0pg_escape_byteaconnection added
 pg_escape_stringconnection added
 snmp_set_oid_numeric_printSince PHP 5.2.0.
 SoapServer::SoapServerAdded the typemap option.
5.1.3DirectoryIterator::__constructThrows RuntimeException if the path is an empty string.
 SoapClient::__doRequestThe one_way parameter was added.
5.1.0DirectoryIterator::__constructThrows RuntimeException on error. Previously, threw Exception.
 class_implementsAdded the option to pass the class parameter as a string. Added the autoload parameter.
 class_parentsAdded the option to pass the class parameter as a string. Added the autoload parameter.
5.0.0apache_get_modulesApache 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_versionApache 2 filter API ile birlikte kullanılabilir hale geldi.
 opendirdizin değiştirgesinde ftp:// sarmalayıcısı da kabul edilmeye başlandı.
 pg_fetch_objectclass_name and params were added. The old form with result_type still exists for backwards compatibility.
 mysqli_result::fetch_objectAdded the ability to return as a different object.
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top