<!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>Other changes</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="migration54.ini.html">Changes to INI file handling</a></div> <div class="next" style="text-align: right; float: right;"><a href="migration53.html">Migrating from PHP 5.2.x to PHP 5.3.x</a></div> <div class="up"><a href="migration54.html">Migrating from PHP 5.3.x to PHP 5.4.x</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="migration54.other" class="section"> <h2 class="title">Other changes</h2> <ul class="itemizedlist"> <li class="listitem"> <span class="simpara"> The default character set for <span class="function"><a href="function.htmlspecialchars.html" class="function">htmlspecialchars()</a></span> and <span class="function"><a href="function.htmlentities.html" class="function">htmlentities()</a></span> is now <em>UTF-8</em>, instead of <em>ISO-8859-1</em>. Note that changing your output charset via the <a href="ini.core.html#ini.default-charset" class="link">default_charset</a> configuration setting does not affect htmlspecialchars/htmlentities unless you are passing "" (an empty string) as the encoding parameter to your <span class="function"><a href="function.htmlspecialchars.html" class="function">htmlspecialchars()</a></span>/ <span class="function"><a href="function.htmlentities.html" class="function">htmlentities()</a></span> calls. Generally we do not recommend doing this because you should be able to change your output charset without affecting the runtime charset used by these functions. The safest approach is to explicitly set the charset on each call to <span class="function"><a href="function.htmlspecialchars.html" class="function">htmlspecialchars()</a></span> and <span class="function"><a href="function.htmlentities.html" class="function">htmlentities()</a></span>. </span> </li> <li class="listitem"> <span class="simpara"> <strong><code>E_ALL</code></strong> now includes <strong><code>E_STRICT</code></strong> level errors in the <a href="errorfunc.configuration.html#ini.error-reporting" class="link">error_reporting</a> configuration directive. </span> </li> <li class="listitem"> <span class="simpara"> <a href="book.snmp.html" class="link">SNMP</a> now has an OOP API. </span> <span class="simpara"> Functions now return <strong><code>FALSE</code></strong> on every error condition including SNMP-related (no such instance, end of MIB, etc). Thus, in particular, breaks previous behavior of get/walk functions returning an empty string on SNMP-related errors. </span> <span class="simpara"> Multi OID get/getnext/set queries are now supported. </span> <span class="simpara"> Dropped UCD-SNMP compatibility code, consider upgrading to net-snmp v5.3+, Net-SNMP v5.4+ is required for Windows version. </span> <span class="simpara"> In sake of adding support for IPv6 DNS name resolution of remote SNMP agent (peer) is done by extension now, not by Net-SNMP library anymore. </span> </li> <li class="listitem"> <span class="simpara"> <a href="book.openssl.html" class="link">OpenSSL</a> now supports AES. </span> </li> <li class="listitem"> <span class="simpara"> <a href="features.commandline.html" class="link">CLI SAPI</a> doesn't terminate any more on fatal errors when using interactive mode with readline support. </span> </li> <li class="listitem"> <span class="simpara"> <a href="language.variables.superglobals.html" class="link">$_SERVER['REQUEST_TIME_FLOAT']</a> has been added to include microsecond precision. </span> </li> <li class="listitem"> <span class="simpara"> Added new hash algorithms: fnv132, fnv164, joaat </span> </li> <li class="listitem"> <span class="simpara"> Chained string offsets - e.g. $a[0][0] where $a is a string - now work. </span> </li> <li class="listitem"> <span class="simpara"> Arrays cast from <span class="type"><a href="class.simplexmlelement.html" class="type SimpleXMLElement">SimpleXMLElement</a></span> now always contain all nodes instead of just the first matching node. All <span class="type"><a href="class.simplexmlelement.html" class="type SimpleXMLElement">SimpleXMLElement</a></span> children are now always printed when using <span class="function"><a href="function.var-dump.html" class="function">var_dump()</a></span>, <span class="function"><a href="function.var-export.html" class="function">var_export()</a></span> and <span class="function"><a href="function.print-r.html" class="function">print_r()</a></span>. </span> </li> <li class="listitem"> <span class="simpara"> It's now possible to enforce the class' <a href="language.oop5.decon.html" class="link">__construct</a> arguments in an abstract constructor in the base class. </span> </li> </ul> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="migration54.ini.html">Changes to INI file handling</a></div> <div class="next" style="text-align: right; float: right;"><a href="migration53.html">Migrating from PHP 5.2.x to PHP 5.3.x</a></div> <div class="up"><a href="migration54.html">Migrating from PHP 5.3.x to PHP 5.4.x</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>