Storico dei cambiamenti

Le seguenti modifiche sono state apportate alle funzioni delle estensioni del pacchetto.

VersionFunctionDescription
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 value parameter was added.
8.0.0, PECL OCI8 3.0.0OCICollection::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::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::writeThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 OCILob::writeTemporaryThe OCI-Lob class was renamed to OCILob to align with PHP naming standards.
 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 can be called on closed archive.
8.0.0com_event_sinksink_interface is nullable now.
 com_get_active_objectcodepage is nullable now.
 curl_copy_handleOn success, this function returns a CurlHandle instance now; previously, a resource was returned.
 curl_copy_handlehandle expects a CurlHandle instance now; previously, a resource was expected.
 curl_escapehandle expects a CurlHandle instance now; previously, a resource was expected.
 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_multi_setoptmulti_handle expects a CurlMultiHandle instance now; previously, a resource was expected.
 curl_pausehandle expects a CurlHandle instance now; previously, a resource was expected.
 curl_resethandle expects a CurlHandle instance now; previously, a resource was expected.
 curl_setopt_arrayhandle expects a CurlHandle instance now; previously, a resource was expected.
 curl_share_closeshare_handle expects a CurlShareHandle 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.
 curl_share_initThis function returns a CurlShareHandle instance now; previously, a resource was returned.
 curl_share_setoptshare_handle expects a CurlShareHandle instance now; previously, a resource was expected.
 curl_unescapehandle expects a CurlHandle instance now; previously, a resource was expected.
 deflate_addcontext expects a DeflateContext instance now; previously, a resource was expected.
 deflate_initOn success, this function returns a DeflateContext instance now; previously, a resource was returned.
 enchant_broker_describePrior to this version, the function returned FALSE on failure.
 enchant_broker_describebroker expects an EnchantBroker instance now; previoulsy, a resource was expected.
 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_dictsPrior to this version, the function returned FALSE on failure.
 enchant_broker_list_dictsbroker 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_dictbroker expects an EnchantBroker instance now; previoulsy, a resource was expected.
 enchant_broker_request_pwl_dictbroker expects an EnchantBroker instance now; previoulsy, a resource was expected.
 enchant_broker_request_pwl_dictOn success, this function returns an EnchantDictionary instance now; previoulsy, a resource was retured.
 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_add_to_personaldictionary 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_in_sessiondictionary 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.
 exif_read_datarequired_sections is nullable now.
 finfo_buffercontext is nullable now.
 finfo_filecontext is nullable now.
 gzwritelength is nullable now; previously, the default was 0.
 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.
 imagexbmThe fourth parameter, which was unused, has been removed.
 inflate_addcontext expects an InflateContext instance now; previously, a resource was expected.
 inflate_get_read_lencontext expects an InflateContext instance now; previously, a resource was expected.
 inflate_get_statuscontext expects an InflateContext instance now; previously, a resource was expected.
 inflate_initOn success, this function returns an InflateContext instance now; previously, a resource was returned.
 libxml_use_internal_errorsuse_errors is nullable now. Previously, its default was FALSE.
 mb_parse_strThe second parameter was no longer optional.
 mb_regex_set_optionsIf the parameter options is given, the previous options are returned. Formerly, the current options have been returned.
 mhashkey is now nullable.
 readline_infovar_name and value are nullable now.
 readline_read_historyfilename is nullable now.
 readline_write_historyfilename is nullable now.
 shm_has_varshm expects a SysvSharedMemory instance now; previously, a resource was expected.
 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::writeDtdEntitypublicId, systemId and notationData are nullable now.
 XMLWriter::writeDtdEntitywriter expects an XMLWriter instance now; previously, a resource was expected.
 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.
 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.
 tidy::__constructfilename, config, encoding and useIncludePath are nullable now.
 tidy::parseFileconfig and encoding are nullable now.
 tidy::parseStringconfig and encoding are nullable now.
 tidy::repairFileconfig and encoding are nullable now.
 tidy::repairFiletidy::repairFile is a static method now.
 tidy::repairStringThis function no longer accepts the useIncludePath parameter.
 tidy::repairStringconfig and encoding are nullable now.
 tidy::repairStringtidy::repairString is a static method now.
 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.
