변경점

번들 확장 함수에 다음과 같은 변경이 이루어졌습니다.

VersionFunctionDescription
PHP 7.1.0mb_eregimb_eregi will now set regs to an empty array, if nothing matched. Formerly, regs was not modified in that case.
PHP 5emptyPHP 5부터, 프로퍼티가 없는 객체는 빈 것으로 간주되지 않습니다.
PHP 4emptyPHP 4부터, 문자열 "0"은 빈 것으로 간주합니다.
dbase 7.0.0dbase_add_recorddbase_identifier is now a resource instead of an int.
 dbase_closedbase_identifier is now a resource instead of an int.
 dbase_createThe return value is now a resource instead of an int.
 dbase_delete_recorddbase_identifier is now a resource instead of an int.
 dbase_get_header_infodbase_identifier is now a resource instead of an int.
 dbase_get_recorddbase_identifier is now a resource instead of an int.
 dbase_get_record_with_namesdbase_identifier is now a resource instead of an int.
 dbase_numfieldsdbase_identifier is now a resource instead of an int.
 dbase_numrecordsdbase_identifier is now a resource instead of an int.
 dbase_openThe return value is now a resource instead of an int.
 dbase_packdbase_identifier is now a resource instead of an int.
 dbase_replace_recorddbase_identifier is now a resource instead of an int.
7.2.0imageantialiasimageantialias 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).
 proc_niceThis function is now available on Windows.
7.1.0getimagesizeAdded WebP support.
 getoptAdded the optind parameter.
 grapheme_extractSupport for negative starts has been added.
 grapheme_striposSupport for negative offsets has been added.
 grapheme_strposSupport for negative offsets has been added.
 iconv_strposSupport for negative offsets has been added.
 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_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.
 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 addedd.
 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.
 substr_countSupport for negative offsets and lengths has been added.
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.
 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.0assertassert is now a language construct and not a function. assertion can now be an expression. The second parameter is now interpreted either as an exception (if a Throwable object is given), or as the description supported from PHP 5.4.8 onwards.
 definearray values are allowed.
 dldl is disabled in PHP-FPM.
 getrusageThis function is now supported on Windows.
 gmmktimeis_dst parameter has been removed.
 imagepsbboxT1Lib support was removed from PHP, thrus removing this function.
 imagepsencodefontT1Lib support was removed from PHP, thrus removing this function.
 imagepsextendfontT1Lib support was removed from PHP, thrus removing this function.
 imagepsfreefontT1Lib support was removed from PHP, thrus removing this function.
 imagepsloadfontT1Lib support was removed from PHP, thrus removing this function.
 imagepsslantfontT1Lib support was removed from PHP, thrus removing this function.
 imagepstextT1Lib support was removed from PHP, thrus removing this function.
 mktimeis_dst parameter has been removed.
 set_exception_handlerThe type of parameter passed into exception_handler changed from Exception to Throwable
 setlocaleSupport for the category parameter passed as a string has been removed. Only LC_* constants can be used as of this version.
 shmop_closeThe type of shmid has been changed from int to resource.
 shmop_deleteThe type of shmid has been changed from int to resource.
 shmop_openThe return type of shmop_open has been changed from int to resource.
 shmop_readThe type of shmid has been changed from int to resource.
 shmop_sizeThe type of shmid has been changed from int to resource.
 shmop_writeThe type of shmid has been changed from int to resource.
 substrIf string is equal to start characters long, an empty string will be returned. Prior to this version, FALSE was returned in this case.
 token_get_allAdded the optional flags parameter along with the TOKEN_PARSE flag.
 IntlDateFormatter::setTimeZoneIdThis function has been removed.
6.0.0chr입력으로 codepoint를 사용합니다.
5.6.25, 7.0.10imagetypesIMG_WEBP added.
 SplFileObject::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.12gd_infoWebP Support added.
