PHP 5.2 is no longer officially supported by the PHP project.
Official support refers to that provided direct by the PHP Project.
If you install PHP via third-party packages, support timelines may be different.
Please read the Release Support Policy for more information.
The latest release of PHP 5.2 is
5.2.17.
Source Code
Change Log
-
misc
-
Changed __call() to be invoked on private/protected method access, similar to properties and __get().
-
Added optional sorting type flag parameter to array_unique(). Default is SORT_REGULAR.
-
Fixed a crash on extract in zip when files or directories entry names contain a relative path.
-
Fixed error conditions handling in stream_filter_append().
-
Fixed zip filename property read.
-
Fixed explode() behavior with empty string to respect negative limit.
-
Fixed security issue in imagerotate(), background colour isn't validated correctly with a non truecolour image. Reported by Hamid Ebadi, APA Laboratory (Fixes CVE-2008-5498).
-
Fixed a segfault when malformed string is passed to json_decode().
-
Fixed bug in xml_error_string() which resulted in messages being off by one.
-
Fixed bug
#47422 (modulus operator returns incorrect results on 64 bit linux).
-
Fixed bug
#47399 (mb_check_encoding() returns true for some illegal SJIS characters).
for-bugs at hnw dot jp
Moriyoshi
-
Fixed bug
#47353 (crash when creating a lot of objects in object destructor).
-
Fixed bug
#47322 (sscanf %d doesn't work).
-
Fixed bug
#47282 (FILTER_VALIDATE_EMAIL is marking valid email addresses as invalid).
-
Fixed bug
#47220 (segfault in dom_document_parser in recovery mode).
-
Fixed bug
#47217 (content-type is not set properly for file uploads).
-
Fixed bug
#47174 (base64_decode() interprets pad char in mid string as terminator).
-
Fixed bug
#47165 (Possible memory corruption when passing return value by reference).
-
Fixed bug
#47152 (gzseek/fseek using SEEK_END produces strange results).
-
Fixed bug
#47131 (SOAP Extension ignores "user_agent" ini setting).
-
Fixed bug
#47109 (Memory leak on $a->{"a"."b"} when $a is not an object).
-
Fixed bug
#47104 (Linking shared extensions fails with icc).
-
Fixed bug
#47049 (SoapClient::__soapCall causes a segmentation fault).
-
Fixed bug
#47048 (Segfault with new pg_meta_data).
-
Fixed bug
#47042 (PHP cgi sapi is removing SCRIPT_FILENAME for non apache).
-
Fixed bug
#47037 (No error when using fopen with empty string).
Cristian Rodriguez R.
Felipe
-
Fixed bug
#47035 (dns_get_record returns a garbage byte at the end of a TXT record).
-
Fixed bug
#47027 (var_export doesn't show numeric indices on ArrayObject).
-
Fixed bug
#46985 (OVERWRITE and binary mode does not work, regression introduced in 5.2.8).
-
Fixed bug
#46973 (IPv6 address filter rejects valid address).
-
Fixed bug
#46964 (Fixed pdo_mysql build with older version of MySQL).
-
Fixed bug
#46959 (Unable to disable PCRE).
-
Fixed bug
#46918 (imap_rfc822_parse_adrlist host part not filled in correctly).
-
Fixed bug
#46889 (Memory leak in strtotime()).
-
Fixed bug
#46887 (Invalid calls to php_error_docref()).
oeriksson at mandriva dot com
Ilia
-
Fixed bug
#46873 (extract($foo) crashes if $foo['foo'] exists).
-
Fixed bug
#46843 (CP936 euro symbol is not converted properly).
ty_c at cybozuy dot co dot jp
Moriyoshi
-
Fixed bug
#46798 (Crash in mssql extension when retrieving a NULL value inside a binary or image column type).
-
Fixed bug
#46782 (fastcgi.c parse error).
-
Fixed bug
#46760 (SoapClient doRequest fails when proxy is used).
-
Fixed bug
#46748 (Segfault when an SSL error has more than one error).
-
Fixed bug
#46739 (array returned by curl_getinfo should contain content_type key).
-
Fixed bug
#46699 (xml_parse crash when parser is namespace aware).
-
Fixed bug
#46419 (Elements of associative arrays with NULL value are lost).
-
Fixed bug
#46282 (Corrupt DBF When Using DATE).
-
Fixed bug
#46026 (bz2.decompress/zlib.inflate filter tries to decompress after end of stream).
-
Fixed bug
#46005 (User not consistently logged under Apache2).
admorten at umich dot edu
Stas
-
Fixed bug
#45996 (libxml2 2.7 causes breakage with character data in xml_parse()).
-
Fixed bug
#45940 (MySQLI OO does not populate connect_error property on failed connect).
-
Fixed bug
#45923 (mb_st[r]ripos() offset not handled correctly).
-
Fixed bug
#45327 (memory leak if offsetGet throws exception).
-
Fixed bug
#45239 (Encoding detector hangs with mbstring.strict_detection enabled).
-
Fixed bug
#45161 (Reusing a curl handle leaks memory).
-
Fixed bug
#44336 (Improve pcre UTF-8 string matching performance).
frode at coretrek dot com
Nuno
-
Fixed bug
#43841 (mb_strrpos() offset is byte count for negative values).
-
Fixed bug
#37209 (mssql_execute with non fatal errors).
-
Fixed bug
#35975 (Session cookie expires date format isn't the most compatible. Now matches that of setcookie()).