7.4.4proc_openAdded the create_new_console option to the other_options parameter.
7.4.0fputcsvThe escape_char parameter now also accepts an empty string to disable the proprietary escape mechanism.
 get_magic_quotes_gpcQuesta funzione è stata deprecata.
 gzreadThis functions returns FALSE on failure now; previously 0 was returned.
 gzwriteThis functions returns FALSE on failure now; previously 0 was returned.
 hash_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.
 imagecropautoThe behavior of imagecropauto() in the bundled libgd has been synced with that of system libgd: IMG_CROP_DEFAULT no longer falls back to IMG_CROP_SIDES and threshold-cropping now uses the same algorithm as system libgd.
 imagecropautoThe default value of mode has been changed to IMG_CROP_AUTO. Formerly, the default value has been -1 which corresponds to IMG_CROP_DEFAULT, but passing -1 is now deprecated.
 imagefilterScatter support (IMG_FILTER_SCATTER) was added.
 ldap_control_paged_resultThis function has been deprecated.
 ldap_control_paged_result_responseThis function has been deprecated.
 password_hashThe algo parameter expects a string now, but still accepts ints for backward compatibility.
 password_needs_rehashThe algo parameter expects a string now, but still accepts ints for backward compatibility.
 proc_openAdded the create_process_group option to the other_options parameter.
 proc_openproc_open now also accepts an array for the cmd.
 str_getcsvThe escape parameter now interprets an empty string as signal to disable the proprietary escape mechanism. Formerly, an empty string was treated like the default parameter value.
 SplFileObject::fgetcsvThe escape parameter now also accepts an empty string to disable the proprietary escape mechanism.
 SplFileObject::fputcsvThe escape parameter now also accepts an empty string to disable the proprietary escape mechanism.
 SplFileObject::fwriteThe function now returns FALSE instead of zero on failure.
 SplFileObject::getCsvControlThe escape character can now be an empty string.
 SplFileObject::setCsvControlThe escape parameter now also accepts an empty string to disable the proprietary escape mechanism.
 SQLite3Stmt::bindParamsql_param now also supports the @param notation.
 SQLite3Stmt::bindValuesql_param now also supports the @param notation.
7.3.24, 7.4.12tidyNode::isHtmlThis function has been fixed to have reasonable behavior. Previously, almost any node was reported as being an HTML node.
7.3.14, 7.4.2dba_openThe lmdb driver now supports an additional $mapsize parameter.
7.3.0DateTime::createFromFormatThe v format specifier has been added.
 apache_request_headersQuesta funzione è diventata disponibile nella FPM SAPI.
 getallheadersQuesta funzione è diventata disponibile nella FPM SAPI.
 imagecreatefromstringWEBP is supported now (if supported by the libgd in use).
 is_countableis_countable has been added.
 json_decodeJSON_THROW_ON_ERROR flags was added.
 json_encodeJSON_THROW_ON_ERROR flags was 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.
 password_hashSupport for Argon2id passwords using PASSWORD_ARGON2ID was added.
 setcookieAn alternative signature supporting an options array has been added. This signature supports also setting of the SameSite cookie attribute.
 setrawcookieAn alternative signature supporting an options array has been added. This signature supports also setting of the SameSite cookie attribute.
7.3ldap_addSupport for serverctrls added
 ldap_compareSupport for serverctrls added
 ldap_deleteSupport for serverctrls added
 ldap_exopSupport for serverctrls added
 ldap_exop_passwdSupport for serverctrls added
 ldap_listSupport for serverctrls added
 ldap_mod_addSupport for serverctrls added
 ldap_mod_delSupport for serverctrls added
 ldap_mod_replaceSupport for serverctrls added
 ldap_modify_batchSupport for serverctrls added
 ldap_parse_resultSupport for serverctrls added
 ldap_readSupport for serverctrls added
 ldap_renameSupport for serverctrls added
 ldap_searchSupport for serverctrls added
