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 2009.19 (2009s).
-
Added LIBXML_PARSEHUGE constant to overrides the maximum text size of a single text node when using libxml2.7.3+.
-
Added protection for $_SESSION from interrupt corruption and improved "session.save_path" check.
-
Added "max_file_uploads" INI directive, which can be set to limit the number of file uploads per-request to 20 by default, to prevent possible DOS via temporary file exhaustion.
-
Changed "post_max_size" php.ini directive to allow unlimited post size by setting it to 0.
-
Improved fix for bug #50006 (Segfault caused by uksort()).
-
Fixed error_log() to be binary safe when using message_type 3.
-
Fixed unnecessary invocation of setitimer when timeouts have been disabled.
-
Fixed crash in com_print_typeinfo when an invalid typelib is given.
-
Fixed a safe_mode bypass in tempnam() identified by Grzegorz Stachowiak.
-
Fixed a open_basedir bypass in posix_mkfifo() identified by Grzegorz Stachowiak.
-
Fixed crash in SQLiteDatabase::ArrayQuery() and SQLiteDatabase::SingleQuery() when calling using Reflection.
-
Fixed crash when instantiating PDORow and PDOStatement through Reflection.
-
Fixed memory leak in openssl_pkcs12_export_to_file().
-
Fixed bug
#50445 (PDO-ODBC stored procedure call from Solaris 64-bit causes segfault).
davbrown4 at yahoo dot com
Felipe
-
Fixed bug
#50345 (nanosleep not detected properly on some solaris versions).
-
Fixed bug
#50323 (Allow use of ; in values via ;; in PDO DSN).
-
Fixed bug
#50285 (xmlrpc does not preserve keys in encoded indexed arrays).
-
Fixed bug
#50282 (xmlrpc_encode_request() changes object into array in calling function).
-
Fixed bug
#50266 (conflicting types for llabs).
-
Fixed bug
#50255 (isset() and empty() silently casts array to object).
-
Fixed bug
#50219 (soap call Segmentation fault on a redirected url).
-
Fixed bug
#50209 (Compiling with libedit cannot find readline.h).
tcallawa at redhat dot com
-
Fixed bug
#50207 (segmentation fault when concatenating very large strings on 64bit linux).
-
Fixed bug
#50195 (pg_copy_to() fails when table name contains schema.
-
Fixed bug
#50185 (ldap_get_entries() return false instead of an empty array when there is no error).
-
Fixed bug
#50174 (Incorrectly matched docComment).
-
Fixed bug
#50168 (FastCGI fails with wrong error on HEAD request to non-existent file).
-
Fixed bug
#50162 (Memory leak when fetching timestamp column from Oracle database).
-
Fixed bug
#50158 (FILTER_VALIDATE_EMAIL fails with valid addresses containing = or ?).
-
Fixed bug
#50073 (parse_url() incorrect when ? in fragment).
-
Fixed bug
#50006 (Segfault caused by uksort()).
-
Fixed bug
#50005 (Throwing through Reflection modified Exception object makes segmentation fault).
-
Fixed bug
#49990 (SNMP3 warning message about security level printed twice).
-
Fixed bug
#49985 (pdo_pgsql prepare() re-use previous aborted transaction).
ben dot pineau at gmail dot com
Ilia
Matteo
-
Fixed bug
#49972 (AppendIterator undefined function crash).
-
Fixed bug
#49921 (Curl post upload functions changed).
-
Fixed bug
#49855 (import_request_variables() always returns NULL).
Ilia
sjoerd at php dot net
-
Fixed bug
#49847 (exec() fails to return data inside 2nd parameter, given output lines >4095 bytes).
-
Fixed bug
#49809 (time_sleep_until() is not available on OpenSolaris).
-
Fixed bug
#49785 (insufficient input string validation of htmlspecialchars()).
Moriyoshi
hello at iwamot dot com
-
Fixed bug
#49757 (long2ip() can return wrong value in a multi-threaded applications).
-
Fixed bug
#49738 (calling mcrypt() after mcrypt_generic_deinit() crashes).
-
Fixed bug
#49719 (ReflectionClass::hasProperty returns true for a private property in base class).
-
Fixed bug
#49698 (Unexpected change in strnatcasecmp()).
-
Fixed bug
#49677 (ini parser crashes with apache2 and using ${something} ini variables).
-
Fixed bug
#49660 (libxml 2.7.3+ limits text nodes to 10MB).
-
Fixed bug
#49647 (DOMUserData does not exist).
-
Fixed bug
#49630 (imap_listscan() function missing).
-
Fixed bug
#49627 (error_log to specified file does not log time according to date.timezone).
-
Fixed bug
#49578 (make install-pear fails).
-
Fixed bug
#49536 (mb_detect_encoding() returns incorrect results when mbstring.strict_mode is turned on).
-
Fixed bug
#49531 (CURLOPT_INFILESIZE sometimes causes warning "CURLPROTO_FILE cannot be set").
-
Fixed bug
#49528 (UTF-16 strings prefixed by BOMs wrongly converted).
-
Fixed bug
#49521 (PDO fetchObject sets values before calling constructor).
-
Fixed bug
#49517 (cURL's CURLOPT_FILE prevents file from being deleted after fclose()).
-
Fixed bug
#49472 (Constants defined in Interfaces can be overridden).
-
Fixed bug
#49354 (mb_strcut() cuts wrong length when offset is in the middle of a multibyte character).
-
Fixed bug
#49332 (Build error with Snow Leopard).
-
Fixed bug
#49244 (Floating point NaN cause garbage characters).
-
Fixed bug
#49174 (crash when extending PDOStatement and trying to set queryString property).
-
Fixed bug
#49098 (mysqli segfault on error).
-
Fixed bug
#48805 (IPv6 socket transport is not working).
-
Fixed bug
#48764 (PDO_pgsql::query() always uses implicit prepared statements if v3 proto available).
-
Fixed bug
#47848 (importNode doesn't preserve attribute namespaces).
-
Fixed bug
#45120 (PDOStatement->execute() returns true then false for same statement).
-
Fixed bug
#34852 (Failure in odbc_exec() using oracle-supplied odbc driver).
tim dot tassonis at trivadis dot com