update : 2015.11.03
php.shukuma.com
변경점
변경점
번들 확장 함수에 다음과 같은 변경이 이루어졌습니다.
Version Function Description PHP 5 empty PHP 5부터, 프로퍼티가 없는 객체는 빈 것으로 간주되지 않습니다. PHP 4 empty PHP 4부터, 문자열 "0"은 빈 것으로 간주합니다. 7.0.0 assert assert 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. define array values are allowed. dl dl is disabled in PHP-FPM. getrusage This function is now supported on Windows. gmmktime is_dst parameter has been removed. imagepsbbox T1Lib support was removed from PHP, thrus removing this function. imagepsencodefont T1Lib support was removed from PHP, thrus removing this function. imagepsextendfont T1Lib support was removed from PHP, thrus removing this function. imagepsfreefont T1Lib support was removed from PHP, thrus removing this function. imagepsloadfont T1Lib support was removed from PHP, thrus removing this function. imagepsslantfont T1Lib support was removed from PHP, thrus removing this function. imagepstext T1Lib support was removed from PHP, thrus removing this function. mktime is_dst parameter has been removed. set_exception_handler The type of parameter passed into exception_handler changed
from Exception to Throwable setlocale Support for the category parameter passed as a string has
been removed. Only LC_* constants can be used as of this version. substr If string is equal to
start characters long, an empty string will be
returned. Prior to this version, FALSE was returned in this case. IntlDateFormatter::setTimeZoneId This function has been removed. 6.0.0 chr 입력으로 codepoint를 사용합니다. 5.6.12 gd_info WebP Support added. 5.6.3 pack The "q", "Q", "J" and "P" codes were added to enable working with 64-bit numbers. 5.6.1 sem_acquire The $nowait parameter was added. 5.6.0 curl_setopt Removed CURLOPT_CLOSEPOLICY and associated values. curl_setopt CURLOPT_SAFE_UPLOAD is now TRUE by default. hash_algos Support 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_encoding Default encoding is changed to UTF-8. It was EUC-JP Previously. mcrypt_create_iv MCRYPT_DEV_URANDOM is now the default value of
source. mcrypt_decrypt Invalid key and iv sizes
are no longer accepted. mcrypt_decrypt will now throw
a warning and return FALSE if the inputs are invalid. Previously keys and
IVs were padded with '\0' bytes to the next valid size. mcrypt_encrypt Invalid key and iv sizes
are no longer accepted. mcrypt_encrypt will now throw
a warning and return FALSE if the inputs are invalid. Previously keys and
IVs were padded with '\0' bytes to the next valid size. pg_connect Support for giving the PGSQL_CONNECT_ASYNC
constant as the connect_type was added. pg_convert No 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_delete No longer experimental. Added PGSQL_DML_ESCAPE constant,
TRUE/FALSE and NULL data type support. pg_insert No longer experimental. Added PGSQL_DML_ESCAPE constant,
TRUE/FALSE and NULL data type support. pg_lo_seek Added 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_tell Added 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_truncate Added truncate function. It supports PostgreSQL 9.3's 64bit large object. Both client and server must
support PostgreSQL 9.3 and PHP must be 64bit build to use 64bit large object. pg_meta_data No longer experimental. Added "is enum" as default attribute.
extended flag is added. pg_select No longer experimental. Added PGSQL_DML_ESCAPE constant,
TRUE/FALSE and NULL data type support. pg_update No longer experimental. Added PGSQL_DML_ESCAPE constant,
TRUE/FALSE and NULL data type support. stream_socket_enable_crypto The crypto_type is now optional. substr_compare length may now be 0. ReflectionClass::newInstanceWithoutConstructor All internal classes can now be instantiated except for those declared
final. XMLReader::getAttributeNo XMLReader::getAttributeNo now returns NULL
if the attribute doesn't exist. XMLReader::getAttributeNs XMLReader::getAttributeNS now returns NULL
if the attribute doesn't exist. 5.5.21, 5.6.5 SplFileObject::fputcsv Added the escape parameter. 5.5.19/5.6.3 imagescale The 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.8 DatePeriod::__construct end type changed to
DateTimeImmutable.
Previously, DateTime. 5.5.3/5.4.19 pg_delete Direct SQL injection to table_name and Indirect SQL
injection to identifiers are fixed. pg_insert Direct SQL injection to table_name and Indirect SQL
injection to identifiers are fixed. pg_select Direct SQL injection to table_name and Indirect SQL
injection to identifiers are fixed. pg_update Direct SQL injection to table_name and Indirect
SQL injection to identifiers are fixed. 5.5.2 DOMDocument::schemaValidate Added the flags parameter DOMDocument::schemaValidateSource Added the flags parameter 5.5.1 hex2bin A warning is thrown if the input string is invalid hexadecimal string. pg_unescape_bytea A warning is thrown if the input string is invalid. 5.5.0/PECL 3.0.0 IntlDateFormatter::create An IntlCalendar object is allowed for
calendar.
Objects of type IntlTimeZone and
DateTimeZone are allowed for
timezone.
Invalid timezone identifiers (including empty strings) are no longer
allowed for timezone.
If NULL is given for timezone, the timezone
identifier given by date_default_timezone_get will
be used instead of ICUʼs default. IntlDateFormatter::format Support for providing IntlCalendar objects to the
value parameter was added. IntlDateFormatter::setCalendar It became possible to pass an IntlCalendar
object. 5.5.0 DatePeriod::__construct start type changed to
DateTimeImmutable.
Previously, DateTime. curl_setopt Introduced CURLOPT_SHARE. curl_setopt Added the cURL resource as the first argument to the
CURLOPT_PROGRESSFUNCTION callback. imagerotate This function is now affected by the interpolation method set by the
imagesetinterpolation function. ip2long Prior 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_array iterator_to_array gained support for key types
other than integer and string when the
use_keys parameter is enabled. pack The "Z" code was added with equivalent functionality to "a" for Perl
compatibility. php_logo_guid php_logo_guid has been removed from PHP. phpinfo Logo 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_handler error_handler now accepts NULL. set_exception_handler Previously, if NULL was passed then this function returned TRUE.
It returns the previous handler since PHP 5.5.0. setcookie A Max-Age attribute is now included in the Set-Cookie header sent to
the client. setrawcookie A Max-Age attribute is now included in the Set-Cookie header sent to
the client. unpack Changes were made to bring this function into line with Perl:
The "a" code now retains trailing NULL bytes.
The "A" code now strips all trailing ASCII whitespace (spaces, tabs,
newlines, carriage returns, and NULL bytes).
The "Z" code was added for NULL-padded strings, and removes trailing
NULL bytes. zend_logo_guid zend_logo_guid has been removed from PHP. IntlDateFormatter::setTimeZoneId This function has been deprecated. mysqli::commit Added flags and name
parameters. mysqli::options The MYSQLI_SERVER_PUBLIC_KEY option was added. mysqli::rollback Added flags and name
parameters. SoapClient::SoapClient New ssl_method option. 5.4.32, 5.5.16 ucwords Added the delimiters parameter. 5.4.8 assert The description parameter was added. The
description is also now provided to a callback
function in ASSERT_CALLBACK mode as the fourth
argument. mb_strcut Passing NULL as length
extracts all bytes to the end of the string. Prior to this version
NULL was treated the same as 0. mb_substr Passing 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.7 curl_getinfo Introduced CURLINFO_PRIMARY_IP,
CURLINFO_PRIMARY_PORT,
CURLINFO_LOCAL_IP and
CURLINFO_LOCAL_PORT. 5.4.4 hex2bin A 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.0b1 idn_to_ascii Added the parameters variant and
idna_info; UTS #46 support. idn_to_utf8 Added the parameters variant and
idna_info; UTS #46 support. 5.4.0 DOMDocument::loadHTML Added options parameter. DOMDocument::loadHTMLFile Added options parameter. date_default_timezone_get The timezone is no longer guessed from information available through the
operating system as the guessed timezone can not be relied on. date_default_timezone_get The TZ environment variable is no longer used to
guess the timezone. debug_backtrace Added the optional parameter limit. debug_print_backtrace Added the optional parameter limit. define_syslog_variables This function was removed from PHP. dns_get_record Added raw parameter. error_reporting E_STRICT became part of E_ALL. filter_input_array Added add_empty parameter. filter_var_array Added add_empty parameter. get_magic_quotes_gpc Always returns FALSE because the magic quotes feature was removed from PHP. get_magic_quotes_runtime Always returns FALSE because the magic quotes feature was removed from PHP. gzcompress Added encoding parameter. gzdeflate Added encoding parameter. gzencode FORCE_DEFLATE now generates RFC 1950 compliant
output. hash The tiger algorithm now uses big-endian byte ordering. See also example below. hash_algos Support for joaat, fnv132 and fnv164 was added. Support for Salsa10 and Salsa20 was removed. htmlspecialchars_decode The constants ENT_HTML401, ENT_XML1,
ENT_XHTML and ENT_HTML5 were added. iconv Since this version, the function returns FALSE on illegal characters,
unless //IGNORE is specified in output charset.
Before, it returned partial output string. imagecolorset The alpha parameter was added. imagejpeg Disallowed passing an empty string to filename to
skip this argument. mb_encode_numericentity Added is_hex parameter. mysqli_get_cache_stats The mysqli_get_cache_stats was removed. number_format This function now supports multiple bytes in
dec_point and
thousands_sep. Only the first byte of each
separator was used in older versions. ob_start ob_start의 세번째 인수가
erase로 불리는 boolean
인수(FALSE로 설정할 경우 스크립트가 종료될 때까지 출력 버퍼의 삭제를
방지)에서 flags로 불리는 integer
인수로 변경되었습니다. 불행히도, 이 결과 PHP 5.4.0 이전에 세번째 인수를
사용하던 코드와 API 호환성이 깨졌습니다. 모든 버전에서 호환성을 가지게
하기 위해서는, 플래그
예제를 참고하십시오. ob_start 1 chunk 크기는 출력 버퍼에 1 바이트가 전달되게
바뀌었습니다. openssl_decrypt The raw_output was changed to options. openssl_encrypt The raw_output was changed to options. snmp_set_valueretrieval Constants 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::setStub Added len parameter. PharData::setStub Added len parameter. SoapClient::SoapClient New keep_alive option. 5.4 grapheme_substr If 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.9 DateTime::createFromFormat The + format specifier has been added. dl dl is enabled in PHP-FPM, albeit discouraged. 5.3.7 curl_getinfo Introduced CURLINFO_REDIRECT_URL. 5.3.6 DateTime::modify Absolute date/time statements now take effect.
Previously, only relative parts were used. DOMDocument::saveHTML The node parameter was added. debug_backtrace The parameter provide_object changed to options and additional option
DEBUG_BACKTRACE_IGNORE_ARGS is added. debug_print_backtrace Added the optional parameter options. PDO_MYSQL DSN Prior to version 5.3.6, charset was ignored. 5.3.4 sleep Before PHP 5.3.4, on Windows, sleep always
returns NULL when sleep has occurred, regardless of whether the
sleep was interrupted or not. IntlDateFormatter::format Support for providing DateTime objects to the
value parameter was added. mysqli_driver::$report_mode Changing the reporting mode is now be per-request, rather than per-process. 5.3.3 DOMXPath::evaluate The registerNodeNS parameter was added. DOMXPath::query The registerNodeNS parameter was added. ldap_sasl_bind Support on Windows was added. openssl_decrypt The iv parameter was added. openssl_encrypt The iv parameter was added. 5.3.2 (PECL OCI8 1.4) oci_set_prefetch Before this release, rows must be >= 1. 5.3.2 gmp_init The base was extended from 2 to 36, to
2 to 62 and -2 to -36. gmp_strval The base was extended from 2 to 36, to
2 to 62 and -2 to -36. imap_append Added INTERNALDATE support to imap_append. imap_open params added 5.3.1 ibase_query On 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_prefetch Before this release, prefetching was limited to the lesser
of rows rows and 1024
* rows bytes. The byte size
restriction has now been removed. 5.3.0 DateTime::__construct If 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::getTransitions The optional timestamp_begin and timestamp_end
were added. DateTimeZone::listIdentifiers Added the optional what and
country parameters. DirectoryIterator::__construct Throws UnexpectedValueException if the
path cannot be opened. acosh 모든 플랫폼에서 이 함수를 사용할 수 있게 되었습니다. asinh 모든 플랫폼에서 이 함수를 사용할 수 있게 되었습니다. atanh 모든 플랫폼에서 이 함수를 사용할 수 있게 되었습니다. call_user_func The 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_array The 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. checkdnsrr This function is now available on Windows platforms. crypt 시스템에서 지원하지 않는 MD5 암호화, 표준 DES, 확장 DES, Blowfish
알고리즘에 대해서 PHP의 구현을 가집니다. curl_setopt Introduced CURLOPT_PROGRESSFUNCTION. date_default_timezone_set Now throws E_WARNING rather than
E_STRICT. define_syslog_variables This function now throws an E_DEPRECATED notice. dl dl 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_record Prior to this release, if the authns parameter
was given, the addtl parameter was also
required. dns_get_record This function is now available on Windows platforms. error_reporting E_DEPRECATED and E_USER_DEPRECATED introduced. exif_imagetype Added icon support. expm1 This function is now available on all platforms func_get_arg If 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_arg This function can now be used in parameter lists. func_get_args If 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_args This function can now be used in parameter lists. func_num_args If 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_args This function can now be used in parameter lists. gd_info JPG Support attribute renamed to JPEG Support. get_cfg_var get_cfg_var가 "array" ini 옵션을 반환할 수 있도록
수정되었습니다. getimagesize Added icon support. getmxrr This function is now available on Windows platforms. getopt Added support for optional values (specified with "::"). getopt Parameter longopts is available on all systems. getopt This function is no longer system dependent, and now works on Windows, too. getopt Added support for "=" as argument/value separator. hash_algos Support for md2, ripemd256, ripemd320, salsa10, salsa20, snefru256 and sha224 was added imagecolorclosesthwb This function is now available on Windows imagefilter Pixelation support (IMG_FILTER_PIXELATE) was added. inet_ntop This function is now available on Windows platforms. inet_pton This function is now available on Windows platforms. ini_get Previously, the empty string was returned if the configuration
option didn't exist. now, FALSE is returned instead. ini_get_all details 추가. log1p This function is now available on all platforms mb_get_info The entry "http_output_conv_mimetypes" was made available. mcrypt_create_iv MCRYPT_DEV_RANDOM and
MCRYPT_DEV_URANDOM became available on Windows
platforms. mcrypt_create_iv It is no longer required to call srand first. This
is now done automatically. mktime mktime now throws E_DEPRECATED notice
if the is_dst parameter is used. mysql_db_query 이 함수는 E_DEPRECATED 주의를 발생합니다. mysql_escape_string E_DEPRECATED 주의가 발생합니다. mysqli_get_cache_stats The mysqli_get_cache_stats was added as stub. nl2br 선택적인 is_xhtml 인수 추가. openssl_seal The method parameter was added. pg_lo_create The optional object_id was added. pg_lo_import The optional object_id was added. register_tick_function Ticks are now supported on threaded web server modules. setlocale This function now throws an E_DEPRECATED notice if a string is passed
to the category parameter instead of one of the
LC_* constants. shm_attach This function now returns a 자원 instead of an
integer. socket_create_pair This function is now re-enabled on Windows platforms. spl_autoload_register Namespaces support was introduced. spl_autoload_register The prepend parameter was added. stream_context_create Added the optional params argument. stream_socket_pair This function is now available on Windows platforms. stristr 선택적인 before_needle 인수 추가 strstr 선택적인 before_needle 인수 추가. strtotime Prior to PHP 5.3.0, 24:00 was not a valid format and
strtotime returned FALSE. strtotime Prior 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_connect The new parameter was added. time_nanosleep This function is now available on Windows platforms. time_sleep_until This function is now available on Windows platforms. mysqli::__construct Added the ability of persistent connections. mysqli::query Added the ability of async queries. ReflectionFunction::__construct name can now be a closure. SplObjectStorage::attach Added the data parameter. XMLReader::expand The parameter basenode was added. 5.2.15 mysqli_driver::$report_mode Changing the reporting mode is now be per-request, rather than per-process. 5.2.10 curl_setopt Introduced CURLOPT_PROTOCOLS, and
CURLOPT_REDIR_PROTOCOLS. ip2long Prior 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.8 XSLTProcessor::importStylesheet Accepts SimpleXMLElement again which was broken
since PHP 5.2.6. 5.2.7 error_log The possible value of 4 was added to message_type. strtotime In 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.5 addcslashes 회피 시퀀스 \v와 \f 추가 debug_backtrace Added the optional parameter provide_object. imagefilter Alpha support for IMG_FILTER_COLORIZE was added. 5.2.4 checkdnsrr TXT type was added. curl_getinfo Introduced CURLINFO_PRIVATE. get_loaded_extensions 선택적인 zend_extensions 인수 추가 ldap_first_attribute The ber_identifier was removed. This
is now handled automatically by PHP. ldap_next_attribute The ber_identifier was removed. This
is now handled automatically by PHP. stream_wrapper_register Added the flags parameter. 5.2.3 getimagesize Read errors generated by this function downgraded to
E_NOTICE from E_WARNING. htmlentities double_encode 인수 추가. htmlspecialchars double_encode 인수 추가. json_decode 중첩 제한이 20에서 128로 증가 XMLWriter::writeElement The content parameter became optional. XMLWriter::writeElementNS The content parameter became optional. PDOStatement::getColumnMeta table field 5.2.2 - 5.2.6 substr If the start parameter indicates the position of
a negative truncation or beyond, false is returned. Other versions get
the string from start. 5.2.2 DOMDocument::registerNodeClass Prior 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_connect The function was changed to return FALSE when it can't use an SSL
connection, instead of fallbacking to a non-SSL one as previously. phpinfo The "Loaded Configuration File" information was added, when before
only "Configuration File (php.ini) Path" existed. proc_terminate Previous versions used to destroy the given process
resource. token_get_all Line numbers are returned in element 2 5.2.1부터 mt_srand PHP의 Mersenne Twister 구현이 Richard Wagner의 새로운 초기화
알고리즘을 사용합니다. 동일한 초기화 값을 주어도, 이전 버전처럼 동일한
값을 생성하지 않습니다. 이 동작은 다시 변경되지 않을 것이지만, 여기에
의존하는 것은 안전하지 않은 것으로 간주됩니다. 5.2.1 iterator_to_array The use_keys parameter was added. json_encode JSON 인코드 기본 자료형 지원 추가 memory_get_peak_usage Compiling with --enable-memory-limit
is no longer required for this function to exist. memory_get_usage Compiling with --enable-memory-limit
is no longer required for this function to exist. proc_open Added the bypass_shell option to the
other_options parameter. 5.2.0 base64_decode strict 추가 curl_multi_info_read msgs_in_queue was added. error_reporting E_RECOVERABLE_ERROR introduced. imagettftext It is now possible to specify an hexadecimal entity in
text. imap_open n_retries added imap_reopen n_retries added mb_strrpos Added the optional parameter offset. memory_get_peak_usage real_usage was added. memory_get_usage real_usage was added. openssl_verify The signature_alg parameter was added. pg_escape_bytea connection added pg_escape_string connection added set_error_handler The error handler must return FALSE to populate
$php_errormsg. setcookie The httponly parameter was added. setrawcookie The httponly parameter was added. snmp_set_oid_numeric_print Since PHP 5.2.0. PDOStatement::execute The keys from input_parameters must match the ones
declared in the SQL. Before PHP 5.2.0 this was silently ignored. SoapServer::SoapServer Added the typemap option. XMLReader::open encoding and options
were added. XMLReader::XML encoding and options
were added. 5.1.3 DirectoryIterator::__construct Throws RuntimeException if the
path is an empty string. curl_getinfo Introduced CURLINFO_HEADER_OUT. get_headers This function now uses the default stream context, which can be
set/changed with the stream_context_set_default
function. http_build_query 대괄호를 이스케이프 합니다. imagecolorallocate Returns FALSE if the allocation failed. Previously
-1 was returned. imagecolorallocatealpha Returns FALSE if the allocation failed. Previously
-1 was returned. imagepng Added the filters parameter. mb_get_info The entries "mail_charset", "mail_header_encoding", and
"mail_body_encoding" were made available. SoapClient::__doRequest The one_way parameter was added. XMLReader::getAttribute Return NULL if no attribute found.
Previously, returned an empty string. 5.1.2 date_default_timezone_set The function started to validate the
timezone_identifier parameter. header This function now prevents more than one header to be sent at once as
a protection against header injection attacks. http_build_query arg_separator 인수 추가. imagepng Added the quality parameter. parse_url component 인수 추가 5.1.1 date format 인수 지정에 사용할 수 있는 유용한 표준
날짜/시간 상수가
있습니다. debug_backtrace Added the current object as a possible return element. gmdate There are useful constants
of standard date/time formats that can be used to specify the
format parameter. 5.1.0 DirectoryIterator::__construct Throws RuntimeException on error.
Previously, threw Exception. DOMDocument::save Added the options parameter DOMDocument::saveXML Added the options parameter class_implements Added the option to pass the class parameter as
a string. Added the autoload parameter. class_parents Added the option to pass the class parameter as
a string. Added the autoload parameter. ctype_digit Before PHP 5.1.0, this function returned TRUE
when text was an empty string. curl_setopt Introduced CURLOPT_AUTOREFERER,
CURLOPT_BINARYTRANSFER,
CURLOPT_FTPSSLAUTH,
CURLOPT_PROXYAUTH, and
CURLOPT_TIMECONDITION. 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 시간대 오류시
E_STRICT와 E_NOTICE가
발생합니다. date_sunrise 시간대 오류시
E_STRICT와 E_NOTICE가
발생합니다. date_sunset 시간대 오류시
E_STRICT와 E_NOTICE가
발생합니다. explode 음수 limit 지원 추가 gettimeofday The return_float parameter was added. gmdate The 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). gmmktime As 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가
발생합니다. imagerotate ignore_transparent was added. localtime 시간대 오류시
E_STRICT와 E_NOTICE가
발생합니다. md5_file 스트림 API를 사용합니다. 즉,
md5_file('http://example.com/..')처럼 래퍼를 사용할
수 있습니다. mktime When called with no arguments, mktime throws
E_STRICT notice. Use the
time function instead. mktime 시간대 오류시
E_STRICT와 E_NOTICE가
발생합니다. mktime The 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_connect The new_link parameter was added openssl_pkcs7_verify The content parameter was added. preg_replace count 인수 추가 preg_replace_callback count 인수 추가 sha1_file 스트림 API를 사용합니다. 즉,
sha1_file('http://example.com/..')처럼 래퍼를
사용할 수 있습니다. str_word_count charlist 인수 추가 stream_copy_to_stream Added the offset parameter stream_filter_append Prior to PHP 5.1.0, this function returns TRUE on success
실패 시 FALSE를 반환합니다. stream_filter_prepend Prior to PHP 5.1.0, this function returns TRUE on success
실패 시 FALSE를 반환합니다. stream_get_contents The offset was added. strftime 시간대 오류시
E_STRICT와 E_NOTICE가
발생합니다. strtotime Now returns FALSE on failure, instead
of -1. strtotime 시간대 오류시
E_STRICT와 E_NOTICE가
발생합니다. substr_compare Added the possibility to use a negative offset. substr_count Added the offset and
the length parameters var_export __set_state 마법
메쏘드를 사용하여 클래스와 클래스를 가진 배열을 내보낼 수 있게
되었습니다. XSLTProcessor::registerPHPFunctions The restrict parameter was added. 5.0.5 php_check_syntax This function was removed from PHP. 5.0.4 msql_fetch_array A bug was fixed when retrieving data from columns containing NULL
values. Such columns were not placed into the resulting array. msql_fetch_object A bug was fixed when retrieving data from columns containing NULL
values. Such columns were not placed into the resulting array. msql_fetch_row A bug was fixed when retrieving data from columns containing NULL
values. Such columns were not placed into the resulting array. 5.0.3 php_check_syntax Calling exit after
php_check_syntax resulted in a Segfault. 5.0.2 strtotime In 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.1 php_check_syntax error_message is passed by reference. 5.0.0 curl_setopt Introduced CURLOPT_FTP_USE_EPRT,
CURLOPT_NOSIGNAL,
CURLOPT_UNRESTRICTED_AUTH,
CURLOPT_BUFFERSIZE,
CURLOPT_HTTPAUTH,
CURLOPT_PROXYPORT,
CURLOPT_PROXYTYPE,
CURLOPT_SSLCERTTYPE, and
CURLOPT_HTTP200ALIASES. error_reporting E_STRICT introduced (not part of E_ALL). get_defined_constants categorize 인수가 추가되었습니다. get_defined_vars 반환하는 결과 배열에 $GLOBALS 변수가 포함됩니다. html_entity_decode 멀티바이트 문자셋 지원 추가. md5 raw_output 인수 추가. md5_file raw_output 인수 추가 mysql_fetch_object 다른 객체로 반환할 수 있는 기능 추가 sha1 raw_output 인수 추가. sha1_file raw_output 인수 추가 str_ireplace count 인수 추가. str_replace count 인수 추가. strip_tags strip_tags는 바이너리 안전입니다 strtotime Microseconds began to be allowed, but they are ignored.