7.2.19, 7.3.6SplFileObject::__toStringChanged from an alias of SplFileObject::current to an alias of SplFileObject::fgets.
7.2.0date_parseThe zone element of the returned array represents seconds instead of minutes now, and its sign is inverted. For instance -120 is now 7200.
 date_parse_from_formatThe zone element of the returned array represents seconds instead of minutes now, and its sign is inverted. For instance -120 is now 7200.
 exif_read_dataSupport for the following EXIF formats were added: Samsung DJI Panasonic Sony Pentax Minolta Sigma/Foveon AGFA Kyocera Ricoh Epson
 exif_read_dataThe file parameter now supports both local files and stream resources.
 exif_thumbnailThe file parameter now supports both local files and stream resources.
 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_initReturn HashContext instead of resource.
 hash_initUsage of non-cryptographic hash functions (adler32, crc32, crc32b, fnv132, fnv1a32, fnv164, fnv1a64, joaat) with HASH_HMAC was disabled.
 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.
 imageantialiasimageantialias is now generally available. Formerly it was only available if PHP was compiled with the bundled version of the GD library.
 imagegdimagegd now allows to output truecolor images. Formerly, these have been implicitly converted to palette.
 imagelayereffectAdded IMG_EFFECT_MULTIPLY (requires system libgd >= 2.1.1 or the bundled libgd).
 imagetypesIMG_BMP added.
 json_decodeJSON_INVALID_UTF8_IGNORE, and JSON_INVALID_UTF8_SUBSTITUTE flags were added.
 json_decodeassociative is nullable now.
 json_encodeJSON_INVALID_UTF8_IGNORE, and JSON_INVALID_UTF8_SUBSTITUTE flags were added.
 mailIl parametro additional_headers ora accetta anche un array.
 mb_check_encodingThis function now also accepts an array as var. Formerly, only strings have been supported.
 mb_convert_encodingThis function now also accepts an array as val. 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 p7bfilename parameter was added.
 packfloat and double types supports both Big Endian and Little Endian.
 password_hashSupport for Argon2i passwords using PASSWORD_ARGON2I was added.
 proc_niceThis function is now available on Windows.
 read_exif_dataThis function alias was deprecated.
 session_abortThe return type of this function is bool now. Formerly, it has been void.
 session_resetThe return type of this function is bool now. Formerly, it has been void.
 set_error_handlererrcontext è diventato deprecato. L'utilizzo di questo parametro ora genera un avviso E_DEPRECATED.
 unpackfloat and double types supports both Big Endian and Little Endian.
 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.
 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 value 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.0DateInterval::formatThe F and f format characters were added.
 DateTime::__constructFrom now on microseconds are filled with actual value. Not with '00000'.
 DateTime::setTimeThe microsecond parameter was added.
 curl_multi_setoptIntroduced CURLMOPT_PUSHFUNCTION.
 exif_imagetypeAdded WebP support.
 get_headersThe context parameter was added.
 getimagesizeAdded WebP support.
 grapheme_extractSupport for negative starts 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.
 json_decodeAn empty JSON key ("") can be encoded to the empty object property instead of using a key with value _empty_.
 json_encodeJSON_UNESCAPED_LINE_TERMINATORS flags was added.
 json_encodeserialize_precision is used instead of precision when encoding double values.
 mb_eregmb_ereg will now set regs to an empty array, if nothing matched. Formerly, regs was not modified in that case.
 mb_ereg_replaceThe e modifier has been deprecated.
 mb_ereg_search_setposSupport for negative positions has been added.
 mb_eregimb_eregi will now set regs to an empty array, if nothing matched. Formerly, regs was not modified in that case.
 mb_eregi_replaceThe e modifier has been deprecated.
 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_newconfigargs 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 configarg was added to make it possible to create EC keys.
 output_add_rewrite_varBefore PHP 7.1.0, rewrite vars set by output_add_rewrite_var use the same Session module trans sid output buffer. Since PHP 7.1.0, dedicated output buffer is used, url_rewriter.tags is used solely for output functions, url_rewriter.hosts is added.
 output_reset_rewrite_varsBefore PHP 7.1.0, rewrite vars set by output_add_rewrite_var use the same Session module trans sid output buffer. Since PHP 7.1.0, dedicated output buffer is used and output_reset_rewrite_vars only removes rewrite vars defined by output_add_rewrite_var.
 pcntl_signalAs of PHP 7.1.0 the handler callback is given a second argument containing the signinfo of the specific signal. This data is only supplied if the operating system has the signinfo_t structure. If the OS does not implement siginfo_t NULL is supplied.
 pcntl_signal_get_handlerpcntl_signal_get_handler has been added.
 unpackThe optional offset has been added.
 ReflectionType::__toStringReflectionType::__toString has been deprecated.
 SessionHandler::gcPrior to this version, the function returned TRUE on success.
 SessionHandlerInterface::gcPrior to this version, the function returned TRUE on success.