5.6.3packThe "q", "Q", "J" and "P" codes were added to enable working with 64-bit numbers.
5.6.1sem_acquireThe $nowait parameter was added.
5.6.0curl_setoptCURLOPT_SAFE_UPLOAD is now TRUE by default.
 curl_setoptRemoved CURLOPT_CLOSEPOLICY and associated values.
 escapeshellargThe default value for the encoding parameter was changed to be the value of the default_charset configuration option.
 escapeshellcmdThe default value for the encoding parameter was changed to be the value of the default_charset configuration option.
 hash_algosSupport for gost-crypto was added. This implements the GOST hash function using the CryptoPro S-box tables as specified by RFC 4357, section 11.2.
 mb_regex_encodingDefault encoding is changed to UTF-8. It was EUC-JP Previously.
 mcrypt_create_ivMCRYPT_DEV_URANDOM is now the default value of source.
 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_connectSupport for giving the PGSQL_CONNECT_ASYNC constant as the connect_type was added.
 pg_convertNo longer experimental. Boolean/NULL data types are supported. Unknown/unsupported data types are escaped without validation. pg_convert could be used with any data types.
 pg_deleteNo longer experimental. Added PGSQL_DML_ESCAPE constant, TRUE/FALSE and NULL data type support.
 pg_insertUnless PGSQL_DML_STRING is passed, the function now returns the connection resource instead of TRUE on success.
 pg_insertNo longer experimental. Added PGSQL_DML_ESCAPE constant, TRUE/FALSE and NULL data type support.
 pg_lo_seekAdded PostgreSQL 9.3's 64bit large object support. Both client and server must support PostgreSQL 9.3 and PHP must be 64bit build to use 64bit large object.
 pg_lo_tellAdded PostgreSQL 9.3's 64bit large object support. Both client and server must support PostgreSQL 9.3 and PHP must be 64bit build to use 64bit large object.
 pg_lo_truncateAdded truncate function. It supports PostgreSQL 9.3's 64bit large object. Both client and server must support PostgreSQL 9.3 and PHP must be 64bit build to use 64bit large object.
 pg_meta_dataNo longer experimental. Added "is enum" as default attribute. extended flag is added.
 pg_selectNo longer experimental. Added PGSQL_DML_ESCAPE constant, TRUE/FALSE and NULL data type support.
 pg_updateNo longer experimental. Added PGSQL_DML_ESCAPE constant, TRUE/FALSE and NULL data type support.
 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.
 substr_comparelength may now be 0.
 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.3imagescaleThe calculation of the height if new_height was negative or omitted was fixed; prior to these versions, the aspect ratio was not maintained correctly.
5.5.8DatePeriod::__constructend type changed to DateTimeImmutable. Previously, DateTime.
5.5.3/5.4.19pg_deleteDirect SQL injection to table_name and Indirect SQL injection to identifiers are fixed.
 pg_insertDirect SQL injection to table_name and Indirect SQL injection to identifiers are fixed.
 pg_selectDirect SQL injection to table_name and Indirect SQL injection to identifiers are fixed.
 pg_updateDirect SQL injection to table_name and Indirect SQL injection to identifiers are fixed.
5.5.2DOMDocument::schemaValidateAdded the flags parameter
 DOMDocument::schemaValidateSourceAdded the flags parameter
5.5.1hex2binA warning is thrown if the input string is invalid hexadecimal string.
 pg_unescape_byteaA warning is thrown if the input string is invalid.
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::formatSupport for providing IntlCalendar objects to the value parameter was added.
 IntlDateFormatter::setCalendarIt became possible to pass an IntlCalendar object.
5.5.0DatePeriod::__constructstart type changed to DateTimeImmutable. Previously, DateTime.
 curl_getinfoIntroduced CURLINFO_RESPONSE_CODE, CURLINFO_HTTP_CONNECTCODE, CURLINFO_HTTPAUTH_AVAIL, CURLINFO_PROXYAUTH_AVAIL, CURLINFO_OS_ERRNO, CURLINFO_NUM_CONNECTS, CURLINFO_SSL_ENGINES, CURLINFO_COOKIELIST, CURLINFO_FTP_ENTRY_PATH, CURLINFO_APPCONNECT_TIME, CURLINFO_CONDITION_UNMET, CURLINFO_RTSP_CLIENT_CSEQ, CURLINFO_RTSP_CSEQ_RECV, CURLINFO_RTSP_SERVER_CSEQ and CURLINFO_RTSP_SESSION_ID.
 curl_setoptIntroduced CURLOPT_SHARE.
 curl_setoptAdded the cURL resource as the first argument to the CURLOPT_PROGRESSFUNCTION callback.
 imagerotateThe ignore_transparent is now silently ignored.
 imagerotateThis function is now affected by the interpolation method set by the imagesetinterpolation function.
 ip2longPrior to this version, on Windows ip2long would sometimes return a valid number even if passed a value which was not an (IPv4) Internet Protocol dotted address.
 iterator_to_arrayiterator_to_array gained support for key types other than integer and string when the use_keys parameter is enabled.
 packThe "Z" code was added with equivalent functionality to "a" for Perl compatibility.
 php_logo_guidphp_logo_guid has been removed from PHP.
 phpinfoLogo GUIDs were replaced with data URIs, and so turning off expose_php now has no effect on the result of phpinfo(). Credits are also now embedded within the output itself instead of linked.
 set_error_handlererror_handler now accepts NULL.
 set_exception_handlerPreviously, if NULL was passed then this function returned TRUE. It returns the previous handler since PHP 5.5.0.
 setcookieA Max-Age attribute is now included in the Set-Cookie header sent to the client.
 setrawcookieA Max-Age attribute is now included in the Set-Cookie header sent to the client.
 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.
 zend_logo_guidzend_logo_guid has been removed from PHP.
 IntlDateFormatter::setTimeZoneIdThis function has been deprecated.
 mysqli::commitAdded flags and name parameters.
 mysqli::optionsThe MYSQLI_SERVER_PUBLIC_KEY and MYSQLI_SERVER_PUBLIC_KEY options were added.
 mysqli::rollbackAdded flags and name parameters.
 SoapClient::SoapClientNew ssl_method option.
