PHP 8.1.0 Released!

Changelog

As alterações a seguir foram feitas em funções de extensões nativas

VersionFunctionDescription
PHP 4.3.3ftruncateAntes desta versão, ftruncate retornava integer no valor 1 no caso de sucesso, ao invés de boolean true.
PECL OCI8 1.4oci_set_prefetchBefore this release, rows must be >= 1.
PECL OCI8 1.3.4oci_set_prefetchBefore this release, prefetching was limited to the lesser of rows rows and 1024 * rows bytes. The byte size restriction has now been removed.
PECL 3.0.0IntlDateFormatter::formatSupport for providing IntlCalendar objects to the datetime parameter was added.
Desde o 5.0.0get_classO nome da classe é retornado em sua notação original.
 get_classO parâmetro object é opcional se chamado para um método do objeto.
 get_parent_classO parâmetro object é opcional se chamado de um método de objeto.
Desde o 4.0.5get_parent_classSe object é uma string, retorna o nome da classe pai da classe com este nome.
Antes do 5.1.0get_parent_classSe chamado sem parâmetro fora do objeto, esta função retornaria null com um aviso.
antes do 4.2.0get_object_varsSe 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.1.0finfo_bufferThe finfo parameter expects an finfo instance now; previously, a resource was expected.
 finfo_closeThe finfo parameter expects an finfo instance now; previously, a resource was expected.
 finfo_fileThe finfo parameter expects an finfo instance now; previously, a resource was expected.
 finfo_openReturns an finfo instance now; previously, a resource was returned.
 finfo_set_flagsThe finfo parameter expects an finfo instance now; previously, a resource was expected.
 imap_appendThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_bodyThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_bodystructThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_checkThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_clearflag_fullThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_closeThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_createmailboxThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_deleteThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_deletemailboxThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_expungeThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_fetch_overviewThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_fetchbodyThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_fetchheaderThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_fetchmimeThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_fetchstructureThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_gcThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_get_quotaThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_get_quotarootThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_getaclThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_getmailboxesThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_getsubscribedThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_headerinfoThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_headersThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_listThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_listscanThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_lsubThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_mail_copyThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_mail_moveThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_mailboxmsginfoThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_msgnoThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_num_msgThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_num_recentThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_openReturns an IMAP\Connection instance now; previously, a resource was returned.
 imap_pingThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_renamemailboxThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_reopenThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_savebodyThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_searchThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_set_quotaThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_setaclThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_setflag_fullThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_sortThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_statusThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_subscribeThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_threadThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_uidThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_undeleteThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 imap_unsubscribeThe imap parameter expects an IMAP\Connection instance now; previously, a resource was expected.
 ldap_addThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_add_extThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_add_extReturns an LDAP\Result instance now; previously, a resource was returned.
 ldap_bindThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_bind_extThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_bind_extReturns an LDAP\Result instance now; previously, a resource was returned.
 ldap_compareThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_connectReturns an LDAP\Connection instance now; previously, a resource was returned.
 ldap_count_entriesThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_count_entriesThe result parameter expects an LDAP\Result instance now; previously, a resource was expected.
 ldap_count_referencesThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_count_referencesThe result parameter expects an LDAP\Result instance now; previously, a resource was expected.
 ldap_deleteThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_delete_extThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_delete_extReturns an LDAP\Result instance now; previously, a resource was returned.
 ldap_errnoThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_errorThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_exopThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_exop_passwdThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_exop_refreshThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_exop_whoamiThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_first_attributeThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_first_attributeThe entry parameter expects an LDAP\ResultEntry instance now; previously, a resource was expected.
 ldap_first_entryThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_first_entryThe result parameter expects an LDAP\Result instance now; previously, a resource was expected.
 ldap_first_entryReturns an LDAP\ResultEntry instance now; previously, a resource was returned.
 ldap_free_resultThe result parameter expects an LDAP\Result instance now; previously, a resource was expected.
 ldap_get_attributesThe entry parameter expects an LDAP\ResultEntry instance now; previously, a resource was expected.
 ldap_get_attributesThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_get_dnThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_get_dnThe entry parameter expects an LDAP\ResultEntry instance now; previously, a resource was expected.
 ldap_get_entriesThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_get_entriesThe result parameter expects an LDAP\Result instance now; previously, a resource was expected.
 ldap_get_optionThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_get_valuesThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_get_valuesThe entry parameter expects an LDAP\ResultEntry instance now; previously, a resource was expected.
 ldap_get_values_lenThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_get_values_lenThe entry parameter expects an LDAP\ResultEntry instance now; previously, a resource was expected.
 ldap_listReturns an LDAP\Result instance now; previously, a resource was returned.
 ldap_listThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_mod_addThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_mod_delThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_mod_replaceThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_modify_batchThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_mod_add_extThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_mod_add_extReturns an LDAP\Result instance now; previously, a resource was returned.
 ldap_mod_del_extReturns an LDAP\Result instance now; previously, a resource was returned.
 ldap_mod_del_extThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_mod_replace_extThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_mod_replace_extReturns an LDAP\Result instance now; previously, a resource was returned.
 ldap_next_attributeThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_next_attributeThe entry parameter expects an LDAP\ResultEntry instance now; previously, a resource was expected.
 ldap_next_entryThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_next_entryThe entry parameter expects an LDAP\ResultEntry instance now; previously, a resource was expected.
 ldap_next_entryReturns an LDAP\Result instance now; previously, a resource was returned.
 ldap_parse_exopThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_parse_exopThe result parameter expects an LDAP\Result instance now; previously, a resource was expected.
 ldap_parse_resultThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_parse_resultThe result parameter expects an LDAP\Result instance now; previously, a resource was expected.
 ldap_readReturns an LDAP\Result instance now; previously, a resource was returned.
 ldap_readThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_renameThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_rename_extReturns an LDAP\Result instance now; previously, a resource was returned.
 ldap_rename_extThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_sasl_bindThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_searchThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_searchReturns an LDAP\Result instance now; previously, a resource was returned.
 ldap_set_optionThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_set_rebind_procThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 ldap_unbindThe ldap parameter expects an LDAP\Connection instance now; previously, a resource was expected.
 pspell_add_to_personalThe dictionary parameter expects an PSpell\Dictionary instance now; previously, a resource was expected.
 pspell_add_to_sessionThe dictionary parameter expects an PSpell\Dictionary instance now; previously, a resource was expected.
 pspell_checkThe dictionary parameter expects an PSpell\Dictionary instance now; previously, a resource was expected.
 pspell_clear_sessionThe dictionary parameter expects an PSpell\Dictionary instance now; previously, a resource was expected.
 pspell_config_createReturns an PSpell\Config instance now; previously, a resource was returned.
 pspell_config_data_dirThe config parameter expects an PSpell\Config instance now; previously, a resource was expected.
 pspell_config_dict_dirThe config parameter expects an PSpell\Config instance now; previously, a resource was expected.
 pspell_config_ignoreThe config parameter expects an PSpell\Config instance now; previously, a resource was expected.
 pspell_config_modeThe config parameter expects an PSpell\Config instance now; previously, a resource was expected.
 pspell_config_personalThe config parameter expects an PSpell\Config instance now; previously, a resource was expected.
 pspell_config_replThe config parameter expects an PSpell\Config instance now; previously, a resource was expected.
 pspell_config_runtogetherThe config parameter expects an PSpell\Config instance now; previously, a resource was expected.
 pspell_config_save_replThe config parameter expects an PSpell\Config instance now; previously, a resource was expected.
 pspell_newReturns an PSpell\Dictionary instance now; previously, a resource was returned.
 pspell_new_configReturns an PSpell\Dictionary instance now; previously, a resource was returned.
 pspell_new_configThe config parameter expects an PSpell\Config instance now; previously, a resource was expected.
 pspell_new_personalReturns an PSpell\Dictionary instance now; previously, a resource was returned.
 pspell_save_wordlistThe dictionary parameter expects an PSpell\Dictionary instance now; previously, a resource was expected.
 pspell_store_replacementThe dictionary parameter expects an PSpell\Dictionary instance now; previously, a resource was expected.
 pspell_suggestThe dictionary parameter expects an PSpell\Dictionary instance now; previously, a resource was expected.
 mysqli_driver::$report_modeThe default value is now MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT. Previously, it was MYSQLI_REPORT_OFF.
 mysqli_result::fetch_allNow also available when linking against libmysqlclient.
 mysqli_stmt::next_resultNow also available when linking against libmysqlclient.