7.0.16, 7.1.2dns_get_recordAdded support for CAA record type.
 fopenÈ stata aggiunta l'opzione 'e'.
7.0.15, 7.1.1get_defined_functionsThe exclude_disabled parameter has been added.
7.0.15,7.1.1packThe "e", "E", "g" and "G" codes were added to enable byte order support for float and double.
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.10imagetypesIMG_WEBP added.
 SQLite3::__constructThe filename can now be empty to use a private, temporary on-disk database.
7.0.7curl_multi_setoptIntroduced CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE, CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE, CURLMOPT_MAX_HOST_CONNECTIONS, CURLMOPT_MAX_PIPELINE_LENGTH and CURLMOPT_MAX_TOTAL_CONNECTIONS.
7.0.0array_columnAdded the ability for the input parameter to be an array of objects.
 assertassert è ora un costrutto del linguaggio e non una funzione. assertion ora può essere usata come un'espressione. Il secondo parametro è ora interpretato o come un exception (se viene passato un oggettoThrowable), o come la description supportato da PHP 5.4.8 in poi.
 is_numericLe stringhe nella notazione esadecimale (per esempio 0xf4c3b00c) non sono più considerate come stringhe numeriche, ovvero is_numeric ora restituisce FALSE.
 listL'ordine di esecuzione delle operazioni di assegnazione è cambiato.
 listLe espressioni list non possono più essere completamente vuote.
 listLe stringhe non possono più essere spacchettate.
 set_exception_handlerIl tipo di parametro passato in exception_handler è cambiato da Exception a Throwable
 setlocaleIl supporto per il parametro category passato come una stringa è stato rimosso. Solo le costanti LC_* possono essere usate in questa versione.
 IntlDateFormatter::setTimeZoneIdThis function has been removed.