5.4.43, 5.5.27, 5.6.11escapeshellargExclamation marks are replaced by spaces.
 escapeshellcmdExclamation marks are replaced by spaces.
5.4.32, 5.5.16ucwordsAdded the delimiters parameter.
5.4.8assertThe description parameter was added. The description is also now provided to a callback function in ASSERT_CALLBACK mode as the fourth argument.
 mb_strcutPassing NULL as length extracts all bytes to the end of the string. Prior to this version NULL was treated the same as 0.
 mb_substrPassing NULL as length extracts all characters to the end of the string. Prior to this version NULL was treated the same as 0.
5.4.7curl_getinfoIntroduced CURLINFO_PRIMARY_IP, CURLINFO_PRIMARY_PORT, CURLINFO_LOCAL_IP and CURLINFO_LOCAL_PORT.
5.4.4hex2binA warning is thrown if the input string is of odd length. In PHP 5.4.0 the string was silently accepted, but the last byte was truncated.
5.4.0/PECL 2.0.0b1idn_to_asciiAdded the parameters variant and idna_info; UTS #46 support.
 idn_to_utf8Added the parameters variant and idna_info; UTS #46 support.
5.4.0DOMDocument::loadHTMLAdded options parameter.
 DOMDocument::loadHTMLFileAdded options parameter.
 date_default_timezone_getThe timezone is no longer guessed from information available through the operating system as the guessed timezone can not be relied on.
 date_default_timezone_getThe TZ environment variable is no longer used to guess the timezone.
 debug_backtraceAdded the optional parameter limit.
 debug_print_backtraceAdded the optional parameter limit.
 define_syslog_variablesThis function was removed from PHP.
 dns_get_recordAdded raw parameter.
 error_reportingE_STRICT became part of E_ALL.
 filter_input_arrayAdded add_empty parameter.
 filter_var_arrayAdded add_empty parameter.
 get_magic_quotes_gpcAlways returns FALSE because the magic quotes feature was removed from PHP.
 get_magic_quotes_runtimeAlways returns FALSE because the magic quotes feature was removed from PHP.
 gzcompressAdded encoding parameter.
 gzdeflateAdded encoding parameter.
 gzencodeFORCE_DEFLATE now generates RFC 1950 compliant output.
 hashThe tiger algorithm now uses big-endian byte ordering. See also example below.
 hash_algosSupport for joaat, fnv132 and fnv164 was added. Support for Salsa10 and Salsa20 was removed.
 htmlspecialchars_decodeThe constants ENT_HTML401, ENT_XML1, ENT_XHTML and ENT_HTML5 were added.
 iconvSince this version, the function returns FALSE on illegal characters, unless //IGNORE is specified in output charset. Before, it returned partial output string.
 imagecolorsetThe alpha parameter was added.
 imagegdAdded support for passing a stream resource to to.
 imagegd2Added support for passing a stream resource to to.
 imagegifAdded support for passing a stream resource to to.
 imagejpegDisallowed passing an empty string to to to skip this argument.
 imagejpegAdded support for passing a stream resource to to.
 imagepngAdded support for passing a stream resource to to.
 imagewbmpAdded support for passing a stream resource to to.
 imagewebpAdded support for passing a stream resource to to.
 mb_encode_numericentityAdded is_hex parameter.
 mysqli_get_cache_statsThe mysqli_get_cache_stats was removed.
 number_formatThis function now supports multiple bytes in dec_point and thousands_sep. Only the first byte of each separator was used in older versions.
 ob_startob_start의 세번째 인수가 erase로 불리는 boolean 인수(FALSE로 설정할 경우 스크립트가 종료될 때까지 출력 버퍼의 삭제를 방지)에서 flags로 불리는 integer 인수로 변경되었습니다. 불행히도, 이 결과 PHP 5.4.0 이전에 세번째 인수를 사용하던 코드와 API 호환성이 깨졌습니다. 모든 버전에서 호환성을 가지게 하기 위해서는, 플래그 예제를 참고하십시오.
 ob_start1 chunk 크기는 출력 버퍼에 1 바이트가 전달되게 바뀌었습니다.
 openssl_decryptThe raw_output was changed to options.
 openssl_encryptThe raw_output was changed to options.
 snmp_set_valueretrievalConstants SNMP_VALUE_PLAIN or SNMP_VALUE_LIBRARY may be combined with SNMP_VALUE_OBJECT resulting different way of representing contents of value array element in return value of GET-function. If no SNMP_VALUE_{PLAIN,LIBRARY} constant is accompanying SNMP_VALUE_OBJECT, SNMP_VALUE_LIBRARY is used. Prior to 5.4.0 SNMP_VALUE_OBJECT effecively meant SNMP_VALUE_OBJECT|SNMP_VALUE_PLAIN.
 Phar::setStubAdded len parameter.
 PharData::setStubAdded len parameter.
 SoapClient::SoapClientNew keep_alive option.
