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
-
Updated timezone database to version 2010.2.
-
Upgraded bundled PCRE to version 7.9.
-
Removed automatic file descriptor unlocking happening on shutdown and/or stream close (on all OSes excluding Windows).
-
Changed tidyNode class to disallow manual node creation.
-
Added missing host validation for HTTP urls inside FILTER_VALIDATE_URL.
-
Improved LCG entropy.
-
Fixed safe_mode validation inside tempnam() when the directory path does not end with a /).
-
Fixed a possible open_basedir/safe_mode bypass in session extension identified by Grzegorz Stachowiak.
-
Fixed bug in bundled libgd causing spurious horizontal lines drawn by gdImageFilledPolygon (libgd #100).
-
Fixed build of mysqli with MySQL 5.5.0-m2.
-
Fixed bug
#50940 Custom content-length set incorrectly in Apache sapis.
-
Fixed bug
#50930 (Wrong date by php_date.c patch with ancient gcc/glibc versions).
-
Fixed bug
#50859 (build fails with openssl 1.0 due to md2 deprecation).
Ilia
hanno at hboeck dot de
-
Fixed bug
#50847 (strip_tags() removes all tags greater then 1023 bytes long).
-
Fixed bug
#50832 (HTTP fopen wrapper does not support passwordless HTTP authentication).
-
Fixed bug
#50823 (ReflectionFunction::isDeprecated producing "cannot be called statically" error).
-
Fixed bug
#50791 (Compile failure: Bad logic in defining fopencookie emulation).
-
Fixed bug
#50787 (stream_set_write_buffer() has no effect on socket streams).
vnegrier at optilian dot com
Ilia
-
Fixed bug
#50772 (mysqli constructor without parameters does not return a working mysqli object).
-
Fixed bug
#50761 (system.multiCall crashes in xmlrpc extension).
hiroaki dot kawai at gmail dot com
Ilia
-
Fixed bug
#50732 (exec() adds single byte twice to $output array).
-
Fixed bug
#50728 (All PDOExceptions hardcode 'code' property to 0).
-
Fixed bug
#50727 (Accessing mysqli->affected_rows on no connection causes segfault).
-
Fixed bug
#50680 (strtotime() does not support eighth ordinal number).
-
Fixed bug
#50661 (DOMDocument::loadXML does not allow UTF-16).
-
Fixed bug
#50657 (copy() with an empty (zero-byte) HTTP source succeeds but returns false).
-
Fixed bug
#50636 (MySQLi_Result sets values before calling constructor).
-
Fixed bug
#50632 (filter_input() does not return default value if the variable does not exist).
-
Fixed bug
#50576 (XML_OPTION_SKIP_TAGSTART option has no effect).
-
Fixed bug
#50575 (PDO_PGSQL LOBs are not compatible with PostgreSQL 8.5).
-
Fixed bug
#50558 (Broken object model when extending tidy).
-
Fixed bug
#50540 (Crash while running ldap_next_reference test cases).
-
Fixed bug
#50508 (compile failure: Conflicting HEADER type declarations).
-
Fixed bug
#50394 (Reference argument converted to value in __call).
-
Fixed bug
#49851 (http wrapper breaks on 1024 char long headers).
-
Fixed bug
#49600 (imageTTFText text shifted right).
-
Fixed bug
#49585 (date_format buffer not long enough for >4 digit years).
-
Fixed bug
#49463 (setAttributeNS fails setting default namespace).
-
Fixed bug
#48667 (Implementing Iterator and IteratorAggregate).
-
Fixed bug
#48590 (SoapClient does not honor max_redirects).
-
Fixed bug
#48190 (Content-type parameter "boundary" is not case-insensitive in HTTP uploads).
-
Fixed bug
#47601 (defined() requires class to exist when testing for class constants).
-
Fixed bug
#47409 (extract() problem with array containing word "this").
Ilia
chrisstocktonaz at gmail dot com
-
Fixed bug
#47002 (Field truncation when reading from dbase dbs with more then 1024 fields).
Ilia
sjoerd-php at linuxonly dot nl
-
Fixed bug
#45599 (strip_tags() truncates rest of string with invalid attribute).
-
Fixed bug
#44827 (define() allows :: in constant names).