<!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="migration53.ini.html">Changes to INI file handling</a></div> <div class="next" style="text-align: right; float: right;"><a href="migration52.html">Migrating from PHP 5.1.x to PHP 5.2.x</a></div> <div class="up"><a href="migration53.html">Migrating from PHP 5.2.x to PHP 5.3.x</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="migration53.other" class="section"> <h2 class="title">Other changes</h2> <ul class="itemizedlist"> <li class="listitem"> <span class="simpara"> <span class="function"><a href="splfileinfo.getpathinfo.html" class="function">SplFileInfo::getpathinfo()</a></span> now returns information about the path name. </span> </li> <li class="listitem"> <span class="simpara"> <a href="class.splobjectstorage.html" class="classname">SplObjectStorage</a> now has <a href="class.arrayaccess.html" class="classname">ArrayAccess</a> support. It is now also possible to store associative information with objects in <a href="class.splobjectstorage.html" class="classname">SplObjectStorage</a>. </span> </li> <li class="listitem"> <span class="simpara"> In the GD extension, there is now pixelation support available through the <span class="function"><a href="function.imagefilter.html" class="function">imagefilter()</a></span> function. </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.var-dump.html" class="function">var_dump()</a></span> output now includes private object properties. </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.session-start.html" class="function">session_start()</a></span> now returns <strong><code>FALSE</code></strong> when session startup fails. </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.property-exists.html" class="function">property_exists()</a></span> now checks the existence of a property independent of accessibility (like <span class="function"><a href="function.method-exists.html" class="function">method_exists()</a></span>). </span> </li> <li class="listitem"> <span class="simpara"> <a href="wrappers.html" class="link">Stream wrappers</a> can now be used by <a href="ini.core.html#ini.include-path" class="link">include_path</a>. </span> </li> <li class="listitem"> <span class="simpara"> The <em><code class="parameter">initial</code></em> parameter for <span class="function"><a href="function.array-reduce.html" class="function">array_reduce()</a></span> can now be of any type. </span> </li> <li class="listitem"> <span class="simpara"> The <a href="ref.dir.html" class="link">directory functions</a> <span class="function"><a href="function.opendir.html" class="function">opendir()</a></span>, <span class="function"><a href="function.scandir.html" class="function">scandir()</a></span>, and <span class="function"><a href="function.dir.html" class="function">dir()</a></span> now use the default stream context if no explicit context is passed. </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.crypt.html" class="function">crypt()</a></span> now has Blowfish and extended DES support, and <span class="function"><a href="function.crypt.html" class="function">crypt()</a></span> features are now 100% portable. PHP has its own internal crypt implementation which drops into place when support for <em>crypt</em> or <em>crypt_r</em> is not found. </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.getopt.html" class="function">getopt()</a></span> now accepts "long options" on all platforms. Optional values and <em>=</em> as a separator for short options are now supported. </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.fopen.html" class="function">fopen()</a></span> has a new mode option (<em>n</em>), which passes <strong><code>O_NONBLOCK</code></strong> to the underlying <em>open()</em> system call. Note that this mode is not currently supported on Windows. </span> </li> <li class="listitem"> <span class="simpara"> <span class="function"><a href="function.getimagesize.html" class="function">getimagesize()</a></span> now supports icon files (.ico). </span> </li> <li class="listitem"> <span class="simpara"> The mhash extension have moved to PECL, but the <a href="ref.hash.html" class="link">Hash</a> extension have been modified to support mhash if PHP is compiled with <em>--with-mhash</em>. Note that the Hash extension does not require the mhash library to be available whether or not the mhash emulation is enabled. </span> </li> </ul> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="migration53.ini.html">Changes to INI file handling</a></div> <div class="next" style="text-align: right; float: right;"><a href="migration52.html">Migrating from PHP 5.1.x to PHP 5.2.x</a></div> <div class="up"><a href="migration53.html">Migrating from PHP 5.2.x to PHP 5.3.x</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>