5.4grapheme_substrIf length is given and positive and the argument string is shorter than the specified length, all the rest of the string according to start parameter is returned. Previously, FALSE was returned.
5.3.19imagecreatefromxpmimagecreatefromxpm is available on Windows.
5.3.9DateTime::createFromFormatThe + format specifier has been added.
 dldl is enabled in PHP-FPM, albeit discouraged.
5.3.7curl_getinfoIntroduced CURLINFO_REDIRECT_URL.
5.3.6DateTime::modifyAbsolute date/time statements now take effect. Previously, only relative parts were used.
 DOMDocument::saveHTMLThe node parameter was added.
 debug_backtraceThe parameter provide_object changed to options and additional option DEBUG_BACKTRACE_IGNORE_ARGS is added.
 debug_print_backtraceAdded the optional parameter options.
 PDO_MYSQL DSNPrior to version 5.3.6, charset was ignored.
5.3.4sleepBefore PHP 5.3.4, on Windows, sleep always returns NULL when sleep has occurred, regardless of whether the sleep was interrupted or not.
 IntlDateFormatter::formatSupport for providing DateTime objects to the value parameter was added.
 mysqli_driver::$report_modeChanging the reporting mode is now be per-request, rather than per-process.
5.3.3DOMXPath::evaluateThe registerNodeNS parameter was added.
 DOMXPath::queryThe registerNodeNS parameter was added.
 imap_fetch_overviewAdd the update property.
 ldap_sasl_bindSupport on Windows was added.
 openssl_decryptThe iv parameter was added.
 openssl_encryptThe iv parameter was added.
5.3.2 (PECL OCI8 1.4)oci_set_prefetchBefore this release, rows must be >= 1.
5.3.2gmp_initThe base was extended from 2 to 36, to 2 to 62 and -2 to -36.
 gmp_strvalThe base was extended from 2 to 36, to 2 to 62 and -2 to -36.
 imap_appendAdded INTERNALDATE support to imap_append.
 imap_openparams added
