1<?php 2$_SERVER['BASE_PAGE'] = 'releases/5_2_0.php'; 3include_once __DIR__ . '/../include/prepend.inc'; 4site_header("PHP 5.2.0 Release Announcement"); 5?> 6 7<h1>PHP 5.2.0 Release Announcement</h1> 8<p> 9The PHP development team is proud to announce the immediate release of PHP 105.2.0. This release is a major improvement in the 5.X series, which includes a 11large number of new features, bug fixes and security enhancements. 12</p> 13 14<p> 15<b>The key features of PHP 5.2.0 include:</b> 16</p> 17<ul> 18 <li>New memory manager for the Zend Engine with improved performance and a more accurate memory usage tracking.</li> 19 <li>Input filtering extension was added and enabled by default.</li> 20 <li>JSON extension was added and enabled by default.</li> 21 <li>ZIP extension for creating and editing zip files was introduced.</li> 22 <li>Hooks for tracking file upload progress were introduced.</li> 23 <li>Introduced E_RECOVERABLE_ERROR error mode.</li> 24 <li>Introduced DateTime and DateTimeZone objects with methods to manipulate date/time information.</li> 25 <li>Upgraded bundled SQLite, PCRE libraries.</li> 26 <li>Upgraded OpenSSL, MySQL and PostgreSQL client libraries for Windows installations.</li> 27 <li>Many performance improvements.</li> 28 <li>Over 200 bug fixes.</li> 29</ul> 30<p> 31<b>Security Enhancements and Fixes in PHP 5.2.0:</b> 32</p> 33<ul> 34 <li>Made PostgreSQL escaping functions in PostgreSQL and PDO extension keep track of character set encoding whenever possible.</li> 35 <li>Added allow_url_include, set to Off by default to disallow use of URLs for include and require.</li> 36 <li>Disable realpath cache when open_basedir and safe_mode are being used.</li> 37 <li>Improved safe_mode enforcement for error_log() function.</li> 38 <li>Fixed a possible buffer overflow in the underlying code responsible for htmlspecialchars() and htmlentities() functions.</li> 39 <li>Added missing safe_mode and open_basedir checks for the cURL extension.</li> 40 <li>Fixed overflow in str_repeat() & wordwrap() functions on 64bit machines.</li> 41 <li>Fixed handling of long paths inside the tempnam() function.</li> 42 <li>Fixed safe_mode/open_basedir checks for session.save_path, allowing them to account for extra parameters.</li> 43 <li>Fixed ini setting overload in the ini_restore() function.</li> 44</ul> 45 46<p> 47All users of PHP, especially those using earlier PHP 5 releases are advised 48to upgrade to this release as soon as possible. This release also obsoletes 49the 5.1 branch of PHP. 50</p> 51 52<p> 53For users upgrading from PHP 5.0 and PHP 5.1 there is an upgrading guide 54available <a href="/UPDATE_5_2.txt">here</a>, detailing the changes between those releases 55and PHP 5.2.0. 56</p> 57 58<p> 59 For a full list of changes in PHP 5.2.0, see the 60 <a href="/ChangeLog-5.php#5.2.0">ChangeLog</a>. 61</p> 62 63<?php site_footer(); ?> 64