Le seguenti modifiche sono state apportate alle funzioni delle estensioni del pacchetto.
Version | Function | Description |
---|---|---|
PECL OCI8 1.4 | oci_set_prefetch | Before this release, rows must be >= 1. |
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. |
PECL 3.0.0 | IntlDateFormatter::format | Support for providing IntlCalendar objects to the datetime parameter was added. |
8.0.3 | bind_textdomain_codeset | codeset is nullable now. Previously, it was not possible to retrieve the currently set encoding. |
bindtextdomain | directory is nullable now. Previously, it was not possible to retrieve the currently set directory. | |
8.0.0, PECL OCI8 3.0.0 | OCICollection::append | The OCI-Collection class was renamed to OCICollection to align with PHP naming standards. |
OCICollection::assign | The OCI-Collection class was renamed to OCICollection to align with PHP naming standards. | |
OCICollection::assignElem | The OCI-Collection class was renamed to OCICollection to align with PHP naming standards. | |
OCICollection::free | The OCI-Collection class was renamed to OCICollection to align with PHP naming standards. | |
OCICollection::getElem | The OCI-Collection class was renamed to OCICollection to align with PHP naming standards. | |
OCICollection::max | The OCI-Collection class was renamed to OCICollection to align with PHP naming standards. | |
OCICollection::size | The OCI-Collection class was renamed to OCICollection to align with PHP naming standards. | |
OCICollection::trim | The OCI-Collection class was renamed to OCICollection to align with PHP naming standards. | |
OCILob::append | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::close | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::eof | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::erase | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::export | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::flush | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::free | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::getBuffering | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::import | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::load | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::read | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::rewind | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::save | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::saveFile | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::seek | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::setBuffering | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::size | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::tell | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::truncate | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::write | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::writeTemporary | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::writeToFile | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
8.0.0 / 1.18.1 | ZipArchive::addGlob | "comp_method", "comp_flags", "enc_method" and "enc_password" in options were added. |
8.0.0 / 1.18.0 | ZipArchive::addEmptyDir | flags was added. |
ZipArchive::addFile | flags was added. | |
ZipArchive::addFromString | flags was added. | |
ZipArchive::addGlob | "flags" in options was added. | |
ZipArchive::getStatusString | This method no longer returns false on failure. | |
ZipArchive::getStatusString | This method can be called on closed archive. | |
8.0.0 | DateTime::format | Prior to this version, false was returned on failure. |
DateTime::format | The format character p has been added. | |
DateTime::getOffset | Prior to this version, false was returned on failure. | |
DateTime::getTimestamp | These functions no longer return false on failure. | |
DateTimeZone::getOffset | Prior to this version, false was returned on failure. | |
DateTimeZone::listIdentifiers | Prior to this version, false was returned on failure. | |
DOMImplementation::createDocument | doctype is now nullable. | |
com_event_sink | sink_interface is nullable now. | |
com_get_active_object | codepage is nullable now. | |
curl_copy_handle | On success, this function returns a CurlHandle instance now; previously, a resource was returned. | |
curl_copy_handle | handle expects a CurlHandle instance now; previously, a resource was expected. | |
curl_escape | handle expects a CurlHandle instance now; previously, a resource was expected. | |
curl_multi_errno | The function no longer returns false on failure. | |
curl_multi_errno | multi_handle expects a CurlMultiHandle instance now; previously, a resource was expected. | |
curl_multi_setopt | multi_handle expects a CurlMultiHandle instance now; previously, a resource was expected. | |
curl_pause | handle expects a CurlHandle instance now; previously, a resource was expected. | |
curl_reset | handle expects a CurlHandle instance now; previously, a resource was expected. | |
curl_setopt_array | handle expects a CurlHandle instance now; previously, a resource was expected. | |
curl_share_close | share_handle expects a CurlShareHandle instance now; previously, a resource was expected. | |
curl_share_errno | The function no longer returns false on failure. | |
curl_share_errno | share_handle expects a CurlShareHandle instance now; previously, a resource was expected. | |
curl_share_init | This function returns a CurlShareHandle instance now; previously, a resource was returned. | |
curl_share_setopt | share_handle expects a CurlShareHandle instance now; previously, a resource was expected. | |
curl_unescape | handle expects a CurlHandle instance now; previously, a resource was expected. | |
date_sunrise | latitude, longitude, zenith and utcOffset are nullable now. | |
date_sunset | latitude, longitude, zenith and utcOffset are nullable now. | |
deflate_add | context expects a DeflateContext instance now; previously, a resource was expected. | |
deflate_init | On success, this function returns a DeflateContext instance now; previously, a resource was returned. | |
enchant_broker_describe | broker expects an EnchantBroker instance now; previoulsy, a resource was expected. | |
enchant_broker_describe | Prior to this version, the function returned false on failure. | |
enchant_broker_dict_exists | broker expects an EnchantBroker instance now; previoulsy, a resource was expected. | |
enchant_broker_free | broker expects an EnchantBroker instance now; previoulsy, a resource was expected. | |
enchant_broker_free_dict | dictionary expects a EnchantDictionary now; previoulsy, a resource was expected. | |
enchant_broker_get_dict_path | broker expects an EnchantBroker instance now; previoulsy, a resource was expected. | |
enchant_broker_get_error | broker expects an EnchantBroker instance now; previoulsy, a resource was expected. | |
enchant_broker_init | On success, this function returns an EnchantBroker instance now; previoulsy, a resource was retured. | |
enchant_broker_list_dicts | Prior to this version, the function returned false on failure. | |
enchant_broker_list_dicts | broker expects an EnchantBroker instance now; previoulsy, a resource was expected. | |
enchant_broker_request_dict | broker expects an EnchantBroker instance now; previoulsy, a resource was expected. | |
enchant_broker_request_dict | On success, this function returns an EnchantDictionary instance now; previoulsy, a resource was retured. | |
enchant_broker_request_pwl_dict | broker expects an EnchantBroker instance now; previoulsy, a resource was expected. | |
enchant_broker_request_pwl_dict | On success, this function returns an EnchantDictionary instance now; previoulsy, a resource was retured. | |
enchant_broker_set_dict_path | broker expects an EnchantBroker instance now; previoulsy, a resource was expected. | |
enchant_broker_set_ordering | broker expects an EnchantBroker instance now; previoulsy, a resource was expected. | |
enchant_dict_add | dictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected. | |
enchant_dict_add_to_session | dictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected. | |
enchant_dict_check | dictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected. | |
enchant_dict_describe | dictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected. | |
enchant_dict_describe | Prior to this version, the function returned false on failure. | |
enchant_dict_get_error | dictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected. | |
enchant_dict_is_added | dictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected. | |
enchant_dict_quick_check | dictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected. | |
enchant_dict_store_replacement | dictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected. | |
enchant_dict_suggest | dictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected. | |
exif_read_data | required_sections is nullable now. | |
finfo_buffer | context is nullable now. | |
finfo_file | context is nullable now. | |
gmp_binomial | This function no longer returns false on failure. | |
gmp_export | This function no longer returns false on failure. | |
gmp_import | This function no longer returns false on failure. | |
gzgets | length is nullable now; previously, the default was 1024. | |
gzwrite | length is nullable now; previously, the default was 0. | |
hash_update_file | stream_context is now nullable. | |
iconv_mime_decode | encoding is nullable now. | |
iconv_mime_decode_headers | encoding is nullable now. | |
iconv_strlen | encoding is nullable now. | |
iconv_strpos | encoding is nullable now. | |
iconv_strrpos | encoding is nullable now. | |
iconv_substr | length and encoding are nullable now. | |
idate | timestamp is nullable now. | |
ignore_user_abort | enable is nullable now. | |
imagexbm | The fourth parameter, which was unused, has been removed. | |
imap_append | options and internal_date are now nullable. | |
imap_headerinfo | The unused defaulthost parameter has been removed. | |
imap_mail | additional_headers, cc, bcc, and return_path are now nullable. | |
imap_sort | reverse is now bool instead of int. | |
imap_sort | search_criteria and charset are now nullable. | |
inflate_add | context expects an InflateContext instance now; previously, a resource was expected. | |
inflate_get_read_len | context expects an InflateContext instance now; previously, a resource was expected. | |
inflate_get_status | context expects an InflateContext instance now; previously, a resource was expected. | |
inflate_init | On success, this function returns an InflateContext instance now; previously, a resource was returned. | |
ldap_add | controls is nullable now; previously, it defaulted to []. | |
ldap_add_ext | controls is nullable now; previously, it defaulted to []. | |
ldap_bind_ext | controls is nullable now; previously, it defaulted to []. | |
ldap_compare | controls is nullable now; previously, it defaulted to []. | |
ldap_delete | controls is nullable now; previously, it defaulted to []. | |
ldap_delete_ext | controls is nullable now; previously, it defaulted to []. | |
ldap_exop_passwd | controls is nullable now; previously, it defaulted to []. | |
ldap_list | controls is nullable now; previously, it defaulted to []. | |
ldap_mod_add | controls is nullable now; previously, it defaulted to []. | |
ldap_mod_del | controls is nullable now; previously, it defaulted to []. | |
ldap_mod_replace | controls is nullable now; previously, it defaulted to []. | |
ldap_modify_batch | controls is nullable now; previously, it defaulted to []. | |
ldap_mod_add_ext | controls is nullable now; previously, it defaulted to []. | |
ldap_mod_del_ext | controls is nullable now; previously, it defaulted to []. | |
ldap_mod_replace_ext | controls is nullable now; previously, it defaulted to []. | |
ldap_read | controls is nullable now; previously, it defaulted to []. | |
ldap_rename | controls is nullable now; previously, it defaulted to []. | |
ldap_rename_ext | controls is nullable now; previously, it defaulted to []. | |
ldap_sasl_bind | dn, password, mech, realm, authc_id, authz_id and props are nullable now. | |
ldap_search | controls is nullable now; previously, it defaulted to []. | |
ldap_set_rebind_proc | callback is nullable now. | |
libxml_use_internal_errors | use_errors is nullable now. Previously, its default was false. | |
mb_check_encoding | value and encoding are nullable now. | |
mb_chr | encoding is nullable now. | |
mb_convert_encoding | from_encoding is nullable now. | |
mb_convert_kana | encoding is nullable now. | |
mb_decode_numericentity | encoding is nullable now. | |
mb_detect_order | encoding is nullable now. | |
mb_encode_mimeheader | charset and transfer_encoding are nullable now. | |
mb_encode_numericentity | encoding is nullable now. | |
mb_ereg | This function returns true on success now. Previously, it returned the byte length of the matched string if a match for pattern was found in string and matches was passed. If the optional parameter matches was not passed or the length of the matched string was 0, this function returned 1. | |
mb_ereg_match | options is nullable now. | |
mb_ereg_replace | options is nullable now. | |
mb_ereg_replace_callback | options is nullable now. | |
mb_ereg_search | pattern and options are nullable now. | |
mb_ereg_search_init | pattern and options are nullable now. | |
mb_ereg_search_pos | pattern and options are nullable now. | |
mb_ereg_search_regs | pattern and options are nullable now. | |
mb_eregi | This function returns true on success now. Previously, it returned the byte length of the matched string if a match for pattern was found in string and matches was passed. If the optional parameter matches was not passed or the length of the matched string was 0, this function returned 1. | |
mb_eregi_replace | options is nullable now. | |
mb_get_info | The types "func_overload" and "func_overload_list" are no longer supported. | |
mb_http_input | type is nullable now. | |
mb_http_output | encoding is nullable now. | |
mb_internal_encoding | encoding is nullable now. | |
mb_language | language is nullable now. | |
mb_ord | encoding is nullable now. | |
mb_parse_str | The second parameter was no longer optional. | |
mb_regex_encoding | encoding is nullable now. | |
mb_regex_set_options | options is nullable now. | |
mb_regex_set_options | If the parameter options is given and not null, the previous options are returned. Formerly, the current options have been returned. | |
mb_scrub | encoding is nullable now. | |
mb_send_mail | additional_params is nullable now. | |
mb_str_split | This function no longer returns false on failure. | |
mb_str_split | encoding is nullable now. | |
mb_strcut | encoding is nullable now. | |
mb_strimwidth | encoding is nullable now. | |
mb_stripos | encoding is nullable now. | |
mb_stristr | encoding is nullable now. | |
mb_strlen | encoding is nullable now. | |
mb_strpos | encoding is nullable now. | |
mb_strrchr | encoding is nullable now. | |
mb_strrichr | encoding is nullable now. | |
mb_strripos | encoding is nullable now. | |
mb_strrpos | encoding is nullable now. | |
mb_strstr | encoding is nullable now. | |
mb_strwidth | encoding is nullable now. | |
mb_substitute_character | encoding is nullable now. | |
mb_substitute_character | Passing an empty string to substitute_character is no longer supported; "none" should be passed instead. | |
mb_substr | encoding is nullable now. | |
mb_substr_count | encoding is nullable now. | |
mhash | key is now nullable. | |
ob_implicit_flush | The flag expects a bool value now; previously, an int was expected. | |
openssl_csr_export | csr accepts an OpenSSLCertificateSigningRequest instance now; previously, a resource of type OpenSSL X.509 CSR was accepted. | |
openssl_csr_export_to_file | csr accepts an OpenSSLCertificateSigningRequest instance now; previously, a resource of type OpenSSL X.509 CSR was accepted. | |
openssl_csr_get_public_key | On success, this function returns an OpenSSLAsymmetricKey instance now; previously, a resource of type OpenSSL key was returned. | |
openssl_csr_get_public_key | csr accepts an OpenSSLCertificateSigningRequest instance now; previously, a resource of type OpenSSL X.509 CSR was accepted. | |
openssl_csr_get_subject | csr accepts an OpenSSLCertificateSigningRequest instance now; previously, a resource of type OpenSSL X.509 CSR was accepted. | |
openssl_csr_new | On success, this function returns an OpenSSLCertificateSigningRequest instance now; previously, a resource of type OpenSSL X.509 CSR was returned. | |
openssl_csr_new | private_key accepts an OpenSSLAsymmetricKey instance now; previously, a resource of type OpenSSL key was accepted. | |
openssl_csr_sign | private_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted. | |
openssl_csr_sign | ca_certificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted. | |
openssl_csr_sign | On success, this function returns an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was returned. | |
openssl_csr_sign | csr accepts an OpenSSLCertificateSigningRequest instance now; previously, a resource of type OpenSSL X.509 CSR was accepted. | |
openssl_dh_compute_key | private_key accepts an OpenSSLAsymmetricKey now; previously, a resource of type OpenSSL key was accepted. | |
openssl_free_key | key accepts an OpenSSLAsymmetricKey now; previously, a resource of type OpenSSL key was accepted. | |
openssl_free_key | This function is now deprecated as it doesn't have an effect anymore. | |
openssl_open | private_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 CSR was accepted. | |
openssl_open | cipher_algo is no longer an optional parameter. | |
openssl_pkcs7_decrypt | private_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 CSR was accepted. | |
openssl_pkcs7_encrypt | certificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 CSR was accepted. | |
openssl_pkcs7_sign | private_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 CSR was accepted. | |
openssl_pkcs7_sign | certificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 CSR was accepted. | |
openssl_pkcs7_verify | signers_certificates_filename, untrusted_certificates_filename, content and output_filename are nullable now. | |
openssl_pkcs12_export | private_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted. | |
openssl_pkcs12_export | certificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 CSR was accepted. | |
openssl_pkcs12_export_to_file | private_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted. | |
openssl_pkcs12_export_to_file | certificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 CSR was accepted. | |
openssl_pkey_export | key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted. | |
openssl_pkey_export_to_file | key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted. | |
openssl_pkey_free | key accepts an OpenSSLAsymmetricKey now; previously, a resource of type OpenSSL key was accepted. | |
openssl_pkey_free | This function is now deprecated as it doesn't have an effect anymore. | |
openssl_pkey_get_details | key accepts an OpenSSLAsymmetricKey now; previously, a resource of type OpenSSL key was accepted. | |
openssl_pkey_get_private | On success, this function returns an OpenSSLAsymmetricKey instance now; previously, a resource of type OpenSSL key was returned. | |
openssl_pkey_get_private | passphrase is nullable now. | |
openssl_pkey_get_private | private_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted. | |
openssl_pkey_get_public | public_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted. | |
openssl_pkey_get_public | On success, this function returns an OpenSSLAsymmetricKey instance now; previously, a resource of type OpenSSL key was returned. | |
openssl_pkey_new | On success, this function returns an OpenSSLAsymmetricKey instance now; previously, a resource of type OpenSSL key was returned. | |
openssl_private_decrypt | private_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted. | |
openssl_private_encrypt | private_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted. | |
openssl_public_decrypt | public_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted. | |
openssl_public_encrypt | public_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted. | |
openssl_random_pseudo_bytes | strong_result is nullable now. | |
openssl_seal | iv is nullable now. | |
openssl_seal | public_key accepts an array of OpenSSLAsymmetricKey instances now; previously, an array of resources of type OpenSSL key was accepted. | |
openssl_seal | cipher_algo is no longer an optional parameter. | |
openssl_sign | private_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted. | |
openssl_spki_new | private_key accepts an OpenSSLAsymmetricKey instance now; previously, a resource of type OpenSSL key was accepted. | |
openssl_verify | public_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted. | |
openssl_x509_check_private_key | private_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted. | |
openssl_x509_check_private_key | certificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted. | |
openssl_x509_checkpurpose | certificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted. | |
openssl_x509_checkpurpose | untrusted_certificates_file is nullable now. | |
openssl_x509_export | certificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted. | |
openssl_x509_export_to_file | certificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted. | |
openssl_x509_fingerprint | certificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted. | |
openssl_x509_free | This function is now deprecated as it doesn't have an effect anymore. | |
openssl_x509_free | certificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted. | |
openssl_x509_parse | certificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted. | |
openssl_x509_read | On success, this function returns an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was returned. | |
openssl_x509_read | certificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted. | |
openssl_x509_verify | certificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted. | |
openssl_x509_verify | public_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted. | |
pack | This function no longer returns false on failure. | |
readline_info | var_name and value are nullable now. | |
readline_read_history | filename is nullable now. | |
readline_write_history | filename is nullable now. | |
shm_has_var | shm expects a SysvSharedMemory instance now; previously, a resource was expected. | |
socket_addrinfo_bind | On success, this function returns a Socket instance now; previously, a resource was returned. | |
socket_addrinfo_bind | address is an AddressInfo instance now; previously, it was a resource. | |
socket_addrinfo_connect | address is an AddressInfo instance now; previously, it was a resource. | |
socket_addrinfo_connect | On success, this function returns a Socket instance now; previously, a resource was returned. | |
socket_addrinfo_explain | address is an AddressInfo instance now; previously, it was a resource. | |
socket_addrinfo_lookup | On success, this function returns a array of AddressInfo instances now; previously, an array of resources was returned. | |
socket_addrinfo_lookup | service is nullable now. | |
socket_export_stream | socket is a Socket instance now; previously, it was a resource. | |
socket_import_stream | On success, this function returns a Socket instance now; previously, a resource was returned. | |
socket_set_block | socket is a Socket instance now; previously, it was a resource. | |
socket_wsaprotocol_info_export | socket is a Socket instance now; previously, it was a resource. | |
socket_wsaprotocol_info_import | On success, this function returns a Socket instance now; previously, a resource was returned. | |
ReflectionClass::getConstants | filter has been added. | |
ReflectionClass::getReflectionConstants | filter has been added. | |
ReflectionMethod::getClosure | object is now nullable. | |
ReflectionParameter::getDefaultValue | This method now allows getting the default value of parameters of built-in functions and built-in class methods. Previously, a ReflectionException was thrown. | |
ReflectionParameter::getDefaultValueConstantName | This method now allows getting the default values' constant names of built-in functions and built-in class methods. Previously, a ReflectionException was thrown. | |
ReflectionProperty::getValue | object is nullable now. | |
ReflectionProperty::isInitialized | object is nullable now. | |
SoapClient::__doRequest | The type of oneWay is bool now; formerly it was int. | |
SoapClient::__setCookie | value is now nullable. | |
SoapServer::handle | request is now nullable. | |
tidy::__construct | filename, config, encoding and useIncludePath are nullable now. | |
tidy::parseFile | config and encoding are nullable now. | |
tidy::parseString | config and encoding are nullable now. | |
tidy::repairFile | tidy::repairFile is a static method now. | |
tidy::repairFile | config and encoding are nullable now. | |
tidy::repairString | This function no longer accepts the useIncludePath parameter. | |
tidy::repairString | tidy::repairString is a static method now. | |
tidy::repairString | config and encoding are nullable now. | |
XMLReader::getAttribute | This function can no longer return false. | |
XMLReader::getAttributeNs | This function can no longer return false. | |
XMLReader::lookupNamespace | This function can no longer return false. | |
XMLReader::next | name is nullable now. | |
XMLReader::open | XMLReader::open is now declared as static method, but can still be called on an XMLReader instance. | |
XMLReader::XML | XMLReader::XML is now declared as static method, but can still be called on an XMLReader instance. | |
XMLWriter::endAttribute | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::endCdata | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::endComment | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::endDocument | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::endDtd | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::endDtdAttlist | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::endDtdElement | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::endDtdEntity | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::endElement | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::endPi | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::flush | This function can no longer return false. | |
XMLWriter::flush | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::fullEndElement | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::openMemory | This function returns now an XMLWriter instance on success. Previouly, a resource has been returned in this case. | |
XMLWriter::openUri | This function returns now an XMLWriter instance on success. Previouly, a resource has been returned in this case. | |
XMLWriter::outputMemory | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::setIndent | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::setIndentString | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::startAttribute | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::startAttributeNs | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::startAttributeNs | prefix is nullable now. | |
XMLWriter::startCdata | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::startComment | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::startDocument | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::startDtd | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::startDtdAttlist | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::startDtdElement | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::startDtdEntity | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::startElement | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::startElementNs | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::startPi | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::text | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::writeAttribute | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::writeAttributeNs | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::writeCdata | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::writeComment | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::writeDtd | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::writeDtdAttlist | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::writeDtdElement | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::writeDtdEntity | publicId, systemId and notationData are nullable now. | |
XMLWriter::writeDtdEntity | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::writeElement | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::writeElementNs | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::writePi | writer expects an XMLWriter instance now; previously, a resource was expected. | |
XMLWriter::writeRaw | writer expects an XMLWriter instance now; previously, a resource was expected. | |
ZipArchive::setEncryptionIndex | password is now nullable. | |
ZipArchive::setEncryptionName | password is now nullable. | |
7.4.4 | proc_open | Added the create_new_console option to the other_options parameter. |
7.4.0 | fputcsv | The escape_char parameter now also accepts an empty string to disable the proprietary escape mechanism. |
get_magic_quotes_gpc | Questa funzione è stata deprecata. | |
gzread | This functions returns false on failure now; previously 0 was returned. | |
gzwrite | This functions returns false on failure now; previously 0 was returned. | |
hash_algos | Support for crc32c has been added. | |
idn_to_ascii | The default value of variant is now INTL_IDNA_VARIANT_UTS46 instead of the deprecated INTL_IDNA_VARIANT_2003. | |
idn_to_utf8 | The default value of variant is now INTL_IDNA_VARIANT_UTS46 instead of the deprecated INTL_IDNA_VARIANT_2003. | |
imagecropauto | The behavior of imagecropauto() in the bundled libgd has been synced with that of system libgd: IMG_CROP_DEFAULT no longer falls back to IMG_CROP_SIDES and threshold-cropping now uses the same algorithm as system libgd. | |
imagecropauto | The default value of mode has been changed to IMG_CROP_AUTO. Formerly, the default value has been -1 which corresponds to IMG_CROP_DEFAULT, but passing -1 is now deprecated. | |
imagefilter | Scatter support (IMG_FILTER_SCATTER) was added. | |
ldap_control_paged_result | This function has been deprecated. | |
ldap_control_paged_result_response | This function has been deprecated. | |
password_hash | The algo parameter expects a string now, but still accepts ints for backward compatibility. | |
password_needs_rehash | The algo parameter expects a string now, but still accepts ints for backward compatibility. | |
proc_open | Added the create_process_group option to the other_options parameter. | |
proc_open | proc_open now also accepts an array for the cmd. | |
str_getcsv | The escape parameter now interprets an empty string as signal to disable the proprietary escape mechanism. Formerly, an empty string was treated like the default parameter value. | |
SplFileObject::fgetcsv | The escape parameter now also accepts an empty string to disable the proprietary escape mechanism. | |
SplFileObject::fputcsv | The escape parameter now also accepts an empty string to disable the proprietary escape mechanism. | |
SplFileObject::fwrite | The function now returns false instead of zero on failure. | |
SplFileObject::getCsvControl | The escape character can now be an empty string. | |
SplFileObject::setCsvControl | The escape parameter now also accepts an empty string to disable the proprietary escape mechanism. | |
SQLite3Stmt::bindParam | param now also supports the @param notation. | |
SQLite3Stmt::bindValue | param now also supports the @param notation. | |
7.3.24, 7.4.12 | tidyNode::isHtml | This function has been fixed to have reasonable behavior. Previously, almost any node was reported as being an HTML node. |
7.3.14, 7.4.2 | dba_open | The lmdb driver now supports an additional $mapsize parameter. |
7.3.0 | DateTime::createFromFormat | The v format specifier has been added. |
apache_request_headers | Questa funzione è diventata disponibile nella FPM SAPI. | |
getallheaders | Questa funzione è diventata disponibile nella FPM SAPI. | |
imagecreatefromstring | WEBP is supported now (if supported by the libgd in use). | |
is_countable | is_countable has been added. | |
json_decode | JSON_THROW_ON_ERROR flags was added. | |
json_encode | JSON_THROW_ON_ERROR flags was added. | |
mb_convert_case | Added support for MB_CASE_FOLD, MB_CASE_UPPER_SIMPLE, MB_CASE_LOWER_SIMPLE, MB_CASE_TITLE_SIMPLE, and MB_CASE_FOLD_SIMPLE as mode. | |
password_hash | Support for Argon2id passwords using PASSWORD_ARGON2ID was added. | |
setcookie | An alternative signature supporting an options array has been added. This signature supports also setting of the SameSite cookie attribute. | |
setrawcookie | An alternative signature supporting an options array has been added. This signature supports also setting of the SameSite cookie attribute. | |
7.3 | ldap_add | Support for controls added |
ldap_compare | Support for controls added | |
ldap_delete | Support for controls added | |
ldap_exop | Support for serverctrls added | |
ldap_exop_passwd | Support for controls added | |
ldap_list | Support for controls added | |
ldap_mod_add | Support for controls added | |
ldap_mod_del | Support for controls added | |
ldap_mod_replace | Support for controls added | |
ldap_modify_batch | Support for controls added | |
ldap_mod_add_ext | Support for controls added | |
ldap_mod_del_ext | Support for controls added | |
ldap_mod_replace_ext | Support for controls added | |
ldap_parse_result | Support for controls added | |
ldap_read | Support for controls added | |
ldap_rename | Support for controls added | |
ldap_rename_ext | Support for controls added | |
ldap_search | Support for controls added | |
7.2.19, 7.3.6, 7.4.0 | DatePeriod::__construct | recurrences must be greater than 0 now. |
7.2.19, 7.3.6 | SplFileObject::__toString | Changed from an alias of SplFileObject::current to an alias of SplFileObject::fgets. |
7.2.0 | date_parse | The zone element of the returned array represents seconds instead of minutes now, and its sign is inverted. For instance -120 is now 7200. |
date_parse_from_format | The zone element of the returned array represents seconds instead of minutes now, and its sign is inverted. For instance -120 is now 7200. | |
exif_read_data | Support for the following EXIF formats were added: Samsung DJI Panasonic Sony Pentax Minolta Sigma/Foveon AGFA Kyocera Ricoh Epson | |
exif_read_data | The file parameter now supports both local files and stream resources. | |
exif_thumbnail | The file parameter now supports both local files and stream resources. | |
hash_copy | Accept and return HashContext instead of resource. | |
hash_final | Accept HashContext instead of resource. | |
hash_hmac | Usage of non-cryptographic hash functions (adler32, crc32, crc32b, fnv132, fnv1a32, fnv164, fnv1a64, joaat) was disabled. | |
hash_hmac_file | Usage of non-cryptographic hash functions (adler32, crc32, crc32b, fnv132, fnv1a32, fnv164, fnv1a64, joaat) was disabled. | |
hash_init | Usage of non-cryptographic hash functions (adler32, crc32, crc32b, fnv132, fnv1a32, fnv164, fnv1a64, joaat) with HASH_HMAC was disabled. | |
hash_init | Return HashContext instead of resource. | |
hash_pbkdf2 | Usage of non-cryptographic hash functions (adler32, crc32, crc32b, fnv132, fnv1a32, fnv164, fnv1a64, joaat) was disabled. | |
hash_update | Accept HashContext instead of resource. | |
hash_update_file | Accept HashContext instead of resource. | |
hash_update_stream | Accept HashContext instead of resource. | |
idn_to_ascii | INTL_IDNA_VARIANT_2003 has been deprecated; use INTL_IDNA_VARIANT_UTS46 instead. | |
idn_to_utf8 | INTL_IDNA_VARIANT_2003 has been deprecated; use INTL_IDNA_VARIANT_UTS46 instead. | |
imageantialias | imageantialias is now generally available. Formerly it was only available if PHP was compiled with the bundled version of the GD library. | |
imagegd | imagegd now allows to output truecolor images. Formerly, these have been implicitly converted to palette. | |
imagelayereffect | Added IMG_EFFECT_MULTIPLY (requires system libgd >= 2.1.1 or the bundled libgd). | |
imagetypes | IMG_BMP added. | |
json_decode | associative is nullable now. | |
json_decode | JSON_INVALID_UTF8_IGNORE, and JSON_INVALID_UTF8_SUBSTITUTE flags were added. | |
json_encode | JSON_INVALID_UTF8_IGNORE, and JSON_INVALID_UTF8_SUBSTITUTE flags were added. | |
Il parametro additional_headers ora accetta anche un array. | ||
mb_check_encoding | This function now also accepts an array as value. Formerly, only strings have been supported. | |
mb_convert_encoding | This function now also accepts an array as string. Formerly, only strings have been supported. | |
mb_parse_str | Calling mb_parse_str without the second parameter was deprecated. | |
mb_send_mail | The additional_headers parameter now also accepts an array. | |
openssl_pkcs7_verify | The output_filename parameter was added. | |
pack | float and double types supports both Big Endian and Little Endian. | |
password_hash | Support for Argon2i passwords using PASSWORD_ARGON2I was added. | |
proc_nice | This function is now available on Windows. | |
read_exif_data | This function alias was deprecated. | |
session_abort | The return type of this function is bool now. Formerly, it has been void. | |
session_reset | The return type of this function is bool now. Formerly, it has been void. | |
set_error_handler | errcontext è diventato deprecato. L'utilizzo di questo parametro ora genera un avviso E_DEPRECATED. | |
unpack | float and double types supports both Big Endian and Little Endian. | |
PDOStatement::debugDumpParams | PDOStatement::debugDumpParams now returns the SQL sent to the database, including the full, raw query (including the replaced placeholders with their bounded values). Note, that this will only be available if emulated prepared statements are turned on. | |
ReflectionClass::getMethods | filter is nullable now. | |
ReflectionClass::getProperties | filter is nullable now. | |
SQLite3::openBlob | The flags parameter has been added, allowing to write BLOBs; formerly only reading was supported. | |
7.1.5 | IntlDateFormatter::format | Support for providing general DateTimeInterface objects to the datetime parameter was added. Formerly, only proper DateTime objects were supported. |
7.1.4 | PDO::sqliteCreateFunction | The flags parameter has been added. |
SQLite3::createFunction | The flags parameter has been added. | |
7.1.0 | DateInterval::format | The F and f format characters were added. |
DateTime::__construct | From now on microseconds are filled with actual value. Not with '00000'. | |
DateTime::setTime | The microsecond parameter was added. | |
DateTimeZone::listIdentifiers | countryCode is nullable now. | |
curl_multi_setopt | Introduced CURLMOPT_PUSHFUNCTION. | |
exif_imagetype | Added WebP support. | |
get_headers | The context parameter was added. | |
getimagesize | Added WebP support. | |
grapheme_extract | Support for negative offsets has been added. | |
grapheme_stripos | Support for negative offsets has been added. | |
grapheme_strpos | Support for negative offsets has been added. | |
hash_algos | Support for sha512/224, sha512/256, sha3-224, sha3-256, sha3-384 and sha3-512 has been added. | |
iconv_strpos | Support for negative offsets has been added. | |
json_decode | An empty JSON key ("") can be encoded to the empty object property instead of using a key with value _empty_. | |
json_encode | serialize_precision is used instead of precision when encoding double values. | |
json_encode | JSON_UNESCAPED_LINE_TERMINATORS flags was added. | |
mb_ereg | mb_ereg will now set matches to an empty array, if nothing matched. Formerly, matches was not modified in that case. | |
mb_ereg_replace | The e modifier has been deprecated. | |
mb_ereg_replace | The function checks whether string is valid for the current encoding. | |
mb_ereg_replace_callback | The function checks whether string is valid for the current encoding. | |
mb_ereg_search_setpos | Support for negative offsets has been added. | |
mb_eregi | mb_eregi will now set matches to an empty array, if nothing matched. Formerly, matches was not modified in that case. | |
mb_eregi_replace | The function checks whether string is valid for the current encoding. | |
mb_eregi_replace | The e modifier has been deprecated. | |
mb_strimwidth | Support for negative starts and widths has been added. | |
mb_stripos | Support for negative offsets has been added. | |
mb_strpos | Support for negative offsets has been added. | |
openssl_csr_new | options now also supports curve_name. | |
openssl_decrypt | The tag and aad parameters were added. | |
openssl_encrypt | The tag, aad and tag_length parameters were added. | |
openssl_pkey_new | The curve_name option was added to make it possible to create EC keys. | |
output_add_rewrite_var | Before PHP 7.1.0, rewrite vars set by output_add_rewrite_var use the same Session module trans sid output buffer. Since PHP 7.1.0, dedicated output buffer is used, url_rewriter.tags is used solely for output functions, url_rewriter.hosts is added. | |
output_reset_rewrite_vars | Before PHP 7.1.0, rewrite vars set by output_add_rewrite_var use the same Session module trans sid output buffer. Since PHP 7.1.0, dedicated output buffer is used and output_reset_rewrite_vars only removes rewrite vars defined by output_add_rewrite_var. | |
pcntl_signal | As of PHP 7.1.0 the handler callback is given a second argument containing the siginfo of the specific signal. This data is only supplied if the operating system has the siginfo_t structure. If the OS does not implement siginfo_t NULL is supplied. | |
pcntl_signal_get_handler | pcntl_signal_get_handler has been added. | |
unpack | The optional offset has been added. | |
ReflectionType::__toString | ReflectionType::__toString has been deprecated. | |
SessionHandler::gc | Prior to this version, the function returned true on success. | |
SessionHandlerInterface::gc | Prior to this version, the function returned true on success. | |
7.0.16, 7.1.2 | dns_get_record | Added support for CAA record type. |
fopen | È stata aggiunta l'opzione 'e'. | |
7.0.15, 7.1.1 | get_defined_functions | The exclude_disabled parameter has been added. |
7.0.15,7.1.1 | pack | The "e", "E", "g" and "G" codes were added to enable byte order support for float and double. |
7.0.11 | iconv_substr | If string is equal to offset characters long, an empty string will be returned. Prior to this version, false was returned in this case. |
7.0.10 | imagetypes | IMG_WEBP added. |
SQLite3::__construct | The filename can now be empty to use a private, temporary on-disk database. | |
7.0.7 | curl_multi_setopt | Introduced CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE, CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE, CURLMOPT_MAX_HOST_CONNECTIONS, CURLMOPT_MAX_PIPELINE_LENGTH and CURLMOPT_MAX_TOTAL_CONNECTIONS. |
7.0.0 | array_column | Added the ability for the array parameter to be an array of objects. |
assert | assert è ora un costrutto del linguaggio e non una funzione. assertion ora può essere usata come un'espressione. Il secondo parametro è ora interpretato o come un exception (se viene passato un oggettoThrowable), o come la description supportato da PHP 5.4.8 in poi. | |
is_numeric | Le stringhe nella notazione esadecimale (per esempio 0xf4c3b00c) non sono più considerate come stringhe numeriche, ovvero is_numeric ora restituisce false. | |
list | L'ordine di esecuzione delle operazioni di assegnazione è cambiato. | |
list | Le espressioni list non possono più essere completamente vuote. | |
list | Le stringhe non possono più essere spacchettate. | |
set_exception_handler | Il tipo di parametro passato in exception_handler è cambiato da Exception a Throwable | |
setlocale | Il supporto per il parametro category passato come una stringa è stato rimosso. Solo le costanti LC_* possono essere usate in questa versione. | |
6 | error_reporting | E_STRICT è diventata parte di E_ALL. |
5.6.25, 7.0.10 | SplFileObject::getCsvControl | Added the escape character to the returned array. |
5.6.3 | pack | The "q", "Q", "J" and "P" codes were added to enable working with 64-bit numbers. |
5.6.0 | curl_setopt | Rimosso CURLOPT_CLOSEPOLICY e i suoi valori associati. |
curl_setopt | CURLOPT_SAFE_UPLOAD è ora true per impostazione predefinita. | |
mb_regex_encoding | Default encoding is changed to UTF-8. It was EUC-JP Previously. | |
mcrypt_decrypt | Invalid key and iv sizes are no longer accepted. mcrypt_decrypt will now throw a warning and return false if the inputs are invalid. Previously keys and IVs were padded with '\0' bytes to the next valid size. | |
mcrypt_encrypt | Invalid key and iv sizes are no longer accepted. mcrypt_encrypt will now throw a warning and return false if the inputs are invalid. Previously keys and IVs were padded with '\0' bytes to the next valid size. | |
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. | |
stream_socket_enable_crypto | The crypto_type is now optional. | |
stream_socket_enable_crypto | Introduce STREAM_CRYPTO_METHOD_ANY_CLIENT, STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT, STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT, STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT, STREAM_CRYPTO_METHOD_ANY_SERVER, STREAM_CRYPTO_METHOD_TLSv1_0_SERVER, STREAM_CRYPTO_METHOD_TLSv1_1_SERVER, STREAM_CRYPTO_METHOD_TLSv1_2_SERVER. | |
ReflectionClass::newInstanceWithoutConstructor | All internal classes can now be instantiated except for those declared final. | |
XMLReader::getAttributeNo | XMLReader::getAttributeNo now returns null if the attribute doesn't exist. | |
XMLReader::getAttributeNs | XMLReader::getAttributeNS now returns null if the attribute doesn't exist. | |
5.5.21, 5.6.5 | SplFileObject::fputcsv | Added the escape parameter. |
5.5.19, 5.6.3 | DateTimeZone::getOffset | datetime type changed to DateTimeInterface. Previously, DateTime. |
5.5.10 | DateTimeZone::__construct | The timezone parameter accepts offset values. |
5.5.4 | fputcsv | The escape_char parameter was added |
5.5.2 | DOMDocument::schemaValidate | Added the flags parameter |
DOMDocument::schemaValidateSource | Added the flags parameter | |
5.5.1 | pg_unescape_bytea | Se la stringa di input non è valida, viene generato un avviso. |
5.5.0/PECL 3.0.0 | IntlDateFormatter::create | An IntlCalendar object is allowed for calendar. Objects of type IntlTimeZone and DateTimeZone are allowed for timezone. Invalid timezone identifiers (including empty strings) are no longer allowed for timezone. If null is given for timezone, the timezone identifier given by date_default_timezone_get will be used instead of ICUʼs default. |
IntlDateFormatter::setCalendar | It became possible to pass an IntlCalendar object. | |
5.5.0 | curl_setopt | Introdotto CURLOPT_SHARE. |
curl_setopt | Aggiunta la risorsa cURL come primo argomento alla callback CURLOPT_PROGRESSFUNCTION. | |
empty | empty ora supporta le espressioni, piuttosto che solo variabili. | |
pack | The "Z" code was added with equivalent functionality to "a" for Perl compatibility. | |
set_exception_handler | In precedenza, se veniva passato null allora questa funzione restituiva true. Restituisce il gestore precedente da PHP 5.5.0. | |
unpack | Changes were made to bring this function into line with Perl: The "a" code now retains trailing NULL bytes. The "A" code now strips all trailing ASCII whitespace (spaces, tabs, newlines, carriage returns, and NULL bytes). The "Z" code was added for NULL-padded strings, and removes trailing NULL bytes. | |
5.4.8 | assert | È stato aggiunto il parametro description. La description è anche ora fornita ad una funzione di callback in modalità ASSERT_CALLBACK come quarto parametro. |
5.4.7 | curl_getinfo | Introdotte CURLINFO_PRIMARY_IP, CURLINFO_PRIMARY_PORT, CURLINFO_LOCAL_IP e CURLINFO_LOCAL_PORT. |
5.4.0 | apache_child_terminate | Questa funzione diventa disponibile sotto FastCGI. Precedentemente, era supportata solo quando PHP era installato come modulo Apache. |
array_multisort | Le costanti SORT_NATURAL e SORT_FLAG_CASE sonon state aggiunte a array1_sort_flags come flag di tipo. | |
empty | Il controllo su offset non numerici di stringhe restituisce true. | |
iconv | Da questa versione, la funzione restituisce false in caso di caratteri illegali, a meno che non venga specificato //IGNORE nel charset di output. Prima, questa funzione restituiva una stringa di output parziale. | |
isset | Il controllo su offset di stringhe non numerici ora restituisce false. | |
5.3.15, 5.4.5 | Collator::getSortKey | Sort keys do no longer contain any NUL bytes. |
5.3.9 | is_a | Aggiunto il parametro allow_string |
is_subclass_of | Aggiunto il parametro allow_string | |
5.3.7 | curl_getinfo | Introdotto CURLINFO_REDIRECT_URL. |
is_subclass_of | Aggiunto il supporto per class_name per funzionare come le interfacce | |
5.3.4 | sleep | Prima di PHP 5.3.4 in Windows, sleep ritorna sempre null quando è eseguita, a prescindere dal fatto che sia stata interrotta o meno. |
5.3.0 | array_multisort | La costante SORT_LOCALE_STRING è stata aggiunta a array1_sort_flags come flag di tipo. |
curl_setopt | Introdotto CURLOPT_PROGRESSFUNCTION. | |
get_class | null è diventato il valore di default per object, quindi passare null a object ora ha lo stesso risultato di non passare nessun valore. | |
get_object_vars | Questa funzione ora restituisce null se object non è un oggetto. In precedenza veniva restituito false. | |
is_a | Questa funzione non è più deprecata, e quindi non genererà warning E_STRICT. | |
setlocale | Questa funzione emette un avviso E_DEPRECATED se una stringa è passata al parametro category invece che una delle costanti LC_*. | |
strtotime | Prima di PHP 5.3.0, 24:00 non era un formato valido e strtotime restituiva false. | |
strtotime | Prima di PHP 5.3.0, i formati del tempo relativi forniti all'argomento time di strtotime come this week, previous week, last week, e next week erano interpretati per intendere un periodo di 7 giorni relativo alla data/ora corrente, invece di un periodo settimanale di Monday a Sunday. | |
5.2.10 | curl_setopt | Introdotto CURLOPT_PROTOCOLS, e CURLOPT_REDIR_PROTOCOLS. |
5.2.7 | error_log | Aggiunto il valore 4 per message_type |
strtotime | In PHP 5 precedente a 5.2.7, richiedere una data occorrenza di un dato giorno della settimana in un mese dove il giorno della settimana era il primo giorno del mese aggiungerebbe in modo scorretto una settimana al timestamp restituito. Questo è stato corretto in 5.2.7 e nelle versioni successive. | |
5.2.5 | addcslashes | Sono state aggiunte le sequenze di escape \v e \f. |
debug_backtrace | Aggiunto il parametro opzionale provide_object. | |
5.2.4 | curl_getinfo | Introdotto CURLINFO_PRIVATE. |
5.2.0 | curl_multi_info_read | È stato aggiunto msgs_in_queue. |
error_reporting | Inserita E_RECOVERABLE_ERROR. | |
simplexml_load_file | The optional parameter is_prefix was added. | |
simplexml_load_string | The optional parameter is_prefix was added. | |
SimpleXMLElement::attributes | The optional parameter is_prefix was added. | |
SimpleXMLElement::__construct | Added the ns and is_prefix parameters. | |
5.1.3 | curl_getinfo | Introdotto CURLINFO_HEADER_OUT. |
5.1.2 | SimpleXMLElement::__construct | Added the options and data_is_url parameters. |
5.1.1 | date | Ci sono delle costanti utili dei formati di data/ora standard che possono essere usate per specificare il parametro format. |
debug_backtrace | Aggiunto l'object corrente come possibile elemento di ritorno. | |
gmdate | Ci sono delle costanti utili di formati data/orario standard che possono essere usate per specificare il parametro format. | |
5.1.0 | ctype_digit | Prima di PHP 5.1.0, questa stringa restituiva true quando text era una stringa vuota. |
curl_setopt | Introdotto CURLOPT_AUTOREFERER, CURLOPT_BINARYTRANSFER, CURLOPT_FTPSSLAUTH, CURLOPT_PROXYAUTH, e CURLOPT_TIMECONDITION. | |
date | Ora emette gli errori time zone E_STRICT e E_NOTICE | |
date | L'intervallo valido di un timestamp è tipicamente da Ven, 13 Dec 1901 20:45:54 GMT a Mar, 19 Gen 2038 03:14:07 GMT. (Queste sono le date che corrispondono al valore minimo e massimo per un intero con segno a 32-bit). Tuttavia, prima di PHP 5.1.0 questo intervallo era limitato da 01-01-1970 a 19-01-2038 su alcuni sistemi (es. Windows). | |
get_parent_class | Se venisse chiamata senza parametro fuori dall'oggetto, questa funzione dovrebbe restituire null con un avvertimento, ma ora restituisce false. | |
gettimeofday | Il parametro return_float è stato aggiunto. | |
gmdate | Il range valido di un timestamp è tipicamente da Venerdì, 13 Dicembre 1901 20:45:54 GMT a Martedì, 19 Gennaio 2038 03:14:07 GMT. (Queste sono le date che corrispondono ai valori minimo e massimo per un intero a 32-bit con il segno). Comunque, prima di PHP 5.1.0 questo range era limitato da 01-01-1970 a 01-19-2038 su alcuni sistemi (per esempio Windows). | |
intval | Genera E_NOTICE e restituisce 1, quando un oggetto è passato a var. | |
sha1_file | Modificata la funzione per utilizzare lr API streams. Ciò significa che si può utlizzare la funzione con i vari warppers, tipo sha1_file('http://example.com/..') | |
str_word_count | Aggiunto il parametro charlist | |
strtotime | Ora restituisce false in caso di fallimento, invece di -1. | |
strtotime | Ora emette gli errori time zone E_STRICT e E_NOTICE | |
var_export | Possibilità di esportare classi e array contenenti classi utilizzando il metodo magico __set_state(). | |
5.0.3 | get_class_vars | get_class_vars restituirà solo le proprietà che possono essere accedute dall'ambito corrente. |
is_subclass_of | Si potrebbe anche specificare il parametro object come una stringa (il nome della classe) | |
5.0.2 | get_class_vars | Chiamando get_class_vars verranno esposte tutte le proprietà come array, a differenza dei precedenti comportamenti dove le proprietà protected e private erano prefissate con byte nul. |
strtotime | In PHP 5 fino a 5.0.2, "now" e altri tempi relativi sono erroneamente calcolati a partire dalla mezzanotte di oggi. Questo differisce dalle altre versioni in cui viene correttamente calcolato dal tempo corrente. | |
5.0.1 | get_class_vars | Chiamando get_class_vars verranno esposte tutte le proprietà, come quando si converte un oggetto in una classe. |
5.0.0 | curl_setopt | Introdotto CURLOPT_FTP_USE_EPRT, CURLOPT_NOSIGNAL, CURLOPT_UNRESTRICTED_AUTH, CURLOPT_BUFFERSIZE, CURLOPT_HTTPAUTH, CURLOPT_PROXYPORT, CURLOPT_PROXYTYPE, CURLOPT_SSLCERTTYPE, e CURLOPT_HTTP200ALIASES. |
error_reporting | Inserita E_STRICT (non fa parte di E_ALL). | |
is_a | Questa funzione venne deprecata in favore dell'operatore instanceof. La chiamata a questa funzione risulterà in un warning E_STRICT. | |
opendir | path accetta il wrapper URL ftp:// . | |
sha1_file | Aggiunto il parametro raw_output. | |
strtotime | I microsecondi hanno cominciato ad essere consentiti, ma sono ignorati. | |
usleep | Questa funzione ora funziona anche sui sistemi Windows. |