5.3.1ibase_queryOn success the function now returns TRUE if there were no affected rows, where it previously returned 0 (a zero followed by an empty space).
5.3.0 (PECL OCI8 1.3.4)oci_set_prefetchBefore this release, prefetching was limited to the lesser of rows rows and 1024 * rows bytes. The byte size restriction has now been removed.
5.3.0DateTime::__constructIf time contains an invalid date/time format, then an exception is now thrown. Previously an error was emitted.
 DateTime::modify반환값을 NULL에서 DateTime으로 변경.
 DateTime::setDate반환값을 NULL에서 DateTime으로 변경.
 DateTime::setISODate반환값을 NULL에서 DateTime으로 변경.
 DateTime::setTime반환값을 NULL에서 DateTime으로 변경.
 DateTime::setTimezone반환값을 NULL에서 DateTime으로 변경.
 DateTimeZone::getTransitionsThe optional timestamp_begin and timestamp_end were added.
 DateTimeZone::listIdentifiersAdded the optional what and country parameters.
 DirectoryIterator::__constructThrows UnexpectedValueException if the path cannot be opened.
 acosh모든 플랫폼에서 이 함수를 사용할 수 있게 되었습니다.
 asinh모든 플랫폼에서 이 함수를 사용할 수 있게 되었습니다.
 atanh모든 플랫폼에서 이 함수를 사용할 수 있게 되었습니다.
 call_user_funcThe interpretation of object oriented keywords like parent and self has changed. Previously, calling them using the double colon syntax would emit an E_STRICT warning because they were interpreted as static.
 call_user_func_arrayThe interpretation of object oriented keywords like parent and self has changed. Previously, calling them using the double colon syntax would emit an E_STRICT warning because they were interpreted as static.
 checkdnsrrThis function is now available on Windows platforms.
 crypt시스템에서 지원하지 않는 MD5 암호화, 표준 DES, 확장 DES, Blowfish 알고리즘에 대해서 PHP의 구현을 가집니다.
 curl_getinfoIntroduced CURLINFO_CERTINFO.
 curl_setoptIntroduced CURLOPT_PROGRESSFUNCTION.
 date_default_timezone_setNow throws E_WARNING rather than E_STRICT.
 define_syslog_variablesThis function now throws an E_DEPRECATED notice.
 dldl is now disabled in some SAPIs due to stability issues. The only SAPIs that allow dl are CLI and Embed. Use the Extension Loading Directives instead.
 dns_get_recordThis function is now available on Windows platforms.
 dns_get_recordPrior to this release, if the authns parameter was given, the addtl parameter was also required.
 error_reportingE_DEPRECATED and E_USER_DEPRECATED introduced.
 exif_imagetypeAdded icon support.
 expm1This function is now available on all platforms
 func_get_argThis function can now be used in parameter lists.
 func_get_argIf this function is called from the outermost scope of a file which has been included by calling include or require from within a function in the calling file, it now generates a warning and returns FALSE.
 func_get_argsThis function can now be used in parameter lists.
 func_get_argsIf this function is called from the outermost scope of a file which has been included by calling include or require from within a function in the calling file, it now generates a warning and returns FALSE.
 func_num_argsIf this function is called from the outermost scope of a file which has been included by calling include or require from within a function in the calling file, it now generates a warning and returns -1.
 func_num_argsThis function can now be used in parameter lists.
 gd_infoJPG Support attribute renamed to JPEG Support.
 get_cfg_varget_cfg_var가 "array" ini 옵션을 반환할 수 있도록 수정되었습니다.
 getimagesizeAdded icon support.
 getmxrrThis function is now available on Windows platforms.
 getoptAdded support for optional values (specified with "::").
 getoptParameter longopts is available on all systems.
 getoptThis function is no longer system dependent, and now works on Windows, too.
 getoptAdded support for "=" as argument/value separator.
 hash_algosSupport for md2, ripemd256, ripemd320, salsa10, salsa20, snefru256 and sha224 was added
 imagecolorclosesthwbThis function is now available on Windows
 imagefilterPixelation support (IMG_FILTER_PIXELATE) was added.
 inet_ntopThis function is now available on Windows platforms.
 inet_ptonThis function is now available on Windows platforms.
 ini_getPreviously, the empty string was returned if the configuration option didn't exist. now, FALSE is returned instead.
 ini_get_alldetails 추가.
 log1pThis function is now available on all platforms
 mb_get_infoThe entry "http_output_conv_mimetypes" was made available.
 mcrypt_create_ivMCRYPT_DEV_RANDOM and MCRYPT_DEV_URANDOM became available on Windows platforms.
 mcrypt_create_ivIt is no longer required to call srand first. This is now done automatically.
 mktimemktime now throws E_DEPRECATED notice if the is_dst parameter is used.
 mysql_db_query이 함수는 E_DEPRECATED 주의를 발생합니다.
 mysql_escape_stringE_DEPRECATED 주의가 발생합니다.
 mysqli_get_cache_statsThe mysqli_get_cache_stats was added as stub.
 nl2br선택적인 is_xhtml 인수 추가.
 openssl_sealThe method parameter was added.
 pg_lo_createThe optional object_id was added.
 pg_lo_importThe optional object_id was added.
 register_tick_functionTicks are now supported on threaded web server modules.
 setlocaleThis function now throws an E_DEPRECATED notice if a string is passed to the category parameter instead of one of the LC_* constants.
 shm_attachThis function now returns a 자원 instead of an integer.
 socket_create_pairThis function is now re-enabled on Windows platforms.
 spl_autoload_registerThe prepend parameter was added.
 spl_autoload_registerNamespaces support was introduced.
 stream_context_createAdded the optional params argument.
 stream_socket_pairThis function is now available on Windows platforms.
 stristr선택적인 before_needle 인수 추가
 strstr선택적인 before_needle 인수 추가.
 strtotimePrior to PHP 5.3.0, 24:00 was not a valid format and strtotime returned FALSE.
 strtotimePrior to PHP 5.3.0, relative time formats supplied to the time argument of strtotime such as this week, previous week, last week, and next week were interpreted to mean a 7 day period relative to the current date/time, rather than a week period of Monday through Sunday.
 sybase_connectThe new parameter was added.
 time_nanosleepThis function is now available on Windows platforms.
 time_sleep_untilThis function is now available on Windows platforms.
 mysqli::__constructAdded the ability of persistent connections.
 mysqli::optionsThe MYSQLI_OPT_INT_AND_FLOAT_NATIVE, MYSQLI_OPT_NET_CMD_BUFFER_SIZE, MYSQLI_OPT_NET_READ_BUFFER_SIZE, and MYSQLI_OPT_SSL_VERIFY_SERVER_CERT options were added.
 mysqli::queryAdded the ability of async queries.
 ReflectionFunction::__constructname can now be a closure.
 SplFileObject::setCsvControlAdded the escape parameter.
 SplObjectStorage::attachAdded the data parameter.
 XMLReader::expandThe parameter basenode was added.