6error_reportingE_STRICT è diventata parte di E_ALL.
5.6.25, 7.0.10SplFileObject::getCsvControlAdded the escape character to the returned array.
5.6.16mysqli::real_connectAdded the MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT flag for MySQL Native Driver
5.6.3packThe "q", "Q", "J" and "P" codes were added to enable working with 64-bit numbers.
5.6.0curl_setoptRimosso CURLOPT_CLOSEPOLICY e i suoi valori associati.
 curl_setoptCURLOPT_SAFE_UPLOAD è ora TRUE per impostazione predefinita.
 mb_regex_encodingDefault encoding is changed to UTF-8. It was EUC-JP Previously.
 mcrypt_decryptInvalid key and iv sizes are no longer accepted. mcrypt_decrypt will now throw a warning and return FALSE if the inputs are invalid. Previously keys and IVs were padded with '\0' bytes to the next valid size.
 mcrypt_encryptInvalid key and iv sizes are no longer accepted. mcrypt_encrypt will now throw a warning and return FALSE if the inputs are invalid. Previously keys and IVs were padded with '\0' bytes to the next valid size.
 pg_lo_truncateAdded truncate function. It supports PostgreSQL 9.3's 64bit large object. Both client and server must support PostgreSQL 9.3 and PHP must be 64bit build to use 64bit large object.
 stream_socket_enable_cryptoIntroduce STREAM_CRYPTO_METHOD_ANY_CLIENT, STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT, STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT, STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT, STREAM_CRYPTO_METHOD_ANY_SERVER, STREAM_CRYPTO_METHOD_TLSv1_0_SERVER, STREAM_CRYPTO_METHOD_TLSv1_1_SERVER, STREAM_CRYPTO_METHOD_TLSv1_2_SERVER.
 stream_socket_enable_cryptoThe crypto_type is now optional.
 ReflectionClass::newInstanceWithoutConstructorAll internal classes can now be instantiated except for those declared final.
 XMLReader::getAttributeNoXMLReader::getAttributeNo now returns NULL if the attribute doesn't exist.
 XMLReader::getAttributeNsXMLReader::getAttributeNS now returns NULL if the attribute doesn't exist.
5.5.21, 5.6.5SplFileObject::fputcsvAdded the escape parameter.
5.5.19, 5.6.3DateTimeZone::getOffsetdatetime type changed to DateTimeInterface. Previously, DateTime.
5.5.10DateTimeZone::__constructThe timezone parameter accepts offset values.
5.5.8DatePeriod::__constructend type changed to DateTimeInterface. Previously, DateTime.
5.5.4fputcsvThe escape_char parameter was added
5.5.2DOMDocument::schemaValidateAdded the flags parameter
 DOMDocument::schemaValidateSourceAdded the flags parameter
5.5.1pg_unescape_byteaSe la stringa di input non è valida, viene generato un avviso.
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 type changed to DateTimeInterface. Previously, DateTime.
 curl_setoptIntrodotto CURLOPT_SHARE.
 curl_setoptAggiunta la risorsa cURL come primo argomento alla callback CURLOPT_PROGRESSFUNCTION.
 emptyempty ora supporta le espressioni, piuttosto che solo variabili.
 packThe "Z" code was added with equivalent functionality to "a" for Perl compatibility.
 set_exception_handlerIn precedenza, se veniva passato NULL allora questa funzione restituiva TRUE. Restituisce il gestore precedente da PHP 5.5.0.
 unpackChanges were made to bring this function into line with Perl: The "a" code now retains trailing NULL bytes. The "A" code now strips all trailing ASCII whitespace (spaces, tabs, newlines, carriage returns, and NULL bytes). The "Z" code was added for NULL-padded strings, and removes trailing NULL bytes.
 IntlDateFormatter::setTimeZoneIdThis function has been deprecated.
 mysqli::commitAdded flags and name parameters.
 mysqli::rollbackAdded flags and name parameters.
5.4.8assertÈ stato aggiunto il parametro description. La description è anche ora fornita ad una funzione di callback in modalità ASSERT_CALLBACK come quarto parametro.
5.4.7curl_getinfoIntrodotte CURLINFO_PRIMARY_IP, CURLINFO_PRIMARY_PORT, CURLINFO_LOCAL_IP e CURLINFO_LOCAL_PORT.
5.4.0apache_child_terminateQuesta funzione diventa disponibile sotto FastCGI. Precedentemente, era supportata solo quando PHP era installato come modulo Apache.
 array_combineLe precedenti versioni generavano un E_WARNING e restituivano FALSE per gli array vuoti.
 array_multisortLe costanti SORT_NATURAL e SORT_FLAG_CASE sonon state aggiunte a array1_sort_flags come flag di tipo.
 emptyIl controllo su offset non numerici di stringhe restituisce TRUE.
 iconvDa questa versione, la funzione restituisce FALSE in caso di caratteri illegali, a meno che non venga specificato //IGNORE nel charset di output. Prima, questa funzione restituiva una stringa di output parziale.
 issetIl controllo su offset di stringhe non numerici ora restituisce FALSE.
