1<?php 2$_SERVER['BASE_PAGE'] = 'releases/5_3_0.php'; 3include_once __DIR__ . '/../include/prepend.inc'; 4site_header("PHP 5.3.0 Release Announcement"); 5?> 6 7<h1>PHP 5.3.0 Release Announcement</h1> 8<p> 9The PHP development team is proud to announce the immediate release of PHP 105.3.0. This release is a major improvement in the 5.X series, which includes a 11large number of new features and bug fixes. 12</p> 13 14<p> 15<b>The key features of PHP 5.3.0 include:</b> 16</p> 17<ul> 18 <li>Support for <a href="http://php.net/namespaces">namespaces</a></li> 19 <li><a href="http://php.net/lsb">Late static binding</a></li> 20 <li><a href="http://php.net/closures">Lambda Functions and Closures</a></li> 21 <li> 22 Syntax additions: 23 <a href="http://php.net/nowdoc">NOWDOC</a>, 24 <a href="http://php.net/ternary">ternary short cut "?:"</a> and 25 <a href="http://php.net/goto">jump label</a> (limited goto), 26 <a href="http://php.net/__callstatic">__callStatic()</a> 27 </li> 28 <li>Under the hood performance improvements</li> 29 <li>Optional <a href="http://php.net/gc_enable">garbage collection</a> for cyclic references</li> 30 <li>Optional <a href="http://php.net/mysqli.mysqlnd">mysqlnd</a> PHP native replacement for libmysql</li> 31 <li>Improved <a href="http://windows.php.net">Windows</a> support including VC9 and experimental X64 binaries 32 as well as portability to other supported platforms</li> 33 <li>More consistent float rounding</li> 34 <li>Deprecation notices are now handled via <code>E_DEPRECATED</code> (part of <code>E_ALL</code>) 35 instead of the <code>E_STRICT</code> error level</li> 36 <li>Several enhancements to enable more <a href="http://php.net/ini.sections">flexiblity in php.ini</a> (and ini parsing in general)</li> 37 <li>New bundled extensions: 38 <a href="http://php.net/phar">ext/phar</a>, 39 <a href="http://php.net/intl">ext/intl</a>, 40 <a href="http://php.net/fileinfo">ext/fileinfo</a>, 41 <a href="http://php.net/sqlite3">ext/sqlite3</a>, 42 <a href="http://php.net/enchant">ext/enchant</a> 43 </li> 44 <li>Over 140 bug fixes and improvements to PHP, in particular to: 45 <a href="http://php.net/openssl">ext/openssl</a>, 46 <a href="http://php.net/spl">ext/spl</a> and 47 <a href="http://php.net/datetime">ext/date</a> 48 </li> 49</ul> 50<p>This release also drops several extensions and unifies the usage of internal APIs. 51Users should be aware of the following known backwards compatibility breaks:</p> 52<ul> 53 <li>Parameter parsing API unification will cause some functions to behave more 54 or less strict when it comes to type juggling</li> 55 <li>Removed the following extensions: 56 <a href="http://php.net/mhash">ext/mhash</a> (see <a href="http://php.net/hash">ext/hash</a>), 57 <a href="http://php.net/msql">ext/msql</a>, 58 <a href="http://php.net/pspell">ext/pspell</a> (see <a href="http://php.net/enchant">ext/enchant</a>), 59 <a href="http://php.net/sybase">ext/sybase</a> (see <a href="http://php.net/sybase">ext/sybase_ct</a>) 60 </li> 61 <li>Moved the following extensions to PECL: 62 <a href="http://php.net/ming">ext/ming</a>, 63 <a href="http://php.net/fbsql">ext/fbsql</a>, 64 <a href="http://php.net/ncurses">ext/ncurses</a>, 65 <a href="http://php.net/fdf">ext/fdf</a> 66 </li> 67 <li>Removed <a href="http://php.net/manual/ini.core.php#ini.zend.ze1-compatibility-mode">zend.ze1_compatibility_mode</a></li> 68</ul> 69 70<p> 71For users upgrading from PHP 5.2 there is a migration guide 72available <a href="http://php.net/migration53">here</a>, detailing 73the changes between those releases and PHP 5.3.0. 74</p> 75 76<p> 77 For a full list of changes in PHP 5.3.0, see the 78 <a href="/ChangeLog-5.php#5.3.0">ChangeLog</a>. 79</p> 80 81<?php site_footer(); ?> 82