5.2.15mysqli_driver::$report_modeChanging the reporting mode is now be per-request, rather than per-process.
5.2.10curl_setoptIntroduced CURLOPT_PROTOCOLS, and CURLOPT_REDIR_PROTOCOLS.
 ip2longPrior to this version, ip2long would sometimes return a valid number even if passed a value which was not an (IPv4) Internet Protocol dotted address.
5.2.8XSLTProcessor::importStylesheetAccepts SimpleXMLElement again which was broken since PHP 5.2.6.
5.2.7error_logThe possible value of 4 was added to message_type.
 strtotimeIn PHP 5 prior to 5.2.7, requesting a given occurrence of a given weekday in a month where that weekday was the first day of the month would incorrectly add one week to the returned timestamp. This has been corrected in 5.2.7 and later versions.
5.2.5addcslashes회피 시퀀스 \v와 \f 추가
 debug_backtraceAdded the optional parameter provide_object.
 imagefilterAlpha support for IMG_FILTER_COLORIZE was added.
5.2.4checkdnsrrTXT type was added.
 curl_getinfoIntroduced CURLINFO_PRIVATE.
 curl_setoptIntroduced CURLOPT_PRIVATE.
 get_loaded_extensions선택적인 zend_extensions 인수 추가
 ldap_first_attributeThe ber_identifier was removed. This is now handled automatically by PHP.
 ldap_next_attributeThe ber_identifier was removed. This is now handled automatically by PHP.
 stream_wrapper_registerAdded the flags parameter.
5.2.3getimagesizeRead errors generated by this function downgraded to E_NOTICE from E_WARNING.
 htmlentitiesdouble_encode 인수 추가.
 htmlspecialcharsdouble_encode 인수 추가.
 json_decode중첩 제한이 20에서 128로 증가
 XMLWriter::writeElementThe content parameter became optional.
 XMLWriter::writeElementNSThe content parameter became optional.
 PDOStatement::getColumnMetatable field
5.2.2 - 5.2.6substrIf the start parameter indicates the position of a negative truncation or beyond, false is returned. Other versions get the string from start.
5.2.2DOMDocument::registerNodeClassPrior to 5.2.2, a previously registered extendedclass had to be unregistered before being able to register a new class extending the same baseclass.
 ftp_ssl_connectThe function was changed to return FALSE when it can't use an SSL connection, instead of fallbacking to a non-SSL one as previously.
 phpinfoThe "Loaded Configuration File" information was added, when before only "Configuration File (php.ini) Path" existed.
 proc_terminatePrevious versions used to destroy the given process resource.
 token_get_allLine numbers are returned in element 2