8.0.3DOMDocument::getElementsByTagNameNSnamespace is nullable now.
 DOMElement::getElementsByTagNameNSnamespace is nullable now.
 DOMImplementation::createDocumentnamespace is now nullable.
 finfo::__constructmagic_database is nullable now.
 finfo_openmagic_database is nullable now.
 SoapClient::__setLocationlocation is nullable now.
 SoapVar::__constructtypeName, typeNamespace, nodeName,and nodeNamespace are nullable now.
8.0.0, PECL OCI8 3.0.0oci_connectconnection_string is now nullable.
 oci_errorconnection_or_statement is now nullable.
 oci_lob_copylength is now nullable.
 oci_new_collectionschema is now nullable.
 oci_new_connectconnection_string is now nullable.
 OCICollection::appendThe OCI-Collection class was renamed to OCICollection to align with PHP naming standards.
 OCICollection::assignThe OCI-Collection class was renamed to OCICollection to align with PHP naming standards.
 OCICollection::assignElemThe OCI-Collection class was renamed to OCICollection to align with PHP naming standards.
 OCICollection::freeThe OCI-Collection class was renamed to OCICollection to align with PHP naming standards.
 OCICollection::getElemThe OCI-Collection class was renamed to OCICollection to align with PHP naming standards.
 OCICollection::maxThe OCI-Collection class was renamed to OCICollection to align with PHP naming standards.
 OCICollection::sizeThe OCI-Collection class was renamed to OCICollection to align with PHP naming standards.
 OCICollection::trimThe OCI-Collection class was renamed to OCICollection to align with PHP naming standards.
 OCILob::appendThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::closeThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::eofThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::eraseThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::eraseoffset and length are now nullable.
 OCILob::exportoffset and length are now nullable.
 OCILob::exportThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::flushThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::freeThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::getBufferingThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::importThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::loadThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::readThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::rewindThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::saveThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::saveFileThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::seekThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::setBufferingThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::sizeThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::tellThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::truncateThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::writelength is now nullable.
 OCILob::writeThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::writeToFileoffset and length are now nullable.
 OCILob::writeToFileThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
8.0.0 / 1.18.1ZipArchive::addGlob"comp_method", "comp_flags", "enc_method" and "enc_password" in options were added.
8.0.0 / 1.18.0ZipArchive::addEmptyDirflags was added.
 ZipArchive::addFileflags was added.
 ZipArchive::addFromStringflags was added.
 ZipArchive::addGlob"flags" in options was added.
 ZipArchive::getStatusStringThis method no longer returns false on failure.
 ZipArchive::getStatusStringThis method can be called on closed archive.
