�Ա���չ���࣯���������������¸��¡�
Version | Function | Description |
---|---|---|
7.2.0 | number_format | number_format ���������� -0��֮ǰ���ܷ��� -0����Ϊ number ���ܻ��� -0.01�� |
parse_str | �����ڶ��������������ʹ�� parse_str ����� E_DEPRECATED ���档 | |
7.1.0 | str_shuffle | ���õ�����㷨�� libc rand �����ij���÷ɭ��ת��α����������㷨�� |
stripos | ��ʼ֧�ָ����� offset�� | |
strpos | ��ʼ֧�ָ����� offset�� | |
substr_count | ��ʼ֧�ָ����� offset �� length�� | |
7.0.0 | substr | ��� string ���ַ��������� start ��ͬʱ������һ�����ַ�������֮ǰ�İ汾�У�������������� FALSE �� |
5.6.5 | crypt | When the failure string "*0" is given as the salt, "*1" will now be returned for consistency with other crypt implementations. Prior to this version, PHP 5.6 would incorrectly return a DES hash. |
5.6.0 | crypt | Raise E_NOTICE security warning if salt is omitted. |
html_entity_decode | The default value for the encoding parameter was changed to be the value of the default_charset configuration option. | |
htmlentities | The default value for the encoding parameter was changed to be the value of the default_charset configuration option. | |
htmlspecialchars | The default value for the encoding parameter was changed to be the value of the default_charset configuration option. | |
5.5.21 | crypt | When the failure string "*0" is given as the salt, "*1" will now be returned for consistency with other crypt implementations. Prior to this version, PHP 5.5 (and earlier branches) would incorrectly return a DES hash. |
5.5.11 | substr_compare | length ������ 0�� |
5.5.1 | hex2bin | ���������ַ�������Ч��ʮ�������ַ������׳�һ�����棬 |
5.4.32, 5.5.16 | ucwords | ������ delimiters ������ |
5.4.4 | hex2bin | ���������ַ����ж��ཫ�׳��쳣�� PHP 5.4.0 ���ַ���������Ĭ�ؽ��ܣ����������ֽڻᱻ�ضϡ� |
5.4.0 | get_html_translation_table | The constants ENT_HTML401, ENT_XML1, ENT_XHTML and ENT_HTML5 were added. |
get_html_translation_table | The default value for the encoding parameter was changed to UTF-8. | |
html_entity_decode | The constants ENT_HTML401, ENT_XML1, ENT_XHTML and ENT_HTML5 were added. | |
html_entity_decode | Default encoding changed from ISO-8859-1 to UTF-8. | |
htmlentities | ���ӳ��� ENT_SUBSTITUTE�� ENT_DISALLOWED�� ENT_HTML401�� ENT_XML1�� ENT_XHTML�� ENT_HTML5�� | |
htmlentities | encoding ������Ĭ��ֵ�ij� UTF-8�� | |
htmlspecialchars | encoding ������Ĭ��ֵ�ij� UTF-8�� | |
htmlspecialchars | ���ӳ��� ENT_SUBSTITUTE�� ENT_DISALLOWED�� ENT_HTML401�� ENT_XML1�� ENT_XHTML�� ENT_HTML5�� | |
htmlspecialchars_decode | ������ ENT_HTML401��ENT_XML1�� ENT_XHTML �� ENT_HTML5 �ȳ����� | |
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. | |
5.3.7 | crypt | Added $2x$ and $2y$ Blowfish modes to deal with potential high-bit attacks. |
5.3.4 | get_html_translation_table | The encoding parameter was added. |
strip_tags | strip_tags ignores self-closing XHTML tags in allowable_tags. | |
5.3.2 | crypt | ������ Blowfish �㷨���ڷǷ�ѭ�����µ����⣬����“ʧ��”�ַ�����“*0” �� “*1”��������ת��ʹ�� DES �㷨�� |
crypt | ���� Ulrich Drepper ��ʵ�֣��������� SHA-256 �㷨�� SHA-512 �㷨�� crypt�� | |
5.3.0 | crypt | PHP ���ڰ��������Լ��� MD5 Crypt ʵ�֣������� DES �㷨����չ�� DES �㷨�Լ� Blowfish �㷨�����ϵͳȱ����Ӧ��ʵ�֣���ô PHP ��ʹ�����Լ���ʵ�֡� |
htmlentities | ���ӳ��� ENT_IGNORE�� | |
htmlspecialchars | ���ӳ��� ENT_IGNORE�� | |
nl2br | ������ѡ�� is_xhtml �������ڴ�֮ǰ�����Dz��� '<br />'�� | |
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. | |
stristr | ������ѡ�� before_needle ������ | |
strlen | Prior versions treated arrays as the string Array, thus returning a string length of 5 and emitting an E_NOTICE level error. | |
strstr | ������ѡ�� before_needle ������ | |
5.2.5 | addcslashes | The escape sequences \v and \f were added. |
5.2.3 | htmlentities | ���Ӳ��� double_encode�� |
htmlspecialchars | ���Ӳ��� double_encode�� | |
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.1.0 | explode | ֧�ָ����� limit |
md5_file | ���������� API������ζ���ܹ���Ϸ�װ��ʹ�øú��������� md5_file('http://example.com/..')�� | |
sha1_file | �ı亯����ʹ���� API������ζ�ſ���ʹ�ð�װ�������� sha1_file('http://example.com/..')�� | |
str_word_count | ���� charlist ������ | |
substr_compare | ����ʹ�ø����� offset ������ | |
substr_count | ���� offset �� length ������ | |
5.0.0 | strip_tags | strip_tags ��Ϊ�����ư�ȫ�ġ� |
strrpos | ���� needle ������һ�����ַ����ַ����� | |
strrpos | ���� offset ������ | |
4.3.3 | substr_replace | All parameters now accept arrays. |
4.3.0 | stristr | stristr ��Ϊ�����ư�ȫ�ġ� |
strrchr | �ú����Ƕ����ư�ȫ�ġ� | |
strspn | ���� start �� length ������ | |
strstr | strstr ��Ϊ�����ư�ȫ�ġ� | |
4.2.3 | strcoll | ������ Win32 ƽ̨���á� |
4.0.1 | explode | �����˲��� limit |