As alterações a seguir foram feitas em funções de extensões nativas
Version | Function | Description |
---|---|---|
Since 4.1.0 | hexdec | A função pode agora converter valores que são maior que o tipo integer da plataforma, retornará o valor como float neste caso. |
PHP 4.3.3 | ftruncate | Antes desta versão, ftruncate retornava integer no valor 1 no caso de sucesso, ao invés de boolean true. |
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. |
Desde o 5.0.0 | get_class | O parâmetro object é opcional se chamado para um método do objeto. |
get_class | O nome da classe é retornado em sua notação original. | |
get_parent_class | O parâmetro object é opcional se chamado de um método de objeto. | |
Desde o 5.0 | cal_info | O parâmetro calendar é opcional e o padrão é "todos calendários" se omitido. |
Desde o 4.1.0 | bindec | A função pode agora converter números grandes para se ajustar ao tipo integer da plataforma, valores grandes são retornados como float neste caso. |
Desde o 4.0.5 | get_parent_class | Se object é uma string, retorna o nome da classe pai da classe com este nome. |
Antes do 5.1.0 | get_parent_class | Se chamado sem parâmetro fora do objeto, esta função retornaria null com um aviso. |
antes do 4.2.0 | get_object_vars | Se as variáveis declaradas na classe da qual o object é uma instância, não foram assimilado um valor, estes não serão retornados no array |
8.2.0 | DateTimeInterface::format | Os caracteres de formatação X e x foram adicionados. |
dba_fetch | dba_fetch's optional skip argument is now at the end in line with PHP userland semantics. The previously overloaded signature is still accepted but discouraged. | |
dba_open | flags is added. | |
dba_open | handler is now nullable. | |
dba_popen | flags is added. | |
random_bytes | In case of a CSPRNG failure, this function will now throw a Random\RandomException. Previously a plain Exception was thrown. | |
random_int | In case of a CSPRNG failure, this function will now throw a Random\RandomException. Previously a plain Exception was thrown. | |
snmp_set_enum_print | O tipo do retorno agora é true; anteriormente, era bool. | |
snmp_set_oid_output_format | O tipo do retorno agora é true; anteriormente, era bool. | |
snmp_set_quick_print | O tipo do retorno agora é true; anteriormente, era bool. | |
snmp_set_valueretrieval | O tipo do retorno agora é true; anteriormente, era bool. | |
sort | O tipo do retorno agora é true; anteriormente, era bool. | |
utf8_decode | This function has been deprecated. | |
utf8_encode | This function has been deprecated. | |
IntlCalendar::clear | O tipo do retorno agora é true; anteriormente, era bool. | |
IntlCalendar::set | O tipo do retorno agora é true; anteriormente, era bool. | |
IntlCalendar::setFirstDayOfWeek | O tipo do retorno agora é true; anteriormente, era bool. | |
IntlCalendar::setLenient | O tipo do retorno agora é true; anteriormente, era bool. | |
IntlCalendar::setRepeatedWallTimeOption | O tipo do retorno agora é true; anteriormente, era bool. | |
IntlCalendar::setSkippedWallTimeOption | O tipo do retorno agora é true; anteriormente, era bool. | |
8.1.0 | DOMDocument::createComment | In case of an error, a DomException is thrown now. Previously, false was returned. |
DOMDocument::createDocumentFragment | In case of an error, a DomException is thrown now. Previously, false was returned. | |
DOMDocument::createTextNode | In case of an error, a DomException is thrown now. Previously, false was returned. | |
current | Chamar esta função em objects tornou-se obsoleto. Use get_mangled_object_vars no object primeiro ou use ArrayIterator. | |
dba_popen | handler is now nullable. | |
finfo_buffer | O parâmetro finfo agora espera uma instância de finfo; anteriormente, um resource era esperado. | |
finfo_close | O parâmetro finfo agora espera uma instância de finfo; anteriormente, um resource era esperado. | |
finfo_file | O parâmetro finfo agora espera uma instância de finfo; anteriormente, um resource era esperado. | |
finfo_open | Returns an finfo instance now; previously, a resource was returned. | |
finfo_set_flags | O parâmetro finfo agora espera uma instância de finfo; anteriormente, um resource era esperado. | |
hash | The options parameter has been added. | |
hash_algos | Support for MurmurHash3 and xxHash algorithms has been added. | |
hash_file | The options parameter has been added. | |
hash_init | The options parameter has been added. | |
imap_append | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_body | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_bodystruct | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_check | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_clearflag_full | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_close | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_createmailbox | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_delete | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_deletemailbox | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_expunge | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_fetch_overview | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_fetchbody | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_fetchheader | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_fetchmime | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_fetchstructure | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_gc | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_get_quota | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_get_quotaroot | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_getacl | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_getmailboxes | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_getsubscribed | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_headerinfo | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_headers | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_list | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_listscan | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_lsub | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_mail_copy | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_mail_move | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_mailboxmsginfo | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_msgno | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_num_msg | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_num_recent | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_open | Returns an IMAP\Connection instance now; previously, a resource was returned. | |
imap_ping | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_renamemailbox | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_reopen | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_savebody | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_search | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_set_quota | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_setacl | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_setflag_full | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_sort | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_status | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_subscribe | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_thread | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_uid | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_undelete | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
imap_unsubscribe | O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resource imap válido era esperado. | |
ldap_add | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_add_ext | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_add_ext | Agora retorna uma instância de LDAP\Result; anteriormente, um resource era retornado. | |
ldap_bind | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_bind_ext | Agora retorna uma instância de LDAP\Result; anteriormente, um resource era retornado. | |
ldap_bind_ext | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_compare | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_connect | Returns an LDAP\Connection instance now; previously, a resource was returned. | |
ldap_count_entries | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_count_entries | O parâmetro result agora espera uma instância de LDAP\Result; anteriormente, um resource de resultado do LDAP válido era esperado. | |
ldap_count_references | O parâmetro result agora espera uma instância de LDAP\Result; anteriormente, um resource de resultado do LDAP válido era esperado. | |
ldap_count_references | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_delete | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_delete_ext | Agora retorna uma instância de LDAP\Result; anteriormente, um resource era retornado. | |
ldap_delete_ext | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_errno | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_error | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_exop | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_exop_passwd | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_exop_refresh | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_exop_whoami | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_first_attribute | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_first_attribute | O parâmetro entry agora espera uma instância de LDAP\ResultEntry; anteriormente, um resource de entrada de resultado do LDAP válida era esperado. | |
ldap_first_entry | Agora retorna uma instância de LDAP\ResultEntry; anteriormente, um resource era retornado. | |
ldap_first_entry | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_first_entry | O parâmetro result agora espera uma instância de LDAP\Result; anteriormente, um resource de resultado do LDAP válido era esperado. | |
ldap_free_result | O parâmetro result agora espera uma instância de LDAP\Result; anteriormente, um resource de resultado do LDAP válido era esperado. | |
ldap_get_attributes | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_get_attributes | O parâmetro entry agora espera uma instância de LDAP\ResultEntry; anteriormente, um resource de entrada de resultado do LDAP válida era esperado. | |
ldap_get_dn | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_get_dn | O parâmetro entry agora espera uma instância de LDAP\ResultEntry; anteriormente, um resource de entrada de resultado do LDAP válida era esperado. | |
ldap_get_entries | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_get_entries | O parâmetro result agora espera uma instância de LDAP\Result; anteriormente, um resource de resultado do LDAP válido era esperado. | |
ldap_get_option | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_get_values | O parâmetro entry agora espera uma instância de LDAP\ResultEntry; anteriormente, um resource de entrada de resultado do LDAP válida era esperado. | |
ldap_get_values | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_get_values_len | O parâmetro entry agora espera uma instância de LDAP\ResultEntry; anteriormente, um resource de entrada de resultado do LDAP válida era esperado. | |
ldap_get_values_len | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_list | Agora retorna uma instância de LDAP\Result; anteriormente, um resource era retornado. | |
ldap_list | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_mod_add | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_mod_del | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_mod_replace | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_modify_batch | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_mod_add_ext | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_mod_add_ext | Agora retorna uma instância de LDAP\Result; anteriormente, um resource era retornado. | |
ldap_mod_del_ext | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_mod_del_ext | Agora retorna uma instância de LDAP\Result; anteriormente, um resource era retornado. | |
ldap_mod_replace_ext | Agora retorna uma instância de LDAP\Result; anteriormente, um resource era retornado. | |
ldap_mod_replace_ext | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_next_attribute | O parâmetro entry agora espera uma instância de LDAP\ResultEntry; anteriormente, um resource de entrada de resultado do LDAP válida era esperado. | |
ldap_next_attribute | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_next_entry | O parâmetro entry agora espera uma instância de LDAP\ResultEntry; anteriormente, um resource de entrada de resultado do LDAP válida era esperado. | |
ldap_next_entry | Agora retorna uma instância de LDAP\Result; anteriormente, um resource era retornado. | |
ldap_next_entry | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_parse_exop | O parâmetro result agora espera uma instância de LDAP\Result; anteriormente, um resource de resultado do LDAP válido era esperado. | |
ldap_parse_exop | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_parse_result | O parâmetro result agora espera uma instância de LDAP\Result; anteriormente, um resource de resultado do LDAP válido era esperado. | |
ldap_parse_result | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_read | Agora retorna uma instância de LDAP\Result; anteriormente, um resource era retornado. | |
ldap_read | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_rename | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_rename_ext | Agora retorna uma instância de LDAP\Result; anteriormente, um resource era retornado. | |
ldap_rename_ext | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_sasl_bind | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_search | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_search | Agora retorna uma instância de LDAP\Result; anteriormente, um resource era retornado. | |
ldap_set_option | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_set_rebind_proc | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
ldap_unbind | O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resource de conexão LDAP válida era esperado. | |
mb_check_encoding | Calling this function with null as value or without argument is deprecated. | |
openssl_cms_encrypt | The default cipher algorithm (cipher_algo) is now AES-128-CBC (OPENSSL_CIPHER_AES_128_CBC). Previously, PKCS7/CMS was used (OPENSSL_CIPHER_RC2_40). | |
openssl_decrypt | tag is now nullable. | |
openssl_pkcs7_encrypt | The default cipher algorithm (cipher_algo) is now AES-128-CBC (OPENSSL_CIPHER_AES_128_CBC). Previously, PKCS7/CMS was used (OPENSSL_CIPHER_RC2_40). | |
pspell_add_to_personal | O parâmetro dictionary agora espera uma instância de PSpell\Dictionary; anteriormente, um resource era esperado. | |
pspell_add_to_session | O parâmetro dictionary agora espera uma instância de PSpell\Dictionary; anteriormente, um resource era esperado. | |
pspell_check | O parâmetro dictionary agora espera uma instância de PSpell\Dictionary; anteriormente, um resource era esperado. | |
pspell_clear_session | O parâmetro dictionary agora espera uma instância de PSpell\Dictionary; anteriormente, um resource era esperado. | |
pspell_config_create | Returns an PSpell\Config instance now; previously, a resource was returned. | |
pspell_config_data_dir | O parâmetro config agora espera uma instância de PSpell\Config; anteriormente, um resource era esperado. | |
pspell_config_dict_dir | O parâmetro config agora espera uma instância de PSpell\Config; anteriormente, um resource era esperado. | |
pspell_config_ignore | O parâmetro config agora espera uma instância de PSpell\Config; anteriormente, um resource era esperado. | |
pspell_config_mode | O parâmetro config agora espera uma instância de PSpell\Config; anteriormente, um resource era esperado. | |
pspell_config_personal | O parâmetro config agora espera uma instância de PSpell\Config; anteriormente, um resource era esperado. | |
pspell_config_repl | O parâmetro config agora espera uma instância de PSpell\Config; anteriormente, um resource era esperado. | |
pspell_config_runtogether | O parâmetro config agora espera uma instância de PSpell\Config; anteriormente, um resource era esperado. | |
pspell_config_save_repl | O parâmetro config agora espera uma instância de PSpell\Config; anteriormente, um resource era esperado. | |
pspell_new | Returns an PSpell\Dictionary instance now; previously, a resource was returned. | |
pspell_new_config | O parâmetro config agora espera uma instância de PSpell\Config; anteriormente, um resource era esperado. | |
pspell_new_config | Returns an PSpell\Dictionary instance now; previously, a resource was returned. | |
pspell_new_personal | Returns an PSpell\Dictionary instance now; previously, a resource was returned. | |
pspell_save_wordlist | O parâmetro dictionary agora espera uma instância de PSpell\Dictionary; anteriormente, um resource era esperado. | |
pspell_store_replacement | O parâmetro dictionary agora espera uma instância de PSpell\Dictionary; anteriormente, um resource era esperado. | |
pspell_suggest | O parâmetro dictionary agora espera uma instância de PSpell\Dictionary; anteriormente, um resource era esperado. | |
snmp3_get | The auth_protocol now accepts "SHA256" and "SHA512" when supported by libnetsnmp. | |
snmp3_getnext | The auth_protocol now accepts "SHA256" and "SHA512" when supported by libnetsnmp. | |
snmp3_real_walk | The auth_protocol now accepts "SHA256" and "SHA512" when supported by libnetsnmp. | |
snmp3_walk | The auth_protocol now accepts "SHA256" and "SHA512" when supported by libnetsnmp. | |
stream_select | microseconds is now nullable. | |
mysqli_driver::$report_mode | O valor padrão agora é MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT. Anteriormente, era MYSQLI_REPORT_OFF. | |
mysqli_result::fetch_all | Now also available when linking against libmysqlclient. | |
mysqli_stmt::next_result | Now also available when linking against libmysqlclient. | |
Phar::buildFromDirectory | Phar::buildFromDirectory no longer returns false. | |
Phar::buildFromIterator | Phar::buildFromIterator no longer returns false. | |
PharData::buildFromDirectory | PharData::buildFromDirectory no longer returns false. | |
PharData::buildFromIterator | PharData::buildFromIterator no longer returns false. | |
ReflectionFunctionAbstract::isStatic | This method has been pulled up. Previously, it was only defined in ReflectionMethod. | |
ReflectionClassConstant::getName | Throws an Error in case the name property has not been initialized. Previously, the method returned false on failure. | |
ReflectionExtension::__clone | This method is no longer final. | |
ReflectionFunctionAbstract::__clone | This method is no longer final. | |
ReflectionParameter::__clone | This method is no longer final. | |
ReflectionProperty::__clone | This method is no longer final. | |
ReflectionProperty::getValue | Private and protected properties can be accessed by ReflectionProperty::getValue right away. Previously, they needed to be made accessible by calling ReflectionProperty::setAccessible; otherwise a ReflectionException was thrown. | |
ReflectionProperty::setValue | Private and protected properties can be accessed by ReflectionProperty::setValue right away. Previously, they needed to be made accessible by calling ReflectionProperty::setAccessible; otherwise a ReflectionException was thrown. | |
ReflectionZendExtension::__clone | This method is no longer final. | |
SimpleXMLElement::current | An Error is now thrown if SimpleXMLElement::current is called on an invalid iterator. Previously, null was returned. | |
SimpleXMLElement::key | An Error is now thrown if SimpleXMLElement::key is called on an invalid iterator. Previously, false was returned. | |
8.0.3 | DOMDocument::getElementsByTagNameNS | namespace is nullable now. |
DOMElement::getElementsByTagNameNS | namespace is nullable now. | |
DOMImplementation::createDocument | namespace is now nullable. | |
finfo::__construct | magic_database is nullable now. | |
finfo_open | magic_database is nullable now. | |
SoapClient::__setLocation | location is nullable now. | |
SoapVar::__construct | typeName, typeNamespace, nodeName,and nodeNamespace are nullable now. | |
8.0.0, PECL OCI8 3.0.0 | oci_connect | connection_string is now nullable. |
oci_error | connection_or_statement is now nullable. | |
oci_lob_copy | length is now nullable. | |
oci_new_collection | schema is now nullable. | |
oci_new_connect | connection_string is now nullable. | |
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::erase | offset and length are now nullable. | |
OCILob::export | offset and length are now nullable. | |
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 | length is now nullable. | |
OCILob::write | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. | |
OCILob::writeToFile | offset and length are now nullable. | |
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::createFromImmutable | The method returns an instance of the currently invoked class now. Previously, it created a new instance of DateTime. |
DateTimeInterface::format | Antes desta versão, false era retornado em caso de falha. | |
DateTimeInterface::format | O caractere de formatação p foi adicionado. | |
DOMImplementation::createDocument | doctype is now nullable. | |
FFI::cdef | lib is nullable now. | |
FFI::string | size is nullable now; previously, its default was 0. | |
apache_note | note_value agora permite null. | |
array_column | Objetos em colunas indicadas pelo parâmetro index_key não serão mais convertidos em string e agora irão lançar um TypeError em vez disso. | |
array_diff | Esta função agora pode ser chamada com apenas um parâmetro. Anteriormente, pelo menos dois parâmetros eram necessários. | |
array_diff_assoc | Esta função agora pode ser chamada com apenas um parâmetro. Anteriormente, pelo menos dois parâmetros eram necessários. | |
array_diff_key | Esta função agora pode ser chamada com apenas um parâmetro. Anteriormente, pelo menos dois parâmetros eram necessários. | |
array_fill | array_fill agora lança um ValueError se count estiver fora de alance; anteriormente um E_WARNING era disparado, e a função retornava false. | |
array_filter | callback agora é anulável. | |
array_filter | Se a função callback esperar que um parâmetro seja passado por referência, esta função agora emitirá um E_WARNING. | |
array_intersect | Esta função agora pode ser chamada com apenas um parâmetro. Anteriormente, pelo menos dois parâmetros eram necessários. | |
array_intersect_assoc | Esta função agora pode ser chamada com apenas um parâmetro. Anteriormente, pelo menos dois parâmetros eram necessários. | |
array_intersect_key | Esta função agora pode ser chamada com apenas um parâmetro. Anteriormente, pelo menos dois parâmetros eram necessários. | |
array_map | Se a função callback esperar que um parâmetro seja passado por referência, esta função agora emitirá um E_WARNING. | |
array_reduce | Se a função callback esperar que um parâmetro seja passado por referência, esta função agora emitirá um E_WARNING. | |
array_splice | length agora é anulável. | |
array_walk | Se callback espera que o segundo ou terceiro parâmetro seja passado por referência, essa função agora emite um E_WARNING. | |
bcadd | scale pode ser null. | |
bccomp | scale pode ser null. | |
bcdiv | scale pode ser null. | |
bcmod | scale pode ser null. | |
com_event_sink | sink_interface is nullable now. | |
com_get_active_object | codepage is nullable now. | |
curl_escape | O parâmetro handle agora espera uma instância de CurlHandle; anteriormente, um resource era esperado. | |
curl_multi_add_handle | O parâmetro multi_handle agora espera uma instância de CurlMultiHandle; anteriormente, um resource era esperado. | |
curl_multi_add_handle | O parâmetro handle agora espera uma instância de CurlHandle; anteriormente, um resource era esperado. | |
curl_multi_errno | A função não retorna mais false em caso de falha. | |
curl_multi_errno | O parâmetro multi_handle agora espera uma instância de CurlMultiHandle; anteriormente, um resource era esperado. | |
curl_multi_exec | O parâmetro multi_handle agora espera uma instância de CurlMultiHandle; anteriormente, um resource era esperado. | |
curl_multi_setopt | O parâmetro multi_handle agora espera uma instância de CurlMultiHandle; anteriormente, um resource era esperado. | |
curl_setopt | O parâmetro handle agora espera uma instância de CurlHandle; anteriormente, um resource era esperado. | |
curl_share_errno | O parâmetro share_handle agora espera uma instância de CurlShareHandle; anteriormente, um resource era esperado. | |
curl_share_errno | A função não retorna mais false em caso de falha. | |
date | timestamp agora é anulável. | |
dom_import_simplexml | This function no longer returns null on failure. | |
enchant_broker_describe | O parâmetro broker agora espera uma instância de EnchantBroker; anteriormente, um resource era esperado. | |
enchant_broker_describe | Prior to this version, the function returned false on failure. | |
enchant_broker_dict_exists | O parâmetro broker agora espera uma instância de EnchantBroker; anteriormente, um resource era esperado. | |
enchant_broker_free | O parâmetro broker agora espera uma instância de EnchantBroker; anteriormente, um resource era esperado. | |
enchant_broker_free_dict | dictionary expects a EnchantDictionary now; previoulsy, a resource was expected. | |
enchant_broker_get_dict_path | O parâmetro broker agora espera uma instância de EnchantBroker; anteriormente, um resource era esperado. | |
enchant_broker_get_error | O parâmetro broker agora espera uma instância de EnchantBroker; anteriormente, um resource era esperado. | |
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 | O parâmetro broker agora espera uma instância de EnchantBroker; anteriormente, um resource era esperado. | |
enchant_broker_request_dict | On success, this function returns an EnchantDictionary instance now; previoulsy, a resource was retured. | |
enchant_broker_request_dict | O parâmetro broker agora espera uma instância de EnchantBroker; anteriormente, um resource era esperado. | |
enchant_broker_request_pwl_dict | On success, this function returns an EnchantDictionary instance now; previoulsy, a resource was retured. | |
enchant_broker_request_pwl_dict | O parâmetro broker agora espera uma instância de EnchantBroker; anteriormente, um resource era esperado. | |
enchant_broker_set_dict_path | O parâmetro broker agora espera uma instância de EnchantBroker; anteriormente, um resource era esperado. | |
enchant_broker_set_ordering | O parâmetro broker agora espera uma instância de EnchantBroker; anteriormente, um resource era esperado. | |
enchant_dict_add | O parâmetro dictionary agora espera uma instância de EnchantDictionary; anteriormente, um resource era esperado. | |
enchant_dict_add_to_session | O parâmetro dictionary agora espera uma instância de EnchantDictionary; anteriormente, um resource era esperado. | |
enchant_dict_check | O parâmetro dictionary agora espera uma instância de EnchantDictionary; anteriormente, um resource era esperado. | |
enchant_dict_describe | Prior to this version, the function returned false on failure. | |
enchant_dict_describe | O parâmetro dictionary agora espera uma instância de EnchantDictionary; anteriormente, um resource era esperado. | |
enchant_dict_get_error | O parâmetro dictionary agora espera uma instância de EnchantDictionary; anteriormente, um resource era esperado. | |
enchant_dict_is_added | O parâmetro dictionary agora espera uma instância de EnchantDictionary; anteriormente, um resource era esperado. | |
enchant_dict_quick_check | O parâmetro dictionary agora espera uma instância de EnchantDictionary; anteriormente, um resource era esperado. | |
enchant_dict_store_replacement | O parâmetro dictionary agora espera uma instância de EnchantDictionary; anteriormente, um resource era esperado. | |
enchant_dict_suggest | O parâmetro dictionary agora espera uma instância de EnchantDictionary; anteriormente, um resource era esperado. | |
file_get_contents | length agora é anulável. | |
finfo_buffer | context is nullable now. | |
finfo_file | context is nullable now. | |
gmdate | timestamp agora é anulável. | |
grapheme_substr | The function now consistently clamps out-of-bounds offsets to the string boundary. Previously, false was returned instead of the empty string in some cases. | |
hash | hash now throws a ValueError exception if algo is unknown; previously, false was returned instead. | |
hash_hkdf | Now throws a ValueError exception on error. Previously, false was returned and an E_WARNING message was emitted. | |
hash_hmac | Now throws a ValueError exception if algo is unknown or is a non-cryptographic hash function; previously, false was returned instead. | |
hash_hmac_file | Now throws a ValueError exception if algo is unknown or is a non-cryptographic hash function; previously, false was returned instead. | |
hash_init | Now throws an ValueError exception if the algo is unknown or is a non-cryptographic hash function, or if key is empty. Previously, false was returned and an E_WARNING message was emitted. | |
hash_pbkdf2 | Now throws a ValueError exception on error. Previously, false was returned and an E_WARNING message was emitted. | |
hash_update_file | stream_context is now nullable. | |
iconv_mime_decode | encoding é anulável agora. | |
iconv_mime_decode_headers | encoding é anulável agora. | |
iconv_strlen | encoding é anulável agora. | |
iconv_strpos | encoding é anulável agora. | |
iconv_strrpos | encoding é anulável agora. | |
iconv_substr | length e encoding são anuláveis agora. | |
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 | search_criteria and charset are now nullable. | |
imap_sort | reverse is now bool instead of int. | |
jdtounix | Essa funcão não retorna mais false em caso de falha, mas lança uma exceção ValueError. | |
ldap_add | O parâmetro controls agora pode ser nulo; anteriormente, o padrão era []. | |
ldap_add_ext | O parâmetro controls agora pode ser nulo; anteriormente, o padrão era []. | |
ldap_bind_ext | O parâmetro controls agora pode ser nulo; anteriormente, o padrão era []. | |
ldap_compare | O parâmetro controls agora pode ser nulo; anteriormente, o padrão era []. | |
ldap_control_paged_result | This function has been removed. | |
ldap_control_paged_result_response | This function has been removed. | |
ldap_delete | O parâmetro controls agora pode ser nulo; anteriormente, o padrão era []. | |
ldap_delete_ext | O parâmetro controls agora pode ser nulo; anteriormente, o padrão era []. | |
ldap_exop_passwd | O parâmetro controls agora pode ser nulo; anteriormente, o padrão era []. | |
ldap_first_attribute | The unused third parameter ber_identifier is no longer accepted. | |
ldap_list | O parâmetro controls agora pode ser nulo; anteriormente, o padrão era []. | |
ldap_mod_add | O parâmetro controls agora pode ser nulo; anteriormente, o padrão era []. | |
ldap_mod_del | O parâmetro controls agora pode ser nulo; anteriormente, o padrão era []. | |
ldap_mod_replace | O parâmetro controls agora pode ser nulo; anteriormente, o padrão era []. | |
ldap_modify_batch | O parâmetro controls agora pode ser nulo; anteriormente, o padrão era []. | |
ldap_mod_add_ext | O parâmetro controls agora pode ser nulo; anteriormente, o padrão era []. | |
ldap_mod_del_ext | O parâmetro controls agora pode ser nulo; anteriormente, o padrão era []. | |
ldap_mod_replace_ext | O parâmetro controls agora pode ser nulo; anteriormente, o padrão era []. | |
ldap_next_attribute | The unused third parameter ber_identifier is no longer accepted. | |
ldap_read | O parâmetro controls agora pode ser nulo; anteriormente, o padrão era []. | |
ldap_rename | O parâmetro controls agora pode ser nulo; anteriormente, o padrão era []. | |
ldap_rename_ext | O parâmetro controls agora pode ser nulo; anteriormente, o padrão era []. | |
ldap_sasl_bind | dn, password, mech, realm, authc_id, authz_id and props are nullable now. | |
ldap_search | O parâmetro controls agora pode ser nulo; anteriormente, o padrão era []. | |
ldap_set_rebind_proc | callback is nullable now. | |
ldap_sort | This function has been removed. | |
mb_check_encoding | value and encoding are nullable now. | |
mb_chr | O parâmetro encoding agora pode ser nulo. | |
mb_convert_encoding | mb_convert_encoding will now throw a ValueError when to_encoding is passed an invalid encoding. | |
mb_convert_encoding | from_encoding is nullable now. | |
mb_convert_encoding | mb_convert_encoding will now throw a ValueError when from_encoding is passed an invalid encoding. | |
mb_convert_kana | O parâmetro encoding agora pode ser nulo. | |
mb_decode_numericentity | O parâmetro encoding agora pode ser nulo. | |
mb_detect_order | O parâmetro encoding agora pode ser nulo. | |
mb_encode_mimeheader | charset and transfer_encoding are nullable now. | |
mb_encode_numericentity | O parâmetro encoding agora pode ser nulo. | |
mb_encoding_aliases | If the encoding is unknown, a ValueError is now thrown; previously an E_WARNING was emitted, and the function returned false. | |
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 | O parâmetro encoding agora pode ser nulo. | |
mb_internal_encoding | O parâmetro encoding agora pode ser nulo. | |
mb_internal_encoding | Now throws a ValueError if encoding is an invalid encoding. Previously a E_WARNING was emitted instead. | |
mb_language | language is nullable now. | |
mb_ord | O parâmetro encoding agora pode ser nulo. | |
mb_parse_str | The second parameter was no longer optional. | |
mb_regex_encoding | O parâmetro encoding agora pode ser nulo. | |
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_regex_set_options | options is nullable now. | |
mb_scrub | O parâmetro encoding agora pode ser nulo. | |
mb_send_mail | additional_params is nullable now. | |
mb_str_split | This function no longer returns false on failure. | |
mb_str_split | O parâmetro encoding agora pode ser nulo. | |
mb_strcut | O parâmetro encoding agora pode ser nulo. | |
mb_strimwidth | O parâmetro encoding agora pode ser nulo. | |
mb_stripos | O parâmetro encoding agora pode ser nulo. | |
mb_stripos | O parâmetro needle agora aceita uma string vazia. | |
mb_stristr | O parâmetro encoding agora pode ser nulo. | |
mb_stristr | O parâmetro needle agora aceita uma string vazia. | |
mb_strlen | O parâmetro encoding agora pode ser nulo. | |
mb_strpos | O parâmetro needle agora aceita uma string vazia. | |
mb_strpos | O parâmetro encoding agora pode ser nulo. | |
mb_strrchr | O parâmetro needle agora aceita uma string vazia. | |
mb_strrchr | O parâmetro encoding agora pode ser nulo. | |
mb_strrichr | O parâmetro encoding agora pode ser nulo. | |
mb_strrichr | O parâmetro needle agora aceita uma string vazia. | |
mb_strripos | O parâmetro encoding agora pode ser nulo. | |
mb_strripos | O parâmetro needle agora aceita uma string vazia. | |
mb_strrpos | O parâmetro encoding agora pode ser nulo. | |
mb_strrpos | Passing the encoding as the third argument instead of an offset has been removed. | |
mb_strrpos | O parâmetro needle agora aceita uma string vazia. | |
mb_strstr | O parâmetro encoding agora pode ser nulo. | |
mb_strstr | O parâmetro needle agora aceita uma string vazia. | |
mb_strwidth | O parâmetro encoding agora pode ser nulo. | |
mb_substitute_character | Passing an empty string to substitute_character is no longer supported; "none" should be passed instead. | |
mb_substitute_character | O parâmetro encoding agora pode ser nulo. | |
mb_substr | O parâmetro encoding agora pode ser nulo. | |
mb_substr_count | O parâmetro encoding agora pode ser nulo. | |
msg_get_queue | On success, this function returns a SysvMessageQueue instance now; previously, a resource was returned. | |
msg_receive | queue expects a SysvMessageQueue instance now; previously, a resource was expected. | |
msg_remove_queue | queue expects a SysvMessageQueue instance now; previously, a resource was expected. | |
msg_send | queue expects a SysvMessageQueue instance now; previously, a resource was expected. | |
msg_set_queue | queue expects a SysvMessageQueue instance now; previously, a resource was expected. | |
msg_stat_queue | queue expects a SysvMessageQueue instance now; previously, a resource 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 | private_key accepts an OpenSSLAsymmetricKey instance now; previously, a resource of type OpenSSL key 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_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 | certificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 CSR was accepted. | |
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_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 | This function is now deprecated as it doesn't have an effect anymore. | |
openssl_pkey_free | key accepts an OpenSSLAsymmetricKey now; previously, a resource of type OpenSSL key was accepted. | |
openssl_pkey_get_details | key accepts an OpenSSLAsymmetricKey now; previously, a resource of type OpenSSL key was accepted. | |
openssl_pkey_get_private | passphrase is nullable now. | |
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 | 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 | cipher_algo is no longer an optional parameter. | |
openssl_seal | public_key accepts an array of OpenSSLAsymmetricKey instances now; previously, an array of resources of type OpenSSL key was accepted. | |
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 | certificate accepts an OpenSSLCertificate instance now; previously, a resource of type 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_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 | 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_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 | public_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted. | |
openssl_x509_verify | certificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted. | |
pcntl_async_signals | enable is nullable now. | |
pcntl_getpriority | process_id is nullable now. | |
pcntl_setpriority | process_id is nullable now. | |
round | num não aceita mais objetos internos que suportam conversões numéricas. | |
sem_acquire | semaphore expects a SysvSemaphore instance now; previously, a resource was expected. | |
sem_get | On success, this function returns a SysvSemaphore instance now; previously, a resource was returned. | |
sem_get | The type of auto_release has been changed from int to bool. | |
sem_release | semaphore expects a SysvSemaphore instance now; previously, a resource was expected. | |
sem_remove | semaphore expects a SysvSemaphore instance now; previously, a resource was expected. | |
shm_attach | On success, this function returns an SysvSharedMemory instance now; previously, a resource was returned. | |
shm_attach | size is nullable now. | |
shm_detach | shm expects a SysvSharedMemory instance now; previously, a resource was expected. | |
shm_get_var | shm expects a SysvSharedMemory instance now; previously, a resource was expected. | |
shm_has_var | shm expects a SysvSharedMemory instance now; previously, a resource was expected. | |
shm_put_var | shm expects a SysvSharedMemory instance now; previously, a resource was expected. | |
shm_remove | shm expects a SysvSharedMemory instance now; previously, a resource was expected. | |
shm_remove_var | shm expects a SysvSharedMemory instance now; previously, a resource was expected. | |
stream_context_create | options and params are now nullable. | |
stream_context_get_default | options is now nullable. | |
stream_copy_to_stream | length is now nullable. | |
stream_get_contents | length is now nullable. | |
stream_socket_accept | timeout is now nullable. | |
stream_socket_client | timeout and context are now nullable. | |
stream_socket_enable_crypto | session_stream is now nullable. | |
stream_socket_server | context is nullable now. | |
IntlCalendar::setMinimalDaysInFirstWeek | A ValueError is now thrown on invalid input. Previously, false was returned. | |
IntlTimeZone::getIDForWindowsID | region is now nullable. | |
Locale::getDisplayLanguage | displayLocale is nullable now. | |
Locale::getDisplayName | displayLocale is nullable now. | |
Locale::getDisplayRegion | displayLocale is nullable now. | |
Locale::getDisplayScript | displayLocale is nullable now. | |
Locale::getDisplayVariant | displayLocale is nullable now. | |
mysqli_stmt::close | This function now always returns true. Previously it returned false on failure. | |
mysqli_stmt::__construct | query is now nullable. | |
mysqli::begin_transaction | name agora é anulável. | |
mysqli::rollback | name agora é anulável. | |
NumberFormatter::create | pattern is nullable now. | |
PDOStatement::fetchAll | This method always returns an array now, while previously false may have been returned on failure. | |
Phar::addFile | localName is now nullable. | |
Phar::buildFromIterator | baseDirectory is now nullable. | |
Phar::compress | extension is now nullable. | |
Phar::convertToData | format, compression, and extension are now nullable. | |
Phar::convertToExecutable | format, compression, and extension are now nullable. | |
Phar::createDefaultStub | index and webIndex are now nullable. | |
Phar::decompress | extension is now nullable. | |
Phar::getMetadata | The parameter unserializeOptions has been added. | |
Phar::setDefaultStub | webIndex is nullable now. | |
Phar::setSignatureAlgorithm | privateKey is now nullable. | |
Phar::webPhar | fileNotFoundScript and rewrite are nullable now. | |
PharData::addFile | localName is now nullable. | |
PharData::buildFromIterator | baseDirectory is now nullable. | |
PharData::compress | extension is now nullable. | |
PharData::convertToData | format, compression, and extension are now nullable. | |
PharData::convertToExecutable | format, compression, and localName are now nullable. | |
PharData::decompress | extension is now nullable. | |
PharData::setDefaultStub | webIndex is nullable now. | |
PharData::setSignatureAlgorithm | privateKey is now nullable. | |
PharFileInfo::getMetadata | The parameter unserializeOptions has been added. | |
PharFileInfo::isCompressed | compression is now nullable. | |
ReflectionClass::getConstants | filter has been added. | |
ReflectionClass::getReflectionConstants | filter has been added. | |
ReflectionFunction::invokeArgs | args keys will now be interpreted as parameter names, instead of being silently ignored. | |
ReflectionMethod::getClosure | object is now nullable. | |
ReflectionMethod::invokeArgs | args keys will now be interpreted as parameter names, instead of being silently ignored. | |
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. | |
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 agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::endCdata | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::endComment | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::endDocument | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::endDtd | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::endDtdAttlist | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::endDtdElement | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::endDtdEntity | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::endElement | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::endPi | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::flush | This function can no longer return false. | |
XMLWriter::flush | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::fullEndElement | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
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 agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::setIndent | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::setIndentString | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::startAttribute | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::startAttributeNs | prefix is nullable now. | |
XMLWriter::startAttributeNs | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::startCdata | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::startComment | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::startDocument | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::startDtd | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::startDtdAttlist | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::startDtdElement | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::startDtdEntity | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::startElement | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::startElementNs | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::startPi | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::text | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::writeAttribute | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::writeAttributeNs | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::writeCdata | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::writeComment | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::writeDtd | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::writeDtdAttlist | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::writeDtdElement | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::writeDtdEntity | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::writeDtdEntity | publicId, systemId and notationData are nullable now. | |
XMLWriter::writeElement | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::writeElementNs | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::writePi | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
XMLWriter::writeRaw | writer agora espera uma instância de XMLWriter; anteriormente, um resource era esperado. | |
ZipArchive::setEncryptionIndex | password is now nullable. | |
ZipArchive::setEncryptionName | password is now nullable. | |
7.4.0 | array_merge_recursive | Essa função agora pode ser chamada sem nenhum parâmetro. Anteriormente, pelo menos um parâmetro era necessário. |
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. | |
ldap_control_paged_result | This function has been deprecated. | |
ldap_control_paged_result_response | This function has been deprecated. | |
money_format | Esta função está obsoleta. Utilize NumberFormatter::formatCurrency. | |
openssl_random_pseudo_bytes | The function no longer returns false on failure, but throws an Exception instead. | |
preg_replace_callback | O parâmetro flags foi adicionado. | |
preg_replace_callback_array | The flags parameter was added. | |
str_getcsv | O parâmetro escape agora interpreta uma string vazia como um sinal para desabilitar o mecanismo de escape. Antes, uma string vazia utilizava o valor padrão do parâmetro. | |
unserialize | Added the max_depth element of options to set the maximum depth of structures permitted during unserialization. | |
Locale::lookup | defaultLocale is nullable now. | |
SQLite3Stmt::bindParam | param now also supports the @param notation. | |
SQLite3Stmt::bindValue | param now also supports the @param notation. | |
7.3.24, 7.4.12 | jdtounix | O limite superior de julian_day foi extendido. Antes, era 2465342 sem levar a arquitetura em consideração. |
7.3.15, 7.4.3 | curl_setopt | Introduzido CURLOPT_HTTP09_ALLOWED . |
7.3.14, 7.4.2 | dba_open | The lmdb driver now supports an additional map_size parameter. |
dba_popen | The lmdb driver now supports an additional map_size parameter. | |
7.3.0 | apache_request_headers | Esta função tornou-se disponível na SAPI FPM. |
array_push | Essa função agora pode ser chamada com apenas um parâmetro. This function can now be called with only one parameter. Anteriormente, pelo menos dois parâmetros eram necessários. | |
array_unshift | Essa função agora pode ser chamada com apenas um parâmetro. Anteriomente, pelo menos dois parâmetros eram necessários. | |
compact | compact agora emite um erro nível E_NOTICE se uma determinada string se refere a uma variável não definida. Anteriomente, strings como essa seriam ignoradas silenciosamente. | |
curl_setopt | Introduzido CURLOPT_ABSTRACT_UNIX_SOCKET, CURLOPT_KEEP_SENDING_ON_ERROR, CURLOPT_PRE_PROXY, CURLOPT_PROXY_CAINFO, CURLOPT_PROXY_CAPATH, CURLOPT_PROXY_CRLFILE, CURLOPT_PROXY_KEYPASSWD, CURLOPT_PROXY_PINNEDPUBLICKEY, CURLOPT_PROXY_SSLCERT, CURLOPT_PROXY_SSLCERTTYPE, CURLOPT_PROXY_SSL_CIPHER_LIST, CURLOPT_PROXY_SSLKEY, CURLOPT_PROXY_SSLKEYTYPE, CURLOPT_PROXY_SSL_OPTIONS, CURLOPT_PROXY_SSL_VERIFYHOST, CURLOPT_PROXY_SSL_VERIFYPEER, CURLOPT_PROXY_SSLVERSION, CURLOPT_PROXY_TLSAUTH_PASSWORD, CURLOPT_PROXY_TLSAUTH_TYPE, CURLOPT_PROXY_TLSAUTH_USERNAME, CURLOPT_SOCKS5_AUTH, CURLOPT_SUPPRESS_CONNECT_HEADERS, CURLOPT_DISALLOW_USERNAME_IN_URL, CURLOPT_DNS_SHUFFLE_ADDRESSES, CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS, CURLOPT_HAPROXYPROTOCOL, CURLOPT_PROXY_TLS13_CIPHERS, CURLOPT_SSH_COMPRESSION, CURLOPT_TIMEVALUE_LARGE e CURLOPT_TLS13_CIPHERS. | |
getallheaders | Esta função tornou-se disponível na SAPI FPM. | |
is_countable | is_countable has been added. | |
json_decode | Foi adicionado JSON_THROW_ON_ERROR em flags | |
json_encode | Adicionado JSON_THROW_ON_ERROR em flags. | |
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 | |
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. | |
unlink | No Windows, agora é possível realizar o unlink em arquivos abertos, quando antes isso falhava. Entretanto, ainda não é possível de recriar o arquivo apagado, até que o acessos ao arquivo anterior tenham sido fechados. | |
var_export | Agora exporta a representação como objeto stdClass de um array ((object) array( ... )), ao invés de usar o método inexistente stdClass::__setState. O efeito prático é que agora stdClass é exportável e o código resultante funcionará até mesmo em versões anteriores do PHP. | |
7.2.18, 7.3.5 | substr_compare | offset may now be equal to the length of main_str. |
7.2.0 | array_unique | Se flags for SORT_STRING, o array anterior foi copiado e os elementos não únicos foram removidos (sem empacotar o array em seguida), mas um novo array é criado ao adicionar os novos elementos. Isto pode resultar em índices numéricos diferentes. |
bcmod | O parâmetro scale foi adicionado. | |
bcmod | num1 e num2 não são mais truncados para inteiro, de forma que o comportamento de bcmod é o mesmo de fmod ao invés do operador %. | |
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 | Return HashContext instead of resource. | |
hash_init | Usage of non-cryptographic hash functions (adler32, crc32, crc32b, fnv132, fnv1a32, fnv164, fnv1a64, joaat) with HASH_HMAC was disabled. | |
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. | |
json_decode | Foi adicionado JSON_INVALID_UTF8_IGNORE, e JSON_INVALID_UTF8_SUBSTITUTE em flags. | |
json_decode | associative agora é nullable. | |
json_encode | Adicionado JSON_INVALID_UTF8_IGNORE e JSON_INVALID_UTF8_SUBSTITUTE em flags. | |
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. | |
mt_rand | mt_rand has received a bug fix for a modulo bias bug. This means that sequences generated with a specific seed may differ from PHP 7.1 on 64-bit machines. | |
openssl_pkcs7_verify | The output_filename parameter was added. | |
password_hash | Suporte para passwords Argon2 usando PASSWORD_ARGON2I foi adicionado. | |
preg_match | The PREG_UNMATCHED_AS_NULL is now supported for the $flags parameter. | |
preg_match_all | The PREG_UNMATCHED_AS_NULL is now supported for the $flags parameter. | |
rand | rand has received a bug fix for a modulo bias bug. This means that sequences generated with a specific seed may differ from PHP 7.1 on 64-bit machines. | |
utf8_decode | This function has been moved from the XML extension to the core of PHP. In previous versions, it was only available if the XML extension was installed. | |
utf8_encode | This function has been moved from the XML extension to the core of PHP. In previous versions, it was only available if the XML extension was installed. | |
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 | array_rand | O algoritmo de embaralhamento interno foi alterado para usar o Gerador de Números Aleatórios Mersenne Twister em vez da função rand da libc. |
curl_multi_setopt | Introduzido CURLMOPT_PUSHFUNCTION. | |
file_get_contents | Suporte para offsets negativos foi adicionado. | |
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 | O suporte para offsets negativas foi adicionado. | |
json_decode | Uma chave JSON vazia ("") pode ser codificada para a propriedade vazia de objeto, em vez de usar uma chave com o valor _empty_. | |
json_encode | Adicionado JSON_UNESCAPED_LINE_TERMINATORS em flags. | |
json_encode | É usado serialize_precision em vez de precision quando codificado valores float. | |
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 function checks whether string is valid for the current encoding. | |
mb_ereg_replace | The e modifier has been deprecated. | |
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 e modifier has been deprecated. | |
mb_eregi_replace | The function checks whether string is valid for the current encoding. | |
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. | |
mt_rand | mt_rand has been updated to use the fixed, correct, version of the Mersenne Twister algorithm. To fall back to the old behaviour, use mt_srand with MT_RAND_PHP as the second parameter. | |
mt_rand | rand has been made an alias of mt_rand. | |
mt_srand | mt_rand has been updated to use the fixed, correct, version of the Mersenne Twister algorithm. To fall back to the old behaviour, use mt_srand with MT_RAND_PHP as the second parameter. | |
mt_srand | srand has been made an alias of mt_srand. | |
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. | |
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. | |
rand | rand has been made an alias of mt_rand. | |
srand | srand has been made an alias of mt_srand. | |
substr_count | Support for negative offsets and lengths has been added. length may also be 0 now. | |
unserialize | The allowed_classes element of options) is now strictly typed, i.e. if anything other than an array or a bool is given, unserialize returns false and issues an E_WARNING. | |
ReflectionType::__toString | ReflectionType::__toString has been deprecated. | |
7.0.11 | iconv_substr | Se string for igual ao comprimento dos caracteres de offset, uma string vazia será retornada. Antes desta versão, false era retornado neste caso. |
7.0.10 | SQLite3::__construct | The filename can now be empty to use a private, temporary on-disk database. |
7.0.7 | curl_multi_setopt | Introduzido CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE, CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE, CURLMOPT_MAX_HOST_CONNECTIONS, CURLMOPT_MAX_PIPELINE_LENGTH e CURLMOPT_MAX_TOTAL_CONNECTIONS. |
curl_setopt | Introduzido CURL_HTTP_VERSION_2, CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE, CURL_HTTP_VERSION_2TLS, CURL_REDIR_POST_301, CURL_REDIR_POST_302, CURL_REDIR_POST_303, CURL_REDIR_POST_ALL, CURL_VERSION_KERBEROS5, CURL_VERSION_PSL, CURL_VERSION_UNIX_SOCKETS, CURLAUTH_NEGOTIATE, CURLAUTH_NTLM_WB, CURLFTP_CREATE_DIR, CURLFTP_CREATE_DIR_NONE, CURLFTP_CREATE_DIR_RETRY, CURLHEADER_SEPARATE, CURLHEADER_UNIFIED, CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE, CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE, CURLMOPT_MAX_HOST_CONNECTIONS, CURLMOPT_MAX_PIPELINE_LENGTH, CURLMOPT_MAX_TOTAL_CONNECTIONS, CURLOPT_CONNECT_TO, CURLOPT_DEFAULT_PROTOCOL, CURLOPT_DNS_INTERFACE, CURLOPT_DNS_LOCAL_IP4, CURLOPT_DNS_LOCAL_IP6, CURLOPT_EXPECT_100_TIMEOUT_MS, CURLOPT_HEADEROPT, CURLOPT_LOGIN_OPTIONS, CURLOPT_PATH_AS_IS, CURLOPT_PINNEDPUBLICKEY, CURLOPT_PIPEWAIT, CURLOPT_PROXY_SERVICE_NAME, CURLOPT_PROXYHEADER, CURLOPT_SASL_IR, CURLOPT_SERVICE_NAME, CURLOPT_SSL_ENABLE_ALPN, CURLOPT_SSL_ENABLE_NPN, CURLOPT_SSL_FALSESTART, CURLOPT_SSL_VERIFYSTATUS, CURLOPT_STREAM_WEIGHT, CURLOPT_TCP_FASTOPEN, CURLOPT_TFTP_NO_OPTIONS, CURLOPT_UNIX_SOCKET_PATH, CURLOPT_XOAUTH2_BEARER, CURLPROTO_SMB, CURLPROTO_SMBS, CURLPROXY_HTTP_1_0, CURLSSH_AUTH_AGENT e CURLSSLOPT_NO_REVOKE. | |
7.0.0 | dirname | Adicionado o parâmetro opcional levels. |
gmmktime | O parâmetro is_dst foi removido. | |
mktime | O parâmetro is_dst foi removido. | |
session_start | O parâmetro options foi adicionado. | |
substr | Se string tiver o comprimento de start, uma string vazia será retornada. Antes dessa versão, retornava false nesse caso. | |
6.0.0 | file | Adicionado suporte às flags FILE_TEXT e FILE_BINARY. |
5.5.8 | DatePeriod::__construct | O tipo de end foi modificado para DateTimeImmutable. Anteriormente era DateTime. |
5.5.4 | fputcsv | O parâmetro escape_char foi adicionado. |
5.5.1 | session_set_save_handler | Adicionado o parâmetro opcional create_sid. |
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 | DatePeriod::__construct | start foi modificado para DateTimeImmutable. Anteriormente era DateTime. |
5.4.32, 5.5.16 | ucwords | O parâmetro delimiters foi adicionado. |
5.4.0 | date_default_timezone_get | O fuso horário não é mais suposto por informações disponíveis no sistema operacional, já que o fuso horário adivinhado não é confiável. |
date_default_timezone_get | A variável de ambiente TZ não é mais utilizada para adivinhar o fuso horário. | |
session_set_save_handler | Adicionado SessionHandlerInterface para a implementação de manipuladores de sessão e SessionHandler para expor manipuladores de sessão internos do PHP. | |
SimpleXMLElement::getDocNamespaces | Adicionado o parâmetro from_root. | |
5.3.9 | DateTime::createFromFormat | O especificador de format + foi adicionado. |
5.3.6 | PDO_MYSQL DSN | Antes do PHP 5.3.6, o charset era ignorado. |
5.3.4 | copy | Alterado o parâmetro context para ele realmente ter algum efeito. Anteriormente, qualquer context era ignorado. |
5.3.1 | rename | rename agora consegue mover arquivos entre drivers do Windows. |
5.3.0 | DateTime::__construct | Se o parâmetro time conter algum formato de data/hora inválida, uma exceção será lançada. Anteriormente, um erro era emitido. |
DateTimeZone::getTransitions | Os parâmetros opcionais timestamp_begin e timestamp_end foram adicionados. | |
DateTimeZone::listIdentifiers | Adicionado os parâmetros opcionais what e country. | |
array_search | A partir do PHP 5.3.0 array_search retorna null caso sejam informados parâmetros inválidos. | |
copy | Adicionado suporte à contexto. | |
date_default_timezone_set | Agora retorna E_WARNING ao invés de E_STRICT. | |
fgetcsv | O parâmetro escape foi adicionado | |
link | A função fica disponível em plataformas Windows (Vista, Server 2008 or greater). | |
log1p | Esta função está agora disponível em todas plataformas | |
mktime | mktime agora lançará um aviso E_DEPRECATED se o parâmetro is_dst for utilizado. | |
readlink | Esta função fica disponível na plataforma Windows (Vista, Server 2008 e superiores). | |
session_start | Se uma sessão falhar para iniciar, então é retornado false. Anteriormente, true era retornado. | |
stristr | Adicionado o parâmetro opcional before_needle. | |
strstr | Adicionado o parâmetro opcional before_needle. | |
5.2.5 | addcslashes | As seqüências de escape \v e \f foram adicionadas. |
5.2.4 | parse_ini_file | Chaves e nomes de seção que consistem de números, agora são interpretados como inteiros, de forma que números iniciados por 0 são interpretados como octais e números iniciados por 0x são interpretados como hexadecimais. |
5.2.3 | htmlentities | O parâmetro double_encode foi adicionado. |
5.2.2 - 5.2.6 | substr | Se start indicar a posição de truncagem negativa ou além, retorna false. Outras versões retornavam a string a partir do começo. |
5.2.0 | curl_multi_info_read | msgs_in_queue was added. |
pathinfo | A constante PATHINFO_FILENAME foi adicionada. | |
session_get_cookie_params | A entrada "httponly" foi adicionada no array retornado. | |
session_set_cookie_params | O parâmetro httponly foi adicionado. | |
SimpleXMLElement::children | O parâmetro opcional is_prefix foi adicionado. | |
SimpleXMLElement::__construct | Adicionado os parâmetros ns e is_prefix. | |
5.1.3 | curl_getinfo | Introduced CURLINFO_HEADER_OUT. |
5.1.2 | date_default_timezone_set | A função passou a validar o parâmetro timezone_identifier. |
SimpleXMLElement::__construct | Adicionado os parâmetros options e data_is_url. | |
5.1.0 | explode | Suporte a limit negativo foi adicionado |
fgetcsv | Agora length é opcional. O padrão é 0, que significa sem limite de comprimento. | |
gettimeofday | O parâmetro return_float foi adicionado. | |
glob | GLOB_ERR foi adicionado | |
gmmktime | A partir do PHP 5.1.0, o parâmetro is_dst foi depreciado. Como resultado, a nova funcionalidade de manipulação de fusos horário deve ser utilizada. | |
md5_file | Modificada função para usar a API de API. Significa que você pode usá-la com wrappers, como md5_file('http://example.com/..') | |
mktime | O parâmetro is_dst tornou-se obsoleto. Fazendo a função retornar false em erro, em vez de -1. Reparada a função para aceitar ano, mês e dia passados como zero. | |
mktime | Quando chamada sem argumentos, a função mktime lançará um aviso E_STRICT. Utilize a função time em substituição. | |
5.0.0 | dirname | dirname passou a ser segura para binários |
fgetss | O parâmetro length é opcional. | |
file | O parâmetro context foi adicionado | |
file | Até o PHP 5.0.0, o parâmetro flags suportava apenas include_path e era habilitado com 1 | |
get_class_methods | No PHP 5, esta função retorna o nome dos métodos como eles foram declarados (case-sensitive). No PHP 4 eles ficavam em minúsculo. | |
html_entity_decode | Suporte para conjunto de caracteres multi-byte foi adicionado. | |
md5 | O parâmetro raw_output foi adicionado. | |
md5_file | Adicionado o parâmetro raw_output | |
mkdir | A partir do PHP 5.0.0, mkdir também pode ser usada com alguns wrappers de URL. Veja em uma lista de quais wrappers suportam mkdir | |
mkdir | O parâmetro recursive foi adicionado | |
parse_ini_file | Valores envolvidos em aspas duplas podem conter novas linhas. | |
rename | rename pode agora também ser usada com algum URL wrappers. Consulte para uma lista de wrappers que rename suporta. | |
rmdir | No PHP 5.0.0 rmdir pode também ser usada com alguns URL wrappers. Consulte para uma listagem de wrappers suportados pela rmdir. | |
str_replace | O parâmetro count foi adicionado. | |
strip_tags | strip_tags tornou-se binary safe |