8.0.0DOMImplementation::createDocumentdoctype is now nullable.
 FFI::cdeflib is nullable now.
 FFI::stringsize is nullable now; previously, its default was 0.
 com_event_sinksink_interface is nullable now.
 com_get_active_objectcodepage is nullable now.
 curl_multi_errnoThe function no longer returns false on failure.
 curl_multi_errnomulti_handle expects a CurlMultiHandle instance now; previously, a resource was expected.
 curl_setopthandle expects a CurlHandle instance now; previously, a resource was expected.
 curl_share_errnoshare_handle expects a CurlShareHandle instance now; previously, a resource was expected.
 curl_share_errnoThe function no longer returns false on failure.
 dom_import_simplexmlThis function no longer returns null on failure.
 enchant_broker_describebroker expects an EnchantBroker instance now; previoulsy, a resource was expected.
 enchant_broker_describePrior to this version, the function returned false on failure.
 enchant_broker_dict_existsbroker expects an EnchantBroker instance now; previoulsy, a resource was expected.
 enchant_broker_freebroker expects an EnchantBroker instance now; previoulsy, a resource was expected.
 enchant_broker_free_dictdictionary expects a EnchantDictionary now; previoulsy, a resource was expected.
 enchant_broker_get_dict_pathbroker expects an EnchantBroker instance now; previoulsy, a resource was expected.
 enchant_broker_get_errorbroker expects an EnchantBroker instance now; previoulsy, a resource was expected.
 enchant_broker_initOn success, this function returns an EnchantBroker instance now; previoulsy, a resource was retured.
 enchant_broker_list_dictsbroker expects an EnchantBroker instance now; previoulsy, a resource was expected.
 enchant_broker_list_dictsPrior to this version, the function returned false on failure.
 enchant_broker_request_dictbroker expects an EnchantBroker instance now; previoulsy, a resource was expected.
 enchant_broker_request_dictOn success, this function returns an EnchantDictionary instance now; previoulsy, a resource was retured.
 enchant_broker_request_pwl_dictOn success, this function returns an EnchantDictionary instance now; previoulsy, a resource was retured.
 enchant_broker_request_pwl_dictbroker expects an EnchantBroker instance now; previoulsy, a resource was expected.
 enchant_broker_set_dict_pathbroker expects an EnchantBroker instance now; previoulsy, a resource was expected.
 enchant_broker_set_orderingbroker expects an EnchantBroker instance now; previoulsy, a resource was expected.
 enchant_dict_adddictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected.
 enchant_dict_add_to_sessiondictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected.
 enchant_dict_checkdictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected.
 enchant_dict_describedictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected.
 enchant_dict_describePrior to this version, the function returned false on failure.
 enchant_dict_get_errordictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected.
 enchant_dict_is_addeddictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected.
 enchant_dict_quick_checkdictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected.
 enchant_dict_store_replacementdictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected.
 enchant_dict_suggestdictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected.
 finfo_buffercontext is nullable now.
 finfo_filecontext is nullable now.
 hash_update_filestream_context is now nullable.
 iconv_mime_decodeencoding is nullable now.
 iconv_mime_decode_headersencoding is nullable now.
 iconv_strlenencoding is nullable now.
 iconv_strposencoding is nullable now.
 iconv_strrposencoding is nullable now.
 iconv_substrlength and encoding are nullable now.
 imap_appendoptions and internal_date are now nullable.
 imap_headerinfoThe unused defaulthost parameter has been removed.
 imap_mailadditional_headers, cc, bcc, and return_path are now nullable.
 imap_sortreverse is now bool instead of int.
 imap_sortsearch_criteria and charset are now nullable.
 ldap_addcontrols is nullable now; previously, it defaulted to [].
 ldap_add_extcontrols is nullable now; previously, it defaulted to [].
 ldap_bind_extcontrols is nullable now; previously, it defaulted to [].
 ldap_comparecontrols is nullable now; previously, it defaulted to [].
 ldap_control_paged_resultThis function has been removed.
 ldap_control_paged_result_responseThis function has been removed.
 ldap_deletecontrols is nullable now; previously, it defaulted to [].
 ldap_delete_extcontrols is nullable now; previously, it defaulted to [].
 ldap_exop_passwdcontrols is nullable now; previously, it defaulted to [].
 ldap_listcontrols is nullable now; previously, it defaulted to [].
 ldap_mod_addcontrols is nullable now; previously, it defaulted to [].
 ldap_mod_delcontrols is nullable now; previously, it defaulted to [].
 ldap_mod_replacecontrols is nullable now; previously, it defaulted to [].
 ldap_modify_batchcontrols is nullable now; previously, it defaulted to [].
 ldap_mod_add_extcontrols is nullable now; previously, it defaulted to [].
 ldap_mod_del_extcontrols is nullable now; previously, it defaulted to [].
 ldap_mod_replace_extcontrols is nullable now; previously, it defaulted to [].
 ldap_readcontrols is nullable now; previously, it defaulted to [].
 ldap_renamecontrols is nullable now; previously, it defaulted to [].
 ldap_rename_extcontrols is nullable now; previously, it defaulted to [].
 ldap_sasl_binddn, password, mech, realm, authc_id, authz_id and props are nullable now.
 ldap_searchcontrols is nullable now; previously, it defaulted to [].
 ldap_set_rebind_proccallback is nullable now.
 ldap_sortThis function has been removed.
 mb_check_encodingvalue and encoding are nullable now.
 mb_chrencoding is nullable now.
 mb_convert_encodingfrom_encoding is nullable now.
 mb_convert_encodingmb_convert_encoding will now throw a ValueError when from_encoding is passed an invalid encoding.
 mb_convert_encodingmb_convert_encoding will now throw a ValueError when to_encoding is passed an invalid encoding.
 mb_convert_kanaencoding is nullable now.
 mb_decode_numericentityencoding is nullable now.
 mb_detect_orderencoding is nullable now.
 mb_encode_mimeheadercharset and transfer_encoding are nullable now.
 mb_encode_numericentityencoding is nullable now.
 mb_eregThis 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_matchoptions is nullable now.
 mb_ereg_replaceoptions is nullable now.
 mb_ereg_replace_callbackoptions is nullable now.
 mb_ereg_searchpattern and options are nullable now.
 mb_ereg_search_initpattern and options are nullable now.
 mb_ereg_search_pospattern and options are nullable now.
 mb_ereg_search_regspattern and options are nullable now.
 mb_eregiThis 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_replaceoptions is nullable now.
 mb_get_infoThe types "func_overload" and "func_overload_list" are no longer supported.
 mb_http_inputtype is nullable now.
 mb_http_outputencoding is nullable now.
 mb_internal_encodingencoding is nullable now.
 mb_languagelanguage is nullable now.
 mb_ordencoding is nullable now.
 mb_parse_strThe second parameter was no longer optional.
 mb_regex_encodingencoding is nullable now.
 mb_regex_set_optionsoptions is nullable now.
 mb_regex_set_optionsIf the parameter options is given and not null, the previous options are returned. Formerly, the current options have been returned.
 mb_scrubencoding is nullable now.
 mb_send_mailadditional_params is nullable now.
 mb_str_splitencoding is nullable now.
 mb_str_splitThis function no longer returns false on failure.
 mb_strcutencoding is nullable now.
 mb_strimwidthencoding is nullable now.
 mb_striposencoding is nullable now.
 mb_striposneedle now accepts an empty string.
 mb_stristrneedle now accepts an empty string.
 mb_stristrencoding is nullable now.
 mb_strlenencoding is nullable now.
 mb_strposencoding is nullable now.
 mb_strposneedle now accepts an empty string.
 mb_strrchrneedle now accepts an empty string.
 mb_strrchrencoding is nullable now.
 mb_strrichrneedle now accepts an empty string.
 mb_strrichrencoding is nullable now.
 mb_strriposencoding is nullable now.
 mb_strriposneedle now accepts an empty string.
 mb_strrposPassing the encoding as the third argument instead of an offset has been removed.
 mb_strrposneedle now accepts an empty string.
 mb_strrposencoding is nullable now.
 mb_strstrencoding is nullable now.
 mb_strstrneedle now accepts an empty string.
 mb_strwidthencoding is nullable now.
 mb_substitute_characterencoding is nullable now.
 mb_substitute_characterPassing an empty string to substitute_character is no longer supported; "none" should be passed instead.
 mb_substrencoding is nullable now.
 mb_substr_countencoding is nullable now.
 msg_get_queueOn success, this function returns a SysvMessageQueue instance now; previously, a resource was returned.
 msg_receivequeue expects a SysvMessageQueue instance now; previously, a resource was expected.
 msg_remove_queuequeue expects a SysvMessageQueue instance now; previously, a resource was expected.
 msg_sendqueue expects a SysvMessageQueue instance now; previously, a resource was expected.
 msg_set_queuequeue expects a SysvMessageQueue instance now; previously, a resource was expected.
 msg_stat_queuequeue expects a SysvMessageQueue instance now; previously, a resource was expected.
 openssl_csr_exportcsr accepts an OpenSSLCertificateSigningRequest instance now; previously, a resource of type OpenSSL X.509 CSR was accepted.
 openssl_csr_export_to_filecsr accepts an OpenSSLCertificateSigningRequest instance now; previously, a resource of type OpenSSL X.509 CSR was accepted.
 openssl_csr_get_public_keyOn success, this function returns an OpenSSLAsymmetricKey instance now; previously, a resource of type OpenSSL key was returned.
 openssl_csr_get_public_keycsr accepts an OpenSSLCertificateSigningRequest instance now; previously, a resource of type OpenSSL X.509 CSR was accepted.
 openssl_csr_get_subjectcsr accepts an OpenSSLCertificateSigningRequest instance now; previously, a resource of type OpenSSL X.509 CSR was accepted.
 openssl_csr_newprivate_key accepts an OpenSSLAsymmetricKey instance now; previously, a resource of type OpenSSL key was accepted.
 openssl_csr_newOn success, this function returns an OpenSSLCertificateSigningRequest instance now; previously, a resource of type OpenSSL X.509 CSR was returned.
 openssl_csr_signca_certificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted.
 openssl_csr_signprivate_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted.
 openssl_csr_signOn success, this function returns an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was returned.
 openssl_csr_signcsr accepts an OpenSSLCertificateSigningRequest instance now; previously, a resource of type OpenSSL X.509 CSR was accepted.
 openssl_dh_compute_keyprivate_key accepts an OpenSSLAsymmetricKey now; previously, a resource of type OpenSSL key was accepted.
 openssl_free_keykey accepts an OpenSSLAsymmetricKey now; previously, a resource of type OpenSSL key was accepted.
 openssl_free_keyThis function is now deprecated as it doesn't have an effect anymore.
 openssl_openprivate_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 CSR was accepted.
 openssl_opencipher_algo is no longer an optional parameter.
 openssl_pkcs7_decryptprivate_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 CSR was accepted.
 openssl_pkcs7_encryptcertificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 CSR was accepted.
 openssl_pkcs7_signcertificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 CSR was accepted.
 openssl_pkcs7_signprivate_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 CSR was accepted.
 openssl_pkcs7_verifysigners_certificates_filename, untrusted_certificates_filename, content and output_filename are nullable now.
 openssl_pkcs12_exportprivate_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted.
 openssl_pkcs12_exportcertificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 CSR was accepted.
 openssl_pkcs12_export_to_fileprivate_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_filecertificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 CSR was accepted.
 openssl_pkey_exportkey accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted.
 openssl_pkey_export_to_filekey accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted.
 openssl_pkey_freekey accepts an OpenSSLAsymmetricKey now; previously, a resource of type OpenSSL key was accepted.
 openssl_pkey_freeThis function is now deprecated as it doesn't have an effect anymore.
 openssl_pkey_get_detailskey accepts an OpenSSLAsymmetricKey now; previously, a resource of type OpenSSL key was accepted.
 openssl_pkey_get_privatepassphrase is nullable now.
 openssl_pkey_get_privateprivate_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted.
 openssl_pkey_get_privateOn success, this function returns an OpenSSLAsymmetricKey instance now; previously, a resource of type OpenSSL key was returned.
 openssl_pkey_get_publicpublic_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted.
 openssl_pkey_get_publicOn success, this function returns an OpenSSLAsymmetricKey instance now; previously, a resource of type OpenSSL key was returned.
 openssl_pkey_newOn success, this function returns an OpenSSLAsymmetricKey instance now; previously, a resource of type OpenSSL key was returned.
 openssl_private_decryptprivate_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted.
 openssl_private_encryptprivate_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted.
 openssl_public_decryptpublic_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted.
 openssl_public_encryptpublic_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted.
 openssl_random_pseudo_bytesstrong_result is nullable now.
 openssl_sealpublic_key accepts an array of OpenSSLAsymmetricKey instances now; previously, an array of resources of type OpenSSL key was accepted.
 openssl_sealiv is nullable now.
 openssl_sealcipher_algo is no longer an optional parameter.
 openssl_signprivate_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted.
 openssl_spki_newprivate_key accepts an OpenSSLAsymmetricKey instance now; previously, a resource of type OpenSSL key was accepted.
 openssl_verifypublic_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_keyprivate_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_keycertificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted.
 openssl_x509_checkpurposecertificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted.
 openssl_x509_checkpurposeuntrusted_certificates_file is nullable now.
 openssl_x509_exportcertificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted.
 openssl_x509_export_to_filecertificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted.
 openssl_x509_fingerprintcertificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted.
 openssl_x509_freeThis function is now deprecated as it doesn't have an effect anymore.
 openssl_x509_freecertificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted.
 openssl_x509_parsecertificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted.
 openssl_x509_readOn success, this function returns an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was returned.
 openssl_x509_readcertificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted.
 openssl_x509_verifycertificate accepts an OpenSSLCertificate instance now; previously, a resource of type OpenSSL X.509 was accepted.
 openssl_x509_verifypublic_key accepts an OpenSSLAsymmetricKey or OpenSSLCertificate instance now; previously, a resource of type OpenSSL key or OpenSSL X.509 was accepted.
 pcntl_async_signalsenable is nullable now.
 pcntl_getpriorityprocess_id is nullable now.
 pcntl_setpriorityprocess_id is nullable now.
 sem_acquiresemaphore expects a SysvSemaphore instance now; previously, a resource was expected.
 sem_getOn success, this function returns a SysvSemaphore instance now; previously, a resource was returned.
 sem_getThe type of auto_release has been changed from int to bool.
 sem_releasesemaphore expects a SysvSemaphore instance now; previously, a resource was expected.
 sem_removesemaphore expects a SysvSemaphore instance now; previously, a resource was expected.
 shm_attachOn success, this function returns an SysvSharedMemory instance now; previously, a resource was returned.
 shm_attachsize is nullable now.
 shm_detachshm expects a SysvSharedMemory instance now; previously, a resource was expected.
 shm_get_varshm expects a SysvSharedMemory instance now; previously, a resource was expected.
 shm_has_varshm expects a SysvSharedMemory instance now; previously, a resource was expected.
 shm_put_varshm expects a SysvSharedMemory instance now; previously, a resource was expected.
 shm_removeshm expects a SysvSharedMemory instance now; previously, a resource was expected.
 shm_remove_varshm expects a SysvSharedMemory instance now; previously, a resource was expected.
 stream_context_createoptions and params are now nullable.
 stream_context_get_defaultoptions is now nullable.
 stream_copy_to_streamlength is now nullable.
 Locale::getDisplayLanguagedisplayLocale is nullable now.
 Locale::getDisplayNamedisplayLocale is nullable now.
 Locale::getDisplayRegiondisplayLocale is nullable now.
 Locale::getDisplayScriptdisplayLocale is nullable now.
 Locale::getDisplayVariantdisplayLocale is nullable now.
 mysqli_stmt::__constructquery is now nullable.
 mysqli::begin_transactionname is now nullable.
 mysqli::rollbackname is now nullable.
 NumberFormatter::createpattern is nullable now.
 PDOStatement::fetchAllThis method always returns an array now, while previously false may have been returned on failure.
 Phar::addFilelocalName is now nullable.
 Phar::buildFromIteratorbaseDirectory is now nullable.
 Phar::compressextension is now nullable.
 Phar::convertToDataformat, compression, and extension are now nullable.
 Phar::convertToExecutableformat, compression, and localName are now nullable.
 Phar::createDefaultStubindex and webIndex are now nullable.
 Phar::decompressextension is now nullable.
 Phar::setDefaultStubwebIndex is nullable now.
 Phar::setSignatureAlgorithmprivateKey is now nullable.
 Phar::webPharfileNotFoundScript, mimeTypes and rewrite are nullable now.
 PharData::addFilelocalName is now nullable.
 PharData::buildFromIteratorbaseDirectory is now nullable.
 PharData::compressextension is now nullable.
 PharData::convertToDataformat, compression, and extension are now nullable.
 PharData::convertToExecutableformat, compression, and localName are now nullable.
 PharData::decompressextension is now nullable.
 PharData::setDefaultStubwebIndex is nullable now.
 PharData::setSignatureAlgorithmprivateKey is now nullable.
 PharFileInfo::getMetadataThe parameter unserializeOptions has been added.
 PharFileInfo::isCompressedcompression is now nullable.
 ReflectionClass::getConstantsfilter has been added.
 ReflectionClass::getReflectionConstantsfilter has been added.
 ReflectionMethod::getClosureobject is now nullable.
 ReflectionParameter::getDefaultValueThis method now allows getting the default value of parameters of built-in functions and built-in class methods. Previously, a ReflectionException was thrown.
 ReflectionParameter::getDefaultValueConstantNameThis method now allows getting the default values' constant names of built-in functions and built-in class methods. Previously, a ReflectionException was thrown.
 ReflectionProperty::getValueobject is nullable now.
 ReflectionProperty::isInitializedobject is nullable now.
 SoapClient::__doRequestThe type of oneWay is bool now; formerly it was int.
 SoapClient::__setCookievalue is now nullable.
 SoapServer::handlerequest is now nullable.
 XMLReader::getAttributeThis function can no longer return false.
 XMLReader::getAttributeNsThis function can no longer return false.
 XMLReader::lookupNamespaceThis function can no longer return false.
 XMLReader::nextname is nullable now.
 XMLReader::openXMLReader::open is now declared as static method, but can still be called on an XMLReader instance.
 XMLReader::XMLXMLReader::XML is now declared as static method, but can still be called on an XMLReader instance.
 XMLWriter::endAttributewriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::endCdatawriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::endCommentwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::endDocumentwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::endDtdwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::endDtdAttlistwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::endDtdElementwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::endDtdEntitywriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::endElementwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::endPiwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::flushwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::flushThis function can no longer return false.
 XMLWriter::fullEndElementwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::openMemoryThis function returns now an XMLWriter instance on success. Previouly, a resource has been returned in this case.
 XMLWriter::openUriThis function returns now an XMLWriter instance on success. Previouly, a resource has been returned in this case.
 XMLWriter::outputMemorywriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::setIndentwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::setIndentStringwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::startAttributewriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::startAttributeNsprefix is nullable now.
 XMLWriter::startAttributeNswriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::startCdatawriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::startCommentwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::startDocumentwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::startDtdwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::startDtdAttlistwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::startDtdElementwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::startDtdEntitywriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::startElementwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::startElementNswriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::startPiwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::textwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::writeAttributewriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::writeAttributeNswriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::writeCdatawriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::writeCommentwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::writeDtdwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::writeDtdAttlistwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::writeDtdElementwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::writeDtdEntitywriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::writeDtdEntitypublicId, systemId and notationData are nullable now.
 XMLWriter::writeElementwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::writeElementNswriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::writePiwriter expects an XMLWriter instance now; previously, a resource was expected.
 XMLWriter::writeRawwriter expects an XMLWriter instance now; previously, a resource was expected.
 ZipArchive::setEncryptionIndexpassword is now nullable.
 ZipArchive::setEncryptionNamepassword is now nullable.
