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 CGI install target to php-cgi and 'make install' to install CLI when CGI is selected.
-
Changed JSON maximum nesting depth from 20 to 128.
-
Improved compilation of heredocs and interpolated strings.
-
Optimized out a couple of per-request syscalls.
-
Optimized digest generation in md5() and sha1() functions.
-
Upgraded bundled SQLite 3 to version 3.3.17.
-
Added "max_input_nesting_level" php.ini option to limit nesting level of input variables. Fix for MOPB-03-2007.
-
Added a 4th parameter flag to htmlspecialchars() and htmlentities() that makes the function not encode existing html entities.
-
Added PDO::FETCH_KEY_PAIR mode that will fetch a 2 column result set into an associated array.
-
Added CURLOPT_TIMEOUT_MS and CURLOPT_CONNECTTIMEOUT_MS cURL constants.
-
Added --ini switch to CLI that prints out configuration file names.
-
Added mysql_set_charset() to allow runtime altering of connection encoding.
-
Implemented FR
#41416 (getColumnMeta() should also return table name).
-
Fixed an integer overflow inside chunk_split(). Identified by Gerhard Wagner.
-
Fixed SOAP extension's handler() to work even when "always_populate_raw_post_data" is off.
-
Fixed possible infinite loop in imagecreatefrompng.
libgd #86) (by Xavier Roche
CVE-2007-2756). (Pierre
-
Fixed ext/filter Email Validation Vulnerability (MOPB-45 by Stefan Esser).
-
Fixed altering $this via argument named "this".
-
Fixed PHP CLI usage of php.ini from the binary location.
-
Fixed segfault in strripos().
-
Fixed bug
#41693 (scandir() allows empty directory names).
-
Fixed bug
#41673 (json_encode breaks large numbers in arrays).
-
Fixed bug
#41525 (ReflectionParameter::getPosition() not available).
-
Fixed bug
#41511 (Compile failure under IRIX 6.5.30 building md5.c).
-
Fixed bug
#41504 (json_decode() incorrectly decodes JSON arrays with empty string keys).
-
Fixed bug
#41492 (open_basedir/safe_mode bypass inside realpath()).
-
Fixed bug
#41477 (no arginfo about SoapClient::__soapCall()).
-
Fixed bug
#41455 (ext/dba/config.m4 pollutes global $LIBS and $LDFLAGS).
mmarek at suse dot cz
Tony
-
Fixed bug
#41442 (imagegd2() under output control).
-
Fixed bug
#41430 (Fatal error with negative values of maxlen parameter of file_get_contents()).
-
Fixed bug
#41423 (PHP assumes wrongly that certain ciphers are enabled in OpenSSL).
-
Fixed bug
#41421 (Uncaught exception from a stream wrapper segfaults).
-
Fixed bug
#41403 (json_decode cannot decode floats if localeconv decimal_point is not '.').
-
Fixed bug
#41401 (wrong unary operator precedence).
-
Fixed bug
#41394 (dbase_create creates file with corrupted header).
-
Fixed bug
#41390 (Clarify error message with invalid protocol scheme).
-
Fixed bug
#41378 (fastcgi protocol lacks support for Reason-Phrase in "Status:" header).
anight at eyelinkmedia dot com
Dmitry
-
Fixed bug
#41374 (whole text concats values of wrong nodes).
-
Fixed bug
#41358 (configure cannot determine SSL lib with libcurl >= 7.16.2).
-
Fixed bug
#41353 (crash in openssl_pkcs12_read() on invalid input).
-
Fixed bug
#41351 (Invalid opcode with foreach ($a[] as $b)).
-
Fixed bug
#41347 (checkdnsrr() segfaults on empty hostname).
-
Fixed bug
#41337 (WSDL parsing doesn't ignore non soap bindings).
-
Fixed bug
#41326 (Writing empty tags with Xmlwriter::WriteElement[ns]) (Pierre)
-
Fixed bug
#41321 (downgrade read errors in getimagesize() to E_NOTICE).
-
Fixed bug
#41304 (compress.zlib temp files left).
-
Fixed bug
#41293 (Fixed creation of HTTP_RAW_POST_DATA when there is no default post handler).
-
Fixed bug
#41291 (FastCGI does not set SO_REUSEADDR).
fmajid at kefta dot com
Dmitry
-
Fixed gd build when used with freetype 1.x (Pierre, Tony)
-
Fixed bug
#41287 (Namespace functions don't allow xmlns definition to be optional).
-
Fixed bug
#41285 (Improved fix for CVE-2007-1887 to work with non-bundled sqlite2 lib).
-
Fixed bug
#41283 (Bug with deserializing array key that are doubles or floats in wddx).
-
Fixed bug
#41257 (lookupNamespaceURI does not work as expected).
-
Fixed bug
#41236 (Regression in timeout handling of non-blocking SSL connections during reads and writes).
-
Fixed bug
#41134 (zend_ts_hash_clean not thread-safe).
marco dot cova at gmail dot com
Tony
-
Fixed bug
#41097 (ext/soap returning associative array as indexed without using WSDL).
-
Fixed bug
#41004 (minOccurs="0" and null class member variable).
-
Fixed bug
#39542 (Behavior of require/include different to < 5.2.0).