5.3.15, 5.4.5Collator::getSortKeySort keys do no longer contain any NUL bytes.
5.3.9is_aAggiunto il parametro allow_string
 is_subclass_ofAggiunto il parametro allow_string
5.3.7curl_getinfoIntrodotto CURLINFO_REDIRECT_URL.
 is_subclass_ofAggiunto il supporto per class_name per funzionare come le interfacce
5.3.4sleepPrima di PHP 5.3.4 in Windows, sleep ritorna sempre NULL quando è eseguita, a prescindere dal fatto che sia stata interrotta o meno.
5.3.0array_multisortLa costante SORT_LOCALE_STRING è stata aggiunta a array1_sort_flags come flag di tipo.
 curl_setoptIntrodotto CURLOPT_PROGRESSFUNCTION.
 get_classNULL è diventato il valore di default per object, quindi passare NULL a object ora ha lo stesso risultato di non passare nessun valore.
 get_object_varsQuesta funzione ora restituisce NULL se object non è un oggetto. In precedenza veniva restituito FALSE.
 is_aQuesta funzione non è più deprecata, e quindi non genererà warning E_STRICT.
 setlocaleQuesta funzione emette un avviso E_DEPRECATED se una stringa è passata al parametro category invece che una delle costanti LC_*.
 strtotimePrima di PHP 5.3.0, 24:00 non era un formato valido e strtotime restituiva FALSE.
 strtotimePrima di PHP 5.3.0, i formati del tempo relativi forniti all'argomento time di strtotime come this week, previous week, last week, e next week erano interpretati per intendere un periodo di 7 giorni relativo alla data/ora corrente, invece di un periodo settimanale di Monday a Sunday.
5.2.10curl_setoptIntrodotto CURLOPT_PROTOCOLS, e CURLOPT_REDIR_PROTOCOLS.
5.2.7error_logAggiunto il valore 4 per message_type
 strtotimeIn PHP 5 precedente a 5.2.7, richiedere una data occorrenza di un dato giorno della settimana in un mese dove il giorno della settimana era il primo giorno del mese aggiungerebbe in modo scorretto una settimana al timestamp restituito. Questo è stato corretto in 5.2.7 e nelle versioni successive.
5.2.5addcslashesSono state aggiunte le sequenze di escape \v e \f.
 debug_backtraceAggiunto il parametro opzionale provide_object.
5.2.4curl_getinfoIntrodotto CURLINFO_PRIVATE.
5.2.0curl_multi_info_readÈ stato aggiunto msgs_in_queue.
 error_reportingInserita E_RECOVERABLE_ERROR.
 simplexml_load_fileThe optional parameter is_prefix was added.
 simplexml_load_stringThe optional parameter is_prefix was added.
 SimpleXMLElement::attributesThe optional parameter is_prefix was added.
 SimpleXMLElement::__constructAdded the ns and is_prefix parameters.
5.1.3curl_getinfoIntrodotto CURLINFO_HEADER_OUT.
5.1.2SimpleXMLElement::__constructAdded the options and data_is_url parameters.
5.1.1dateCi sono delle costanti utili dei formati di data/ora standard che possono essere usate per specificare il parametro format.
 debug_backtraceAggiunto l'object corrente come possibile elemento di ritorno.
 gmdateCi sono delle costanti utili di formati data/orario standard che possono essere usate per specificare il parametro format.