7.4.0hash_algosSupport for crc32c has been added.
 idn_to_asciiThe default value of variant is now INTL_IDNA_VARIANT_UTS46 instead of the deprecated INTL_IDNA_VARIANT_2003.
 idn_to_utf8The default value of variant is now INTL_IDNA_VARIANT_UTS46 instead of the deprecated INTL_IDNA_VARIANT_2003.
 ldap_control_paged_resultThis function has been deprecated.
 ldap_control_paged_result_responseThis function has been deprecated.
 money_formatEsta função está obsoleta. Utilize NumberFormatter::formatCurrency.
 preg_replace_callbackO parâmetro flags foi adicionado.
 preg_replace_callback_arrayThe flags parameter was added.
 str_getcsvO 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.
 Locale::lookupdefaultLocale is nullable now.
 SQLite3Stmt::bindParamparam now also supports the @param notation.
 SQLite3Stmt::bindValueparam now also supports the @param notation.
7.3.15, 7.4.3curl_setoptIntroduced CURLOPT_HTTP09_ALLOWED .
7.3.14, 7.4.2dba_openThe lmdb driver now supports an additional $mapsize parameter.
7.3.0apache_request_headersEsta função tornou-se disponível na SAPI FPM.
 curl_setoptIntroduced 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 and CURLOPT_TLS13_CIPHERS.
 getallheadersEsta função tornou-se disponível na SAPI FPM.
 is_countableis_countable has been added.
 mb_convert_caseAdded support for MB_CASE_FOLD, MB_CASE_UPPER_SIMPLE, MB_CASE_LOWER_SIMPLE, MB_CASE_TITLE_SIMPLE, and MB_CASE_FOLD_SIMPLE as mode.
 unlinkNo 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_exportNow exports stdClass objects as an array cast to an object ((object) array( ... )), rather than using the nonexistent method stdClass::__setState. The practical effect is that now stdClass is exportable, and the resulting code will even work on earlier versions of PHP.
