PHP 5.2.9 Released

The chain continues and PHP new upgrade is unleashed now. PHP version 5.2.9 is out now several security and bugs fixes, this time PHP developers got the finest and pure form of upgrade with the bug’s free platform. There have been more than 50 bugs including security fixed. Some of them have been listed below for a quick glance:


Security Enhancements and Fixes in PHP 5.2.9:

  • Fixed security issue in imagerotate(), background color isn’t validated correctly with a non truecolour image. Reported by Hamid Ebadi, APA Laboratory (Fixes CVE-2008-5498). (Scott)
  • Fixed a crash on extract in zip when files or directories entry names contain a relative path. (Pierre)
  • Fixed explode() behavior with empty string to respect negative limit. (Shire)
  • Fixed a segfault when malformed string is passed to json_decode(). (Scott)

Key enhancements in PHP 5.2.9 include:

  • Added optional sorting type flag parameter to array_unique(). Default is SORT_REGULAR. (Andrei)
  • Fixed bug #45996 (libxml2 2.7 causes breakage with character data in xml_parse()). (Rob)
  • A number of fixes in the mbstring extension (Moriyoshi)
  • Fixed bug #44336 (Improve pcre UTF-8 string matching performance). (frode at coretrek dot com, Nuno)
  • Fixed bug #46699 (xml_parse crash when parser is namespace aware). (Rob)
  • Fixed bug #46748 (Segfault when an SSL error has more than one error). (Scott)
  • Fixed bug #46889 (Memory leak in strtotime()). (Derick)
  • Fixed bug #47049 (SoapClient::__soapCall causes a segmentation fault). (Dmitry)
  • Fixed bug #47165 (Possible memory corruption when passing return value by reference). (Dmitry)
  • Fixed bug #47282 (FILTER_VALIDATE_EMAIL is marking valid email addresses as invalid). (Ilia)
  • Fixed bug #47422 (modulus operator returns incorrect results on 64 bit Linux). (Matt)

The team announced the release of this update immediately because of the stability improvement of PHP version cycle. Now PHP user can upgrade them without any hesitation as this upgrade is free of bugs and errors and special thanks to the people who contribute their special efforts to brings these errors and bugs into notice.

For Full coverage of this PHP 5.2.9 upgrade please visit