5.1.0ctype_digitPrima di PHP 5.1.0, questa stringa restituiva TRUE quando text era una stringa vuota.
 curl_setoptIntrodotto CURLOPT_AUTOREFERER, CURLOPT_BINARYTRANSFER, CURLOPT_FTPSSLAUTH, CURLOPT_PROXYAUTH, e CURLOPT_TIMECONDITION.
 dateL'intervallo valido di un timestamp è tipicamente da Ven, 13 Dec 1901 20:45:54 GMT a Mar, 19 Gen 2038 03:14:07 GMT. (Queste sono le date che corrispondono al valore minimo e massimo per un intero con segno a 32-bit). Tuttavia, prima di PHP 5.1.0 questo intervallo era limitato da 01-01-1970 a 19-01-2038 su alcuni sistemi (es. Windows).
 dateOra emette gli errori time zone E_STRICT e E_NOTICE
 get_parent_classSe venisse chiamata senza parametro fuori dall'oggetto, questa funzione dovrebbe restituire NULL con un avvertimento, ma ora restituisce FALSE.
 gettimeofdayIl parametro return_float è stato aggiunto.
 gmdateIl range valido di un timestamp è tipicamente da Venerdì, 13 Dicembre 1901 20:45:54 GMT a Martedì, 19 Gennaio 2038 03:14:07 GMT. (Queste sono le date che corrispondono ai valori minimo e massimo per un intero a 32-bit con il segno). Comunque, prima di PHP 5.1.0 questo range era limitato da 01-01-1970 a 01-19-2038 su alcuni sistemi (per esempio Windows).
 intvalGenera E_NOTICE e restituisce 1, quando un oggetto è passato a var.
 sha1_fileModificata la funzione per utilizzare lr API streams. Ciò significa che si può utlizzare la funzione con i vari warppers, tipo sha1_file('http://example.com/..')
 str_word_countAggiunto il parametro charlist
 strtotimeOra emette gli errori time zone E_STRICT e E_NOTICE
 strtotimeOra restituisce FALSE in caso di fallimento, invece di -1.
 var_exportPossibilità di esportare classi e array contenenti classi utilizzando il metodo magico __set_state().
5.0.3get_class_varsget_class_vars restituirà solo le proprietà che possono essere accedute dall'ambito corrente.
 is_subclass_ofSi potrebbe anche specificare il parametro object come una stringa (il nome della classe)
5.0.2class_existsNon restituisce più TRUE per le interfacce definite. Utilizzare interface_exists.
 get_class_varsChiamando get_class_vars verranno esposte tutte le proprietà come array, a differenza dei precedenti comportamenti dove le proprietà protected e private erano prefissate con byte nul.
 strtotimeIn PHP 5 fino a 5.0.2, "now" e altri tempi relativi sono erroneamente calcolati a partire dalla mezzanotte di oggi. Questo differisce dalle altre versioni in cui viene correttamente calcolato dal tempo corrente.
5.0.1get_class_varsChiamando get_class_vars verranno esposte tutte le proprietà, come quando si converte un oggetto in una classe.
5.0.0curl_setoptIntrodotto CURLOPT_FTP_USE_EPRT, CURLOPT_NOSIGNAL, CURLOPT_UNRESTRICTED_AUTH, CURLOPT_BUFFERSIZE, CURLOPT_HTTPAUTH, CURLOPT_PROXYPORT, CURLOPT_PROXYTYPE, CURLOPT_SSLCERTTYPE, e CURLOPT_HTTP200ALIASES.
 error_reportingInserita E_STRICT (non fa parte di E_ALL).
 is_aQuesta funzione venne deprecata in favore dell'operatore instanceof. La chiamata a questa funzione risulterà in un warning E_STRICT.
 opendirpath accetta il wrapper URL ftp:// .
 sha1_fileAggiunto il parametro raw_output.
 strtotimeI microsecondi hanno cominciato ad essere consentiti, ma sono ignorati.
 usleepQuesta funzione ora funziona anche sui sistemi Windows.
add a note add a note

User Contributed Notes

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