PHP 5.3 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.3 is
5.3.29.
Source Code
Change Log
-
misc
-
security enhancements
-
Fixed crash in zip extract method (possible CWE-170).
Maksymilian Arciemowicz
Pierre
-
Paths with NULL in them (foo\0bar.txt) are now considered as invalid.
-
Fixed a possible double free in imap extension (Identified by Mateusz Kocielski).
-
Fixed NULL pointer dereference in ZipArchive::getArchiveComment.
CVE-2010-3709). (Maksymilian Arciemowicz
-
Fixed possible flaw in open_basedir (CVE-2010-3436).
-
Fixed MOPS-2010-24, fix string validation.
-
Fixed symbolic resolution support when the target is a DFS share.
-
Fixed bug
#52929 (Segfault in filter_var with FILTER_VALIDATE_EMAIL with large amount of data) (CVE-2010-3710).
-
general improvements
-
Added stat support for zip stream.
-
Added follow_location (enabled by default) option for the http stream support.
-
Improved support for is_link and related functions on Windows.
-
Added a 3rd parameter to get_html_translation_table. It now takes a charset hint, like htmlentities et al.
-
implemented feature requests
-
improved mysqlnd
-
improved php-fpm sapi
-
Added '-p/--prefix' to php-fpm to use a custom prefix and run multiple instances.
-
Added custom process title for FPM.
-
Added '-t/--test' to php-fpm to check and validate FPM conf file.
-
Added statistics about listening socket queue length for FPM.
andrei dot nigmatulin at gmail dot com
fat
-
core
-
Fixed extract() to do not overwrite $GLOBALS and $this when using EXTR_OVERWRITE.
-
Fixed bug in the Windows implementation of dns_get_record, where the two last parameters wouldn't be filled unless the type were DNS_ANY (Gustavo).
-
Changed the $context parameter on copy() to actually have an effect.
-
Fixed htmlentities/htmlspecialchars accepting certain ill-formed UTF-8 sequences.
-
Fixed bug
#53409 (sleep() returns NULL on Windows).
-
Fixed bug
#53319 (strip_tags() may strip '<br />' incorrectly).
-
Fixed bug
#53304 (quot_print_decode does not handle lower-case hex digits).
Ilia
daniel dot mueller at inexio dot net
-
Fixed bug
#53248 (rawurlencode RFC 3986 EBCDIC support misses tilde char).
-
Fixed bug
#53226 (file_exists fails on big filenames).
-
Fixed bug
#53198 (changing INI setting "from" with ini_set did not have any effect).
-
Fixed bug
#53180 (post_max_size=0 not disabling the limit when the content type is application/x-www-form-urlencoded or is not registered with PHP).
gm at tlink dot de
Gustavo
-
Fixed bug
#53141 (autoload misbehaves if called from closing session).
-
Fixed bug
#53021 (In html_entity_decode, failure to convert numeric entities with ENT_NOQUOTES and ISO-8859-1). Fixed and extended the fix of ENT_NOQUOTES in html_entity_decode that had introduced the bug (rev #185591) to other encodings. Additionaly, html_entity_decode() now doesn't decode " if ENT_NOQUOTES is given.
-
Fixed bug
#52931 (strripos not overloaded with function overloading enabled).
-
Fixed bug
#52772 (var_dump() doesn't check for the existence of get_class_name before calling it).
-
Fixed bug
#52534 (var_export array with negative key).
-
Fixed bug
#52327 (base64_decode() improper handling of leading padding in strict mode).
-
Fixed bug
#52260 (dns_get_record fails with non-existing domain on Windows).
a_jelly_doughnut at phpbb dot com
Pierre
-
Fixed bug
#50953 (socket will not connect to IPv4 address when the host has both IPv4 and IPv6 addresses, on Windows).
-
Fixed bug
#50524 (proc_open on Windows does not respect cwd as it does on other platforms).
-
Fixed bug
#49687 (utf8_decode vulnerabilities and deficiencies in the number of reported malformed sequences). (CVE-2010-3870)
-
Fixed bug
#49407 (get_html_translation_table doesn't handle UTF-8).
-
Fixed bug
#48831 (php -i has different output to php --ini).
-
Fixed bug
#47643 (array_diff() takes over 3000 times longer than php 5.2.4).
-
Fixed bug
#47168 (printf of floating point variable prints maximum of 40 decimal places).
-
Fixed bug
#46587 (mt_rand() does not check that max is greater than min).
-
Fixed bug
#29085 (bad default include_path on Windows).
-
Fixed bug
#25927 (get_html_translation_table calls the ' ' instead of ').
-
zend engine
-
Reverted fix for bug #51176 (Static calling in non-static method behaves like $this->).
-
Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED.
-
Fixed NULL dereference in lex_scan on zend multibyte builds where the script had a flex incompatible encoding and there was no converter.
-
Fixed covariance of return-by-ref constraints.
-
Fixed bug
#53305 (E_NOTICE when defining a constant starts with __COMPILER_HALT_OFFSET__).
-
Fixed bug
#52939 (zend_call_function does not respect ZEND_SEND_PREFER_REF).
-
Fixed bug
#52879 (Objects unreferenced in __get, __set, __isset or __unset can be freed too early).
mail_ben_schmidt at yahoo dot com dot au
Dmitry
-
Fixed bug
#52786 (PHP should reset section to [PHP] after ini sections).
Fedora at famillecollet dot com
-
Fixed bug
#52508 (newline problem with parse_ini_file+INI_SCANNER_RAW).
-
Fixed bug
#52484 (__set() ignores setting properties with empty names).
-
Fixed bug
#52361 (Throwing an exception in a destructor causes invalid catching).
-
Fixed bug
#51008 (Zend/tests/bug45877.phpt fails).
-
build issues
-
Fixed bug
#52436 (Compile error if systems do not have stdint.h) (Sriram Natarajan)
-
Fixed bug
#50345 (nanosleep not detected properly on some solaris versions).
-
Fixed bug
#49215 (make fails on glob_wrapper).
-
calendar extension
-
Fixed bug
#52744 (cal_days_in_month incorrect for December 1 BCE).
gpap at internet dot gr
Adam
-
curl extension
-
Fixed bug
#52828 (curl_setopt does not accept persistent streams).
-
Fixed bug
#52827 (cURL leaks handle and causes assertion error (CURLOPT_STDERR)).
-
Fixed bug
#52202 (CURLOPT_PRIVATE gets corrupted).
-
Fixed bug
#50410 (curl extension slows down PHP on Windows).
-
datetime extension
-
dba extension
-
dom extension
-
Fixed bug
#52656 (DOMCdataSection does not work with splitText).
-
filter extension
-
gd extension
-
Fixed bug
#53492 (fix crash if anti-aliasing steps are invalid).
-
gmp extension
-
Fixed bug
#52906 (gmp_mod returns negative result when non-negative is expected).
-
Fixed bug
#52849 (GNU MP invalid version match).
-
hash extension
-
Fixed bug
#51003 (unaligned memory access in ext/hash/hash_tiger.c).
-
iconv extension
-
Fixed bug
#52941 (The 'iconv_mime_decode_headers' function is skipping headers).
-
Fixed bug
#52599 (iconv output handler outputs incorrect content type when flags are used).
-
Fixed bug
#51250 (iconv_mime_decode() does not ignore malformed Q-encoded words).
-
intl extension
-
mbstring extension
-
Fixed bug
#53273 (mb_strcut() returns garbage with the excessive length parameter). (CVE-2010-4156)
Mateusz Kocielski
Pierre
Moriyoshi
-
Fixed bug
#52981 (Unicode casing table was out-of-date. Updated with UnicodeData-6.0.0d7.txt and included the source of the generator program with the distribution) (Gustavo).
-
Fixed bug
#52681 (mb_send_mail() appends an extra MIME-Version header).
-
mssql extension
-
mysql extension
-
Fixed bug
#52636 (php_mysql_fetch_hash writes long value into int).
Kalle
rein at basefarm dot no
-
mysqli extension
-
Fixed bug
#52891 (Wrong data inserted with mysqli/mysqlnd when using mysqli_stmt_bind_param and value> PHP_INT_MAX).
-
Fixed bug
#52686 (mysql_stmt_attr_[gs]et argument points to incorrect type).
-
Fixed bug
#52654 (mysqli doesn't install headers with structures it uses).
-
Fixed bug
#52433 (Call to undefined method mysqli::poll() - must be static).
-
Fixed bug
#52417 (MySQLi build failure with mysqlnd on MacOS X).
-
Fixed bug
#52413 (MySQLi/libmysql build failure on OS X, FreeBSD).
-
Fixed bug
#52390 (mysqli_report() should be per-request setting).
-
Fixed bug
#52302 (mysqli_fetch_all does not work with MYSQLI_USE_RESULT).
-
Fixed bug
#52221 (Misbehaviour of magic_quotes_runtime (get/set)).
-
Fixed bug
#45921 (Can't initialize character set hebrew).
-
mysqlnd
-
Fixed bug
#52613 (crash in mysqlnd after hitting memory limit).
-
odbc extension
-
Fixed bug
#52512 (Broken error handling in odbc_execute).
mkoegler at auto dot tuwien dot ac dot at
-
openssl extension
-
oracle database extension (oci8)
-
Fixed bug
#53284 (Valgrind warnings in oci_set_* functions) (Oracle Corp.)
-
Fixed bug
#51610 (Using oci_connect causes PHP to take a long time to exit). Requires Oracle 11.2.0.2 client libraries (or Oracle bug fix 9891199) for this patch to have an effect.
-
pcntl extension
-
Fixed bug
#52784 (Race condition when handling many concurrent signals).
nick dot telford at gmail dot com
Arnaud
-
pcre extension
-
Fixed bug
#52971 (PCRE-Meta-Characters not working with utf-8).
-
Fixed bug
#52732 (Docs say preg_match() returns FALSE on error, but it returns int(0)).
slugonamission at gmail dot com
-
phar extension
-
Fixed bug
#50987 (unaligned memory access in phar.c).
geissert at debian dot org
Ilia
-
php-fpm sapi
-
pdo
-
Fixed bug
#52699 (PDO bindValue writes long int 32bit enum).
-
Fixed bug
#52487 (PDO::FETCH_INTO leaks memory).
-
pdo dblib driver
-
Fixed bug
#52546 (pdo_dblib segmentation fault when iterating MONEY values).
-
pdo firebird driver
-
pdo mysql driver
-
Fixed bug
#52745 (Binding params doesn't work when selecting a date inside a CASE-WHEN).
-
postgresql extension
-
Fixed bug
#47199 (pg_delete() fails on NULL).
-
reflection extension
-
soap extension
-
Fixed bug
#44248 (RFC2616 transgression while HTTPS request through proxy with SoapClient object).
-
spl extension
-
Fixed bug
#53362 (Segmentation fault when extending SplFixedArray).
-
Fixed bug
#53279 (SplFileObject doesn't initialise default CSV escape character).
-
Fixed bug
#53144 (Segfault in SplObjectStorage::removeAll()).
-
Fixed bug
#53071 (SPLObjectStorage defeats gc_collect_cycles).
-
Fixed bug
#52573 (SplFileObject::fscanf Segmentation fault).
-
Fixed bug
#51763 (SplFileInfo::getType() does not work symbolic link and directory).
-
Fixed bug
#50481 (Storing many SPLFixedArray in an array crashes).
-
Fixed bug
#50579 (RegexIterator::REPLACE doesn't work).
-
sqlite3 extension
-
Fixed bug
#53463 (sqlite3 columnName() segfaults on bad column_number).
-
streams
-
wddx extension
-
Fixed bug
#52468 (wddx_deserialize corrupts integer field value when left empty).
-
zlib extension
-
Fixed bug
#52926 (zlib fopen wrapper does not use context).