Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 706

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Changelog</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.wordwrap.html">wordwrap</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="refs.basic.vartype.html">Variable and Type Related Extensions</a></div>
 <div class="up"><a href="book.strings.html">Strings</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="changelog.strings" class="appendix">
 <h1>Changelog</h1>

 <p class="para">The following changes have been made to classes/functions/methods of this extension.</p>
 <table class='doctable table' rules='groups'><thead><tr><th>Version</th><th>Function</th><th>Description</th></tr></thead><tbody class="gen-changelog v"><tr><td>5.6.0</td><td><a href='function.crypt.html'>crypt</a></td><td>Raise E_NOTICE security warning if salt is omitted.</td></tr></tbody><tbody class="gen-changelog v5-6-0"><tr><td>5.5.1</td><td><a href='function.hex2bin.html'>hex2bin</a></td><td>A warning is thrown if the input string is invalid hexadecimal string.</td></tr></tbody><tbody class="gen-changelog v5-5-1"><tr><td>5.4.1</td><td><a href='function.hex2bin.html'>hex2bin</a></td><td>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.</td></tr></tbody><tbody class="gen-changelog v5-4-1"><tr><td>5.4.0</td><td><a href='function.get-html-translation-table.html'>get_html_translation_table</a></td><td>The constants ENT_HTML401, ENT_XML1,
        ENT_XHTML and ENT_HTML5 were added.</td></tr><tr><td>&nbsp;</td><td><a href='function.get-html-translation-table.html'>get_html_translation_table</a></td><td>The default value for the encoding parameter was
        changed to UTF-8.</td></tr><tr><td>&nbsp;</td><td><a href='function.html-entity-decode.html'>html_entity_decode</a></td><td>Default encoding changed from ISO-8859-1 to UTF-8.</td></tr><tr><td>&nbsp;</td><td><a href='function.html-entity-decode.html'>html_entity_decode</a></td><td>The constants ENT_HTML401, ENT_XML1,
        ENT_XHTML and ENT_HTML5 were added.</td></tr><tr><td>&nbsp;</td><td><a href='function.htmlentities.html'>htmlentities</a></td><td>The default value for the encoding parameter was
        changed to UTF-8.</td></tr><tr><td>&nbsp;</td><td><a href='function.htmlentities.html'>htmlentities</a></td><td>The constants ENT_SUBSTITUTE, ENT_DISALLOWED,
        ENT_HTML401, ENT_XML1,
        ENT_XHTML and ENT_HTML5 were added.</td></tr><tr><td>&nbsp;</td><td><a href='function.htmlspecialchars.html'>htmlspecialchars</a></td><td>The constants ENT_SUBSTITUTE, ENT_DISALLOWED,
        ENT_HTML401, ENT_XML1,
        ENT_XHTML and ENT_HTML5 were added.</td></tr><tr><td>&nbsp;</td><td><a href='function.htmlspecialchars.html'>htmlspecialchars</a></td><td>The default value for the encoding parameter was
        changed to UTF-8.</td></tr><tr><td>&nbsp;</td><td><a href='function.htmlspecialchars-decode.html'>htmlspecialchars_decode</a></td><td>The constants ENT_HTML401, ENT_XML1,
        ENT_XHTML and ENT_HTML5 were added.</td></tr><tr><td>&nbsp;</td><td><a href='function.number-format.html'>number_format</a></td><td>This function now supports multiple bytes in
        dec_point and
        thousands_sep. Only the first byte of each
        separator was used in older versions.</td></tr></tbody><tbody class="gen-changelog v5-4-0"><tr><td>5.3.7</td><td><a href='function.crypt.html'>crypt</a></td><td>Added $2x$ and $2y$ Blowfish
        modes to deal with potential high-bit attacks.</td></tr></tbody><tbody class="gen-changelog v5-3-7"><tr><td>5.3.4</td><td><a href='function.get-html-translation-table.html'>get_html_translation_table</a></td><td>The encoding parameter was added.</td></tr></tbody><tbody class="gen-changelog v5-3-4"><tr><td>5.3.2</td><td><a href='function.crypt.html'>crypt</a></td><td>Added SHA-256 and SHA-512 crypt based on Ulrich Drepper's 
        implementation.</td></tr><tr><td>&nbsp;</td><td><a href='function.crypt.html'>crypt</a></td><td>Fixed Blowfish behaviour on invalid rounds to return &quot;failure&quot; 
        string (&quot;*0&quot; or &quot;*1&quot;), instead of falling back to DES.</td></tr></tbody><tbody class="gen-changelog v5-3-2"><tr><td>5.3.0</td><td><a href='function.crypt.html'>crypt</a></td><td>PHP now contains its own implementation for the MD5 crypt, Standard DES,
        Extended DES and the Blowfish algorithms and will use that if the system
        lacks of support for one or more of the algorithms.</td></tr><tr><td>&nbsp;</td><td><a href='function.htmlentities.html'>htmlentities</a></td><td>The constant ENT_IGNORE was added.</td></tr><tr><td>&nbsp;</td><td><a href='function.htmlspecialchars.html'>htmlspecialchars</a></td><td>The constant ENT_IGNORE was added.</td></tr><tr><td>&nbsp;</td><td><a href='function.nl2br.html'>nl2br</a></td><td>Added the optional is_xhtml parameter.</td></tr><tr><td>&nbsp;</td><td><a href='function.setlocale.html'>setlocale</a></td><td>This function now throws an E_DEPRECATED notice if a string is passed 
        to the category parameter instead of one of the 
        LC_* constants.</td></tr><tr><td>&nbsp;</td><td><a href='function.stristr.html'>stristr</a></td><td>Added the optional parameter before_needle.</td></tr><tr><td>&nbsp;</td><td><a href='function.strlen.html'>strlen</a></td><td>Prior versions treated arrays as the string Array, thus returning
       a string length of 5 and emitting an E_NOTICE level error.</td></tr><tr><td>&nbsp;</td><td><a href='function.strstr.html'>strstr</a></td><td>Added the optional parameter before_needle.</td></tr></tbody><tbody class="gen-changelog v5-3-0"><tr><td>5.2.5</td><td><a href='function.addcslashes.html'>addcslashes</a></td><td>The escape sequences \v and \f were added.</td></tr></tbody><tbody class="gen-changelog v5-2-5"><tr><td>5.2.3</td><td><a href='function.htmlentities.html'>htmlentities</a></td><td>The double_encode parameter was added.</td></tr><tr><td>&nbsp;</td><td><a href='function.htmlspecialchars.html'>htmlspecialchars</a></td><td>The double_encode parameter was added.</td></tr></tbody><tbody class="gen-changelog v5-2-3"><tr><td>5.2.2 - 5.2.6</td><td><a href='function.substr.html'>substr</a></td><td>If the start parameter indicates the position of
        a negative truncation or beyond, false is returned. Other versions get
        the string from start.</td></tr></tbody><tbody class="gen-changelog v5-2-2 - 5-2-6"><tr><td>5.1.0</td><td><a href='function.explode.html'>explode</a></td><td>Support for negative limits was added</td></tr><tr><td>&nbsp;</td><td><a href='function.md5-file.html'>md5_file</a></td><td>Changed the function to use the streams API. It means that you can use
        it with wrappers, like md5_file('http://example.com/..')</td></tr><tr><td>&nbsp;</td><td><a href='function.sha1-file.html'>sha1_file</a></td><td>Changed the function to use the streams API. It means that you can use
        it with wrappers, like sha1_file('http://example.com/..')</td></tr><tr><td>&nbsp;</td><td><a href='function.str-word-count.html'>str_word_count</a></td><td>Added the charlist parameter</td></tr><tr><td>&nbsp;</td><td><a href='function.substr-compare.html'>substr_compare</a></td><td>Added the possibility to use a negative offset.</td></tr><tr><td>&nbsp;</td><td><a href='function.substr-count.html'>substr_count</a></td><td>Added the offset and
        the length parameters</td></tr></tbody><tbody class="gen-changelog v5-1-0"><tr><td>5.0.0</td><td><a href='function.html-entity-decode.html'>html_entity_decode</a></td><td>Support for multi-byte encodings was added.</td></tr><tr><td>&nbsp;</td><td><a href='function.md5.html'>md5</a></td><td>The raw_output parameter was added.</td></tr><tr><td>&nbsp;</td><td><a href='function.md5-file.html'>md5_file</a></td><td>Added the raw_output parameter</td></tr><tr><td>&nbsp;</td><td><a href='function.sha1.html'>sha1</a></td><td>The raw_output parameter was added.</td></tr><tr><td>&nbsp;</td><td><a href='function.sha1-file.html'>sha1_file</a></td><td>Added the raw_output parameter</td></tr><tr><td>&nbsp;</td><td><a href='function.str-ireplace.html'>str_ireplace</a></td><td>The count parameter was added.</td></tr><tr><td>&nbsp;</td><td><a href='function.str-replace.html'>str_replace</a></td><td>The count parameter was added.</td></tr><tr><td>&nbsp;</td><td><a href='function.strip-tags.html'>strip_tags</a></td><td>strip_tags is now binary safe.</td></tr><tr><td>&nbsp;</td><td><a href='function.strrpos.html'>strrpos</a></td><td>The offset parameter was introduced.</td></tr><tr><td>&nbsp;</td><td><a href='function.strrpos.html'>strrpos</a></td><td>The needle may now be a string of more than one
        character.</td></tr></tbody><tbody class="gen-changelog v5-0-0"><tr><td>4.3.3</td><td><a href='function.str-replace.html'>str_replace</a></td><td>The behaviour of this function changed. In older versions a bug
        existed when using arrays as both search and
        replace parameters which caused empty
        search indexes to be skipped without advancing
        the internal pointer on the replace array.
        This has been corrected in PHP 4.3.3, any scripts which relied on
        this bug should remove empty search values prior to calling this
        function in order to mimic the original behavior.</td></tr><tr><td>&nbsp;</td><td><a href='function.substr-replace.html'>substr_replace</a></td><td>All parameters now accept arrays.</td></tr></tbody><tbody class="gen-changelog v4-3-3"><tr><td>4.3.0</td><td><a href='function.implode.html'>implode</a></td><td>The glue parameter became optional.</td></tr><tr><td>&nbsp;</td><td><a href='function.setlocale.html'>setlocale</a></td><td>Passing multiple locales became possible.</td></tr><tr><td>&nbsp;</td><td><a href='function.str-rot13.html'>str_rot13</a></td><td>The behaviour of this function was fixed. Before this fix, the
        str was also modified, as if it was passed
        by reference.</td></tr><tr><td>&nbsp;</td><td><a href='function.strcspn.html'>strcspn</a></td><td>The start and length
        were added</td></tr><tr><td>&nbsp;</td><td><a href='function.strip-tags.html'>strip_tags</a></td><td>HTML comments are now always stripped.</td></tr><tr><td>&nbsp;</td><td><a href='function.stristr.html'>stristr</a></td><td>stristr was made binary safe.</td></tr><tr><td>&nbsp;</td><td><a href='function.strrchr.html'>strrchr</a></td><td>This function is now binary safe.</td></tr><tr><td>&nbsp;</td><td><a href='function.strspn.html'>strspn</a></td><td>The start and length
        parameters were added</td></tr><tr><td>&nbsp;</td><td><a href='function.strstr.html'>strstr</a></td><td>strstr was made binary safe.</td></tr></tbody><tbody class="gen-changelog v4-3-0"><tr><td>4.2.3</td><td><a href='function.strcoll.html'>strcoll</a></td><td>This function now works on win32.</td></tr></tbody><tbody class="gen-changelog v4-2-3"><tr><td>4.2.0</td><td><a href='function.setlocale.html'>setlocale</a></td><td>Passing category as a string is now deprecated,
        use the above constants instead.  Passing them as a string (within
        quotes) will result in a warning message.</td></tr></tbody><tbody class="gen-changelog v4-2-0"><tr><td>4.1.0</td><td><a href='function.htmlentities.html'>htmlentities</a></td><td>The encoding parameter was added.</td></tr><tr><td>&nbsp;</td><td><a href='function.htmlspecialchars.html'>htmlspecialchars</a></td><td>The encoding parameter was added.</td></tr><tr><td>&nbsp;</td><td><a href='function.ltrim.html'>ltrim</a></td><td>The charlist parameter was added.</td></tr><tr><td>&nbsp;</td><td><a href='function.rtrim.html'>rtrim</a></td><td>The charlist parameter was added.</td></tr><tr><td>&nbsp;</td><td><a href='function.trim.html'>trim</a></td><td>The optional charlist parameter was added.</td></tr></tbody><tbody class="gen-changelog v4-1-0"><tr><td>4.0.6</td><td><a href='function.sprintf.html'>sprintf</a></td><td>Support for argument numbering/swapping was added</td></tr></tbody><tbody class="gen-changelog v4-0-6"><tr><td>4.0.5</td><td><a href='function.nl2br.html'>nl2br</a></td><td>nl2br is now XHTML compliant. All older versions
        will return string with '&lt;br&gt;' inserted
        before newlines instead of '&lt;br /&gt;'.</td></tr><tr><td>&nbsp;</td><td><a href='function.str-replace.html'>str_replace</a></td><td>Most parameters can now be an array.</td></tr></tbody><tbody class="gen-changelog v4-0-5"><tr><td>4.0.3</td><td><a href='function.htmlentities.html'>htmlentities</a></td><td>The flags parameter was added.</td></tr><tr><td>&nbsp;</td><td><a href='function.parse-str.html'>parse_str</a></td><td>The arr parameter was added</td></tr><tr><td>&nbsp;</td><td><a href='function.wordwrap.html'>wordwrap</a></td><td>The optional cut parameter was added.</td></tr></tbody><tbody class="gen-changelog v4-0-3"><tr><td>4.0.1</td><td><a href='function.explode.html'>explode</a></td><td>The limit parameter was added</td></tr></tbody></table>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.wordwrap.html">wordwrap</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="refs.basic.vartype.html">Variable and Type Related Extensions</a></div>
 <div class="up"><a href="book.strings.html">Strings</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>