5.2.1부터mt_srandPHP의 Mersenne Twister 구현이 Richard Wagner의 새로운 초기화 알고리즘을 사용합니다. 동일한 초기화 값을 주어도, 이전 버전처럼 동일한 값을 생성하지 않습니다. 이 동작은 다시 변경되지 않을 것이지만, 여기에 의존하는 것은 안전하지 않은 것으로 간주됩니다.
5.2.1iterator_to_arrayThe use_keys parameter was added.
 json_encodeJSON 인코드 기본 자료형 지원 추가
 memory_get_peak_usageCompiling with --enable-memory-limit is no longer required for this function to exist.
 memory_get_usageCompiling with --enable-memory-limit is no longer required for this function to exist.
 proc_openAdded the bypass_shell option to the other_options parameter.
5.2.0base64_decodestrict 추가
 curl_multi_info_readmsgs_in_queue was added.
 error_reportingE_RECOVERABLE_ERROR introduced.
 imagettftextIt is now possible to specify an hexadecimal entity in text.
 imap_openn_retries added
 imap_reopenn_retries added
 mb_strrposAdded the optional parameter offset.
 memory_get_peak_usagereal_usage was added.
 memory_get_usagereal_usage was added.
 openssl_verifyThe signature_alg parameter was added.
 pg_escape_byteaconnection added
 pg_escape_stringconnection added
 set_error_handlerThe error handler must return FALSE to populate $php_errormsg.
 setcookieThe httponly parameter was added.
 setrawcookieThe httponly parameter was added.
 snmp_set_oid_numeric_printSince PHP 5.2.0.
 PDOStatement::executeThe keys from input_parameters must match the ones declared in the SQL. Before PHP 5.2.0 this was silently ignored.
 SoapServer::SoapServerAdded the typemap option.
 XMLReader::openencoding and options were added.
 XMLReader::XMLencoding and options were added.
5.1.3DirectoryIterator::__constructThrows RuntimeException if the path is an empty string.
 curl_getinfoIntroduced CURLINFO_HEADER_OUT.
 get_headersThis function now uses the default stream context, which can be set/changed with the stream_context_set_default function.
 http_build_query대괄호를 이스케이프 합니다.
 imagecolorallocateReturns FALSE if the allocation failed. Previously -1 was returned.
 imagecolorallocatealphaReturns FALSE if the allocation failed. Previously -1 was returned.
 imagepngAdded the filters parameter.
 mb_get_infoThe entries "mail_charset", "mail_header_encoding", and "mail_body_encoding" were made available.
 SoapClient::__doRequestThe one_way parameter was added.
 XMLReader::getAttributeReturn NULL if no attribute found. Previously, returned an empty string.
5.1.2date_default_timezone_setThe function started to validate the timezone_identifier parameter.
 headerThis function now prevents more than one header to be sent at once as a protection against header injection attacks.
 http_build_queryarg_separator 인수 추가.
 imagepngAdded the quality parameter.
 parse_urlcomponent 인수 추가
5.1.1dateformat 인수 지정에 사용할 수 있는 유용한 표준 날짜/시간 상수가 있습니다.
 debug_backtraceAdded the current object as a possible return element.
 gmdateThere are useful constants of standard date/time formats that can be used to specify the format parameter.
5.1.0DirectoryIterator::__constructThrows RuntimeException on error. Previously, threw Exception.
 DOMDocument::saveAdded the options parameter
 DOMDocument::saveXMLAdded the options parameter
 class_implementsAdded the option to pass the class parameter as a string. Added the autoload parameter.
 class_parentsAdded the option to pass the class parameter as a string. Added the autoload parameter.
 ctype_digitBefore PHP 5.1.0, this function returned TRUE when text was an empty string.
 curl_setoptIntroduced CURLOPT_AUTOREFERER, CURLOPT_BINARYTRANSFER, CURLOPT_FTPSSLAUTH, CURLOPT_PROXYAUTH, and CURLOPT_TIMECONDITION.
 date시간대 오류시 E_STRICT와 E_NOTICE가 발생합니다.
 date유효한 타임스탬프 범위는 보통 Fri, 13 Dec 1901 20:45:54 GMT 에서 Tue, 19 Jan 2038 03:14:07 GMT 입니다. (이 날짜들은 32비트 부호 있는 정수의 최소값과 최대값에 해당합니다) 그러나, PHP 5.1.0 이전에는 몇몇 시스템에서 이 범위가 01-01-1970에서 19-01-2038로 제한되었습니다. (윈도우 등)
 date_sunrise시간대 오류시 E_STRICT와 E_NOTICE가 발생합니다.
 date_sunset시간대 오류시 E_STRICT와 E_NOTICE가 발생합니다.
 explode음수 limit 지원 추가
 gettimeofdayThe return_float parameter was added.
 gmdateThe valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are the dates that correspond to the minimum and maximum values for a 32-bit signed integer). However, before PHP 5.1.0 this range was limited from 01-01-1970 to 19-01-2038 on some systems (e.g. Windows).
 gmmktimeAs of PHP 5.1.0, the is_dst parameter became deprecated. As a result, the new timezone handling features should be used instead.
 idate시간대 오류시 E_STRICT와 E_NOTICE가 발생합니다.
 imagerotateignore_transparent was added.
 localtime시간대 오류시 E_STRICT와 E_NOTICE가 발생합니다.
 md5_file스트림 API를 사용합니다. 즉, md5_file('http://example.com/..')처럼 래퍼를 사용할 수 있습니다.
 mktime시간대 오류시 E_STRICT와 E_NOTICE가 발생합니다.
 mktimeWhen called with no arguments, mktime throws E_STRICT notice. Use the time function instead.
 mktimeThe is_dst parameter became deprecated. Made the function return FALSE on error, instead of -1. Fixed the function to accept the year, month and day to be all passed as zero.
 mssql_connectThe new_link parameter was added
 openssl_pkcs7_verifyThe content parameter was added.
 preg_replacecount 인수 추가
 preg_replace_callbackcount 인수 추가
 sha1_file스트림 API를 사용합니다. 즉, sha1_file('http://example.com/..')처럼 래퍼를 사용할 수 있습니다.
 str_word_countcharlist 인수 추가
 stream_copy_to_streamAdded the offset parameter
 stream_filter_appendPrior to PHP 5.1.0, this function returns TRUE on success 실패 시 FALSE를 반환합니다.
 stream_filter_prependPrior to PHP 5.1.0, this function returns TRUE on success 실패 시 FALSE를 반환합니다.
 stream_get_contentsThe offset was added.
 strftime시간대 오류시 E_STRICT와 E_NOTICE가 발생합니다.
 strtotimeNow returns FALSE on failure, instead of -1.
 strtotime시간대 오류시 E_STRICT와 E_NOTICE가 발생합니다.
 substr_compareAdded the possibility to use a negative offset.
 substr_countAdded the offset and the length parameters
 var_export__set_state 마법 메쏘드를 사용하여 클래스와 클래스를 가진 배열을 내보낼 수 있게 되었습니다.
 XSLTProcessor::registerPHPFunctionsThe restrict parameter was added.
5.0.5php_check_syntaxThis function was removed from PHP.
5.0.4msql_fetch_arrayA bug was fixed when retrieving data from columns containing NULL values. Such columns were not placed into the resulting array.
 msql_fetch_objectA bug was fixed when retrieving data from columns containing NULL values. Such columns were not placed into the resulting array.
 msql_fetch_rowA bug was fixed when retrieving data from columns containing NULL values. Such columns were not placed into the resulting array.
5.0.3php_check_syntaxCalling exit after php_check_syntax resulted in a Segfault.
5.0.2strtotimeIn PHP 5 up to 5.0.2, "now" and other relative times are wrongly computed from today's midnight. This differs from other versions where it is correctly computed from current time.
5.0.1php_check_syntaxerror_message is passed by reference.
5.0.0curl_setoptIntroduced CURLOPT_FTP_USE_EPRT, CURLOPT_NOSIGNAL, CURLOPT_UNRESTRICTED_AUTH, CURLOPT_BUFFERSIZE, CURLOPT_HTTPAUTH, CURLOPT_PROXYPORT, CURLOPT_PROXYTYPE, CURLOPT_SSLCERTTYPE, and CURLOPT_HTTP200ALIASES.
 error_reportingE_STRICT introduced (not part of E_ALL).
 get_defined_constantscategorize 인수가 추가되었습니다.
 get_defined_vars반환하는 결과 배열에 $GLOBALS 변수가 포함됩니다.
 html_entity_decode멀티바이트 문자셋 지원 추가.
 md5raw_output 인수 추가.
 md5_fileraw_output 인수 추가
 mysql_fetch_object다른 객체로 반환할 수 있는 기능 추가
 sha1raw_output 인수 추가.
 sha1_fileraw_output 인수 추가
 str_ireplacecount 인수 추가.
 str_replacecount 인수 추가.
 strip_tagsstrip_tags는 바이너리 안전입니다
 strtotimeMicroseconds began to be allowed, but they are ignored.
add a note add a note

User Contributed Notes

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