锟皆憋拷锟斤拷展锟斤拷锟洁/锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟铰革拷锟铰★拷
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 锟斤拷锟斤拷锟侥筹拷锟斤拷梅森锟斤拷转锟斤拷伪锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷惴拷锟� |
stripos | 锟斤拷始支锟街革拷锟斤拷锟斤拷 offset锟斤拷 | |
strpos | 锟斤拷始支锟街革拷锟斤拷锟斤拷 offset锟斤拷 | |
substr_count | 锟斤拷始支锟街革拷锟斤拷锟斤拷 offset 锟斤拷 length锟斤拷 | |
7.0.0 | substr | 锟斤拷锟� string 锟斤拷锟街凤拷锟斤拷锟斤拷锟斤拷锟斤拷 start 锟斤拷同时锟斤拷锟斤拷锟斤拷一锟斤拷锟斤拷锟街凤拷锟斤拷锟斤拷锟斤拷之前锟侥版本锟叫o拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟� 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 锟斤拷锟街凤拷锟斤拷锟斤拷锟斤拷锟斤拷默锟截斤拷锟杰o拷锟斤拷锟斤拷锟斤拷锟斤拷锟街节会被锟截断★拷 |
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 锟斤拷锟斤拷锟斤拷默锟斤拷值锟侥筹拷 UTF-8锟斤拷 | |
htmlspecialchars | encoding 锟斤拷锟斤拷锟斤拷默锟斤拷值锟侥筹拷 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 锟斤拷实锟街o拷锟斤拷锟斤拷锟斤拷锟斤拷 SHA-256 锟姐法锟斤拷 SHA-512 锟姐法锟斤拷 crypt锟斤拷 | |
5.3.0 | crypt | PHP 锟斤拷锟节帮拷锟斤拷锟斤拷锟斤拷锟皆硷拷锟斤拷 MD5 Crypt 实锟街o拷锟斤拷锟斤拷锟斤拷准 DES 锟姐法锟斤拷锟斤拷展锟斤拷 DES 锟姐法锟皆硷拷 Blowfish 锟姐法锟斤拷锟斤拷锟较低橙憋拷锟斤拷锟接︼拷锟绞碉拷郑锟斤拷锟矫� PHP 锟斤拷使锟斤拷锟斤拷锟皆硷拷锟斤拷实锟街★拷 |
htmlentities | 锟斤拷锟接筹拷锟斤拷 ENT_IGNORE锟斤拷 | |
htmlspecialchars | 锟斤拷锟接筹拷锟斤拷 ENT_IGNORE锟斤拷 | |
nl2br | 锟斤拷锟斤拷锟斤拷选锟斤拷 is_xhtml 锟斤拷锟斤拷锟斤拷锟节达拷之前锟斤拷锟斤拷锟角诧拷锟斤拷 '<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 |