7.3ldap_addSupport for controls added
 ldap_compareSupport for controls added
 ldap_deleteSupport for controls added
 ldap_exopSupport for serverctrls added
 ldap_exop_passwdSupport for controls added
 ldap_listSupport for controls added
 ldap_mod_addSupport for controls added
 ldap_mod_delSupport for controls added
 ldap_mod_replaceSupport for controls added
 ldap_modify_batchSupport for controls added
 ldap_mod_add_extSupport for controls added
 ldap_mod_del_extSupport for controls added
 ldap_mod_replace_extSupport for controls added
 ldap_parse_resultSupport for controls added
 ldap_readSupport for controls added
 ldap_renameSupport for controls added
 ldap_rename_extSupport for controls added
 ldap_searchSupport for controls added
7.2.18, 7.3.5substr_compareoffset may now be equal to the length of main_str.
7.2.0array_uniqueSe sort_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.
 hash_copyAccept and return HashContext instead of resource.
 hash_finalAccept HashContext instead of resource.
 hash_hmacUsage of non-cryptographic hash functions (adler32, crc32, crc32b, fnv132, fnv1a32, fnv164, fnv1a64, joaat) was disabled.
 hash_hmac_fileUsage of non-cryptographic hash functions (adler32, crc32, crc32b, fnv132, fnv1a32, fnv164, fnv1a64, joaat) was disabled.
 hash_initUsage of non-cryptographic hash functions (adler32, crc32, crc32b, fnv132, fnv1a32, fnv164, fnv1a64, joaat) with HASH_HMAC was disabled.
 hash_initReturn HashContext instead of resource.
 hash_pbkdf2Usage of non-cryptographic hash functions (adler32, crc32, crc32b, fnv132, fnv1a32, fnv164, fnv1a64, joaat) was disabled.
 hash_updateAccept HashContext instead of resource.
 hash_update_fileAccept HashContext instead of resource.
 hash_update_streamAccept HashContext instead of resource.
 idn_to_asciiINTL_IDNA_VARIANT_2003 has been deprecated; use INTL_IDNA_VARIANT_UTS46 instead.
 idn_to_utf8INTL_IDNA_VARIANT_2003 has been deprecated; use INTL_IDNA_VARIANT_UTS46 instead.
 mb_check_encodingThis function now also accepts an array as value. Formerly, only strings have been supported.
 mb_convert_encodingThis function now also accepts an array as string. Formerly, only strings have been supported.
 mb_parse_strCalling mb_parse_str without the second parameter was deprecated.
 mb_send_mailThe additional_headers parameter now also accepts an array.
 openssl_pkcs7_verifyThe output_filename parameter was added.
 password_hashSuporte para passwords Argon2 usando PASSWORD_ARGON2I foi adicionado.
 preg_matchThe PREG_UNMATCHED_AS_NULL is now supported for the $flags parameter.
 preg_match_allThe PREG_UNMATCHED_AS_NULL is now supported for the $flags parameter.
 PDOStatement::debugDumpParamsPDOStatement::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::getMethodsfilter is nullable now.
 ReflectionClass::getPropertiesfilter is nullable now.
 SQLite3::openBlobThe flags parameter has been added, allowing to write BLOBs; formerly only reading was supported.
7.1.5IntlDateFormatter::formatSupport for providing general DateTimeInterface objects to the datetime parameter was added. Formerly, only proper DateTime objects were supported.
7.1.4PDO::sqliteCreateFunctionThe flags parameter has been added.
 SQLite3::createFunctionThe flags parameter has been added.
7.1.0file_get_contentsSuporte para offsets negativos foi adicionado.
 grapheme_extractSupport for negative offsets has been added.
 grapheme_striposSupport for negative offsets has been added.
 grapheme_strposSupport for negative offsets has been added.
 hash_algosSupport for sha512/224, sha512/256, sha3-224, sha3-256, sha3-384 and sha3-512 has been added.
 iconv_strposSupport for negative offsets has been added.
 mb_eregmb_ereg will now set matches to an empty array, if nothing matched. Formerly, matches was not modified in that case.
 mb_ereg_replaceThe e modifier has been deprecated.
 mb_ereg_replaceThe function checks whether string is valid for the current encoding.
 mb_ereg_replace_callbackThe function checks whether string is valid for the current encoding.
 mb_ereg_search_setposSupport for negative offsets has been added.
 mb_eregimb_eregi will now set matches to an empty array, if nothing matched. Formerly, matches was not modified in that case.
 mb_eregi_replaceThe e modifier has been deprecated.
 mb_eregi_replaceThe function checks whether string is valid for the current encoding.
 mb_strimwidthSupport for negative starts and widths has been added.
 mb_striposSupport for negative offsets has been added.
 mb_strposSupport for negative offsets has been added.
 openssl_csr_newoptions now also supports curve_name.
 openssl_decryptThe tag and aad parameters were added.
 openssl_encryptThe tag, aad and tag_length parameters were added.
 openssl_pkey_newThe curve_name option was added to make it possible to create EC keys.
 pcntl_signalAs 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_handlerpcntl_signal_get_handler has been added.
 substr_countSupport for negative offsets and lengths has been added. length may also be 0 now.
 unserializeThe 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::__toStringReflectionType::__toString has been deprecated.
7.0.11iconv_substrIf 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.10SQLite3::__constructThe filename can now be empty to use a private, temporary on-disk database.
7.0.7curl_multi_setoptIntroduzido CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE, CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE, CURLMOPT_MAX_HOST_CONNECTIONS, CURLMOPT_MAX_PIPELINE_LENGTH e CURLMOPT_MAX_TOTAL_CONNECTIONS.
 curl_setoptIntroduced 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 and CURLSSLOPT_NO_REVOKE.
7.0.0array_columnAdicionada a habilidade que possibilita o parâmetro input ser um array de objetos.
 dirnameAdicionado o parâmetro opcional levels.
 gmmktimeO parâmetro is_dst foi removido.
 mktimeO parâmetro is_dst foi removido.
 session_regenerate_idsession_regenerate_id salva os dados da sessão antiga antes de encerrar.
 session_startO parâmetro options foi adicionado.
 substrSe string tiver o comprimento de start, uma string vazia será retornada. Antes dessa versão, retornava false nesse caso.
6.0.0fileAdicionado suporte às flags FILE_TEXT e FILE_BINARY.
5.6.0array_fillnum agora pode ser zero. Anteriormente, num deveria ser maior que zero.
 array_filterAdicionado o parâmetro opcional flag e as contantes ARRAY_FILTER_USE_KEY e ARRAY_FILTER_USE_BOTH
5.5.8DatePeriod::__constructO tipo de end foi modificado para DateTimeImmutable. Anteriormente era DateTime.
5.5.4fputcsvO parâmetro escape_char foi adicionado.
5.5.1session_set_save_handlerAdicionado o parâmetro opcional create_sid.
5.5.0/PECL 3.0.0IntlDateFormatter::createAn 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::setCalendarIt became possible to pass an IntlCalendar object.
5.5.0DatePeriod::__constructstart foi modificado para DateTimeImmutable. Anteriormente era DateTime.
 emptyA função empty agora suporta expressões, em vez de somente variáveis.
 json_encodeParâmetro depth foi adicionado.
5.4.32, 5.5.16ucwordsO parâmetro delimiters foi adicionado.
5.4.0apache_child_terminateEsta funçõe se tornou disponível no FastCGI. Anteriormente ele só era suportado quando o PHP era instalado como módulo do Apache.
 array_combineVersões anteriores disparavam E_WARNING e retornavam false para arrays vazios.
 array_multisortSORT_NATURAL e SORT_FLAG_CASE foram adicionados em array1_sort_flags.
 date_default_timezone_getO 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_getA variável de ambiente TZ não é mais utilizada para adivinhar o fuso horário.
 emptyChecar deslocamentos de strings não numéricos retorna true.
 json_encodeoptions JSON_PRETTY_PRINT, JSON_UNESCAPED_SLASHES, e JSON_UNESCAPED_UNICODE foram adicionadas.
 session_set_save_handlerAdicionado SessionHandlerInterface para a implementação de manipuladores de sessão e SessionHandler para expor manipuladores de sessão internos do PHP.
 SimpleXMLElement::getDocNamespacesAdicionado o parâmetro from_root.
5.3.9DateTime::createFromFormatO especificador de format + foi adicionado.
5.3.6DateTime::modifyDeclarações absolutas de data/hora agora possuem efeito. Anteriormente, somente porções relativas eram utilizadas.
 array_productO produto de um array vazio agora é 1, quando antes essa função iria retornar 0 para um array vazio.
 PDO_MYSQL DSNAntes do PHP 5.3.6, o charset era ignorado.
5.3.4copyAlterado o parâmetro context para ele realmente ter algum efeito. Anteriormente, qualquer context era ignorado.
5.3.3json_encodeoption JSON_NUMERIC_CHECK foi adicionada.
5.3.1renamerename agora consegue mover arquivos entre drivers do Windows.
5.3.0DateTime::__constructSe o parâmetro time conter algum formato de data/hora inválida, uma exceção será lançada. Anteriormente, um erro era emitido.
 DateTime::modifyModificado o valor retornado de null para DateTime.
 DateTime::setDateModificado o valor retornado de null para DateTime.
 DateTime::setISODateModificado o valor retornado de null para DateTime.
 DateTime::setTimeModificado o valor retornado de null para DateTime.
 DateTime::setTimezoneModificado o valor retornado de null para DateTime.
 DateTimeZone::getTransitionsOs parâmetros opcionais timestamp_begin e timestamp_end foram adicionados.
 DateTimeZone::listIdentifiersAdicionado os parâmetros opcionais what e country.
 array_multisortSORT_LOCALE_STRING foi adicionado em array1_sort_flags.
 array_reduceinitial modificado para permitir mixed (anteriormente era integer).
 array_searchA partir do PHP 5.3.0 array_search retorna null caso sejam informados parâmetros inválidos.
 copyAdicionado suporte à contexto.
 date_default_timezone_setAgora retorna E_WARNING ao invés de E_STRICT.
 fgetcsvO parâmetro escape foi adicionado
 json_encodeO parâmetro options foi adicionado.
 linkA função fica disponível em plataformas Windows (Vista, Server 2008 or greater).
 mktimemktime agora lançará um aviso E_DEPRECATED se o parâmetro is_dst for utilizado.
 readlinkEsta função fica disponível na plataforma Windows (Vista, Server 2008 e superiores).
 session_startSe uma sessão falhar para iniciar, então é retornado false. Anteriormente, true era retornado.
 stristrAdicionado o parâmetro opcional before_needle.
 strstrAdicionado o parâmetro opcional before_needle.
5.2.10array_randO array retornado não é mais embaralhado.
5.2.5addcslashesAs seqüências de escape \v e \f foram adicionadas.
5.2.4parse_ini_fileChaves 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.3htmlentitiesO parâmetro double_encode foi adicionado.
 json_decodeO limite de aninhamento foi aumentado de 20 para 128
5.2.2 - 5.2.6substrSe 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.0curl_multi_info_readmsgs_in_queue was added.
 pathinfoA constante PATHINFO_FILENAME foi adicionada.
 session_get_cookie_paramsA entrada "httponly" foi adicionada no array retornado.
 session_set_cookie_paramsO parâmetro httponly foi adicionado.
 SimpleXMLElement::childrenO parâmetro opcional is_prefix foi adicionado.
 SimpleXMLElement::__constructAdicionado os parâmetros ns e is_prefix.
5.1.3curl_getinfoIntroduced CURLINFO_HEADER_OUT.
5.1.2date_default_timezone_setA função passou a validar o parâmetro timezone_identifier.
 SimpleXMLElement::__constructAdicionado os parâmetros options e data_is_url.
5.1.1dateHá constantes úteis do padrão de formato de data/hora que podem ser usados para especificar o parâmetro format.
 gmdateHá constantes úteis do padrão de formato data/hora que podem ser usadas para especificar o parâmetro format.
5.1.0dateO intervalo válido de um timestamp é tipicamente de Sex, 13 Dez 1901 20:45:54 GMT até Ter, 19 Jan 2038 03:14:07 GMT. (Estas são as datas que correspondem ao valor mínimo e máximo para um inteiro com sinal de 32-bit). Contudo, em versões anteriores ao PHP 5.1.0 este intervalo era limitado de 01-01-1970 para 19-01-2038 em alguns sistemas (e.g. Windows).
 dateAgora lança erros E_STRICT e E_NOTICE .
 date_sunriseAgora lança erros E_STRICT e E_NOTICE .
 date_sunsetAgora lança erros E_STRICT e E_NOTICE .
 explodeSuporte a limit negativo foi adicionado
 fgetcsvAgora length é opcional. O padrão é 0, que significa sem limite de comprimento.
 gettimeofdayO parâmetro return_float foi adicionado.
 globGLOB_ERR foi adicionado
 gmdateO intervalo válido de um timestamp é normalmente de Fri, 13 Dec 1901 20:45:54 GMT a Tue, 19 Jan 2038 03:14:07 GMT. (Estas são as datas que correspondem aos valores máximo e mínimo para um inteiro 32-bit com sinal). Contudo, antes do PHP 5.1.0 este intervalo foi limitado para 01-01-1970 a 19-01-2038 em alguns sistemas (e.g. Windows).
 gmmktimeA 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.
 idateAgora lança erros E_STRICT e E_NOTICE .
 localtimeAgora lança erros E_STRICT e E_NOTICE .
 md5_fileModificada função para usar a API de API. Significa que você pode usá-la com wrappers, como md5_file('http://example.com/..')
 mktimeO 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.
 mktimeQuando chamada sem argumentos, a função mktime lançará um aviso E_STRICT. Utilize a função time em substituição.
 mktimeAgora lança erros E_STRICT e E_NOTICE .
 strftimeAgora lança erros E_STRICT e E_NOTICE .
5.0.0apache_get_modulesTornou-se disponível usando o Apache 1 ou a API filter do Apache 2 . Antes disso, só estava disponível usando a API handler do Apache2.
 dirnamedirname passou a ser segura para binários
 fgetssO parâmetro length é opcional.
 fileO parâmetro context foi adicionado
 fileAté o PHP 5.0.0, o parâmetro flags suportava apenas include_path e era habilitado com 1
 get_class_methodsNo 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_decodeSuporte para conjunto de caracteres multi-byte foi adicionado.
 md5O parâmetro raw_output foi adicionado.
 md5_fileAdicionado o parâmetro raw_output
 mkdirA 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
 mkdirO parâmetro recursive foi adicionado
 parse_ini_fileValores envolvidos em aspas duplas podem conter novas linhas.
 renamerename pode agora também ser usada com algum URL wrappers. Consulte para uma lista de wrappers que rename suporta.
 rmdirNo PHP 5.0.0 rmdir pode também ser usada com alguns URL wrappers. Consulte para uma listagem de wrappers suportados pela rmdir.
 str_replaceO parâmetro count foi adicionado.
 strip_tagsstrip_tags tornou-se binary safe
add a note add a note

User Contributed Notes

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