×
UpdatePHP Pro Log in Register
PHP expiry alert : PHP v8.1 has recently expired. Is your website still running this version? Click here for more details
SAFE versions of PHP: 8.5.12, 8.4.27, 8.3.36, 8.2.35
☰

PHP 5.3.11 release notes: what changed

PHP 5.3.11 came out on 26 April 2012. Below is the full list of changes it made, grouped by the part of PHP that each one affects.

What changed in PHP 5.3.11

All PHP 5.3 releases

The changes are listed in English, exactly as the PHP developers wrote them (74 in total).

Core

  • Fixed bug #61650 (ini parser crashes when using ${xxxx} ini variables (without apache2)). (Laruence)
  • Fixed bug #61273 (call_user_func_array with more than 16333 arguments leaks / crashes). (Laruence)
  • Fixed bug #61165 (Segfault - strip_tags()). (Laruence)
  • Improved max_input_vars directive to check nested variables (Dmitry).
  • Fixed bug #61095 (Incorect lexing of 0x00*+<NUM>). (Etienne)
  • Fixed bug #61087 (Memory leak in parse_ini_file when specifying invalid scanner mode). (Nikic, Laruence)
  • Fixed bug #61072 (Memory leak when restoring an exception handler). (Nikic, Laruence)
  • Fixed bug #61058 (array_fill leaks if start index is PHP_INT_MAX). (Laruence)
  • Fixed bug #61043 (Regression in magic_quotes_gpc fix for CVE-2012-0831). (Ondřej Surý)
  • Fixed bug #61000 (Exceeding max nesting level doesn't delete numerical vars). (Laruence)
  • Fixed bug #60895 (Possible invalid handler usage in windows random functions). (Pierre)
  • Fixed bug #60825 (Segfault when running symfony 2 tests). (Dmitry, Laruence)
  • Fixed bug #60801 (strpbrk() mishandles NUL byte). (Adam)
  • Fixed bug #60569 (Nullbyte truncates Exception $message). (Ilia)
  • Fixed bug #60227 (header() cannot detect the multi-line header with CR). (rui, Gustavo)
  • Fixed bug #60222 (time_nanosleep() does validate input params). (Ilia)
  • Fixed bug #54374 (Insufficient validating of upload name leading to corrupted $_FILES indices). (CVE-2012-1172). (Stas, lekensteyn at gmail dot com, Pierre)
  • Fixed bug #52719 (array_walk_recursive crashes if third param of the function is by reference). (Nikita Popov)
  • Fixed bug #51860 (Include fails with toplevel symlink to /). (Dmitry)
  • DOM
  • Added debug info handler to DOM objects. (Gustavo, Joey Smith)
  • FPM
  • Fixed bug #61430 (Transposed memset() params in sapi/fpm/fpm/fpm_shm.c). (michaelhood at gmail dot com, Ilia)
  • Ibase
  • Fixed bug #60947 (Segmentation fault while executing ibase_db_info). (Ilia)
  • Installation
  • Fixed bug #61172 (Add Apache 2.4 support). (Chris Jones)
  • Fileinfo
  • Upgraded libmagic to 5.11 (Pierre, Anatoliy)
  • Fixed bug #61565 where php_stream_open_wrapper_ex tries to open a directory descriptor under windows. (Anatoliy)
  • Fixed bug #61566 failure caused by the posix lseek and read versions under windows in cdf_read(). (Anatoliy)
  • Fixed bug #61173 (Unable to detect error from finfo constructor). (Gustavo)

Firebird Database extension (ibase)

  • Fixed bug #60802 (ibase_trans() gives segfault when passing params).

Libxml

  • Fixed bug #61367 (open_basedir bypass using libxml RSHUTDOWN). (Tim Starling)
  • mysqli
  • Fixed bug #61003 (mysql_stat() require a valid connection). (Johannes).
  • PDO_mysql
  • Fixed bug #61207 (PDO::nextRowset() after a multi-statement query doesn't always work). (Johannes)
  • Fixed bug #61194 (PDO should export compression flag with myslqnd). (Johannes)
  • PDO_odbc
  • Fixed bug #61212 (PDO ODBC Segfaults on SQL_SUCESS_WITH_INFO). (Ilia)
  • PDO_pgsql
  • Fixed bug #61267 (pdo_pgsql's PDO::exec() returns the number of SELECTed rows on postgresql >= 9). (ben dot pineau at gmail dot com)

PDO_Sqlite extension

  • Add createCollation support. (Damien)

pgsql

  • Fixed bug #60718 (Compile problem with libpq (PostgreSQL 7.3 or less). (Yasuo Ohgaki)

Phar

  • Fixed bug #61184 (Phar::webPhar() generates headers with trailing NUL bytes). (Nikic)

PHP-FPM SAPI

  • Fixed bug #60811 (php-fpm compilation problem). (rasmus)

Readline

  • Fixed bug #61088 (Memory leak in readline_callback_handler_install). (Nikic, Laruence)
  • Add open_basedir checks to readline_write_history and readline_read_history. (Rasmus, reported by Mateusz Goik)

Reflection

  • Fixed bug #61388 (ReflectionObject:getProperties() issues invalid reads when get_properties returns a hash table with (inaccessible) dynamic numeric properties). (Gustavo)
  • Fixed bug #60968 (Late static binding doesn't work with ReflectionMethod::invokeArgs()). (Laruence)
  • SOAP
  • Fixed basic HTTP authentication for WSDL sub requests. (Dmitry)
  • Fixed bug #60887 (SoapClient ignores user_agent option and sends no User-Agent header). (carloschilazo at gmail dot com)
  • Fixed bug #60842, #51775 (Chunked response parsing error when chunksize length line is > 10 bytes). (Ilia)
  • Fixed bug #49853 (Soap Client stream context header option ignored). (Dmitry)
  • SPL
  • Fixed memory leak when calling SplFileInfo's constructor twice. (Felipe)
  • Fixed bug #61418 (Segmentation fault when DirectoryIterator's or FilesystemIterator's iterators are requested more than once without having had its dtor callback called in between). (Gustavo)
  • Fixed bug #61347 (inconsistent isset behavior of Arrayobject). (Laruence)
  • Fixed bug #61326 (ArrayObject comparison). (Gustavo)

SQLite3 extension

  • Add createCollation() method. (Brad Dewar)

Session

  • Fixed bug #60860 (session.save_handler=user without defined function core dumps). (Felipe)
  • Fixed bug #60634 (Segmentation fault when trying to die() in SessionHandler::write()). (Ilia)

Streams

  • Fixed bug #61371 (stream_context_create() causes memory leaks on use streams_socket_create). (Gustavo)
  • Fixed bug #61253 (Wrappers opened with errors concurrency problem on ZTS). (Gustavo)
  • Fixed bug #61115 (stream related segfault on fatal error in php_stream_context_link). (Gustavo)
  • Fixed bug #60817 (stream_get_line() reads from stream even when there is already sufficient data buffered). stream_get_line() now behaves more like fgets(), as is documented. (Gustavo)
  • Further fix for bug #60455 (stream_get_line misbehaves if EOF is not detected together with the last read). (Gustavo)
  • Fixed bug #60106 (stream_socket_server silently truncates long unix socket paths). (Ilia)

Tidy

  • Fixed bug #54682 (tidy null pointer dereference). (Tony, David Soria Parra)

XMLRPC

  • Fixed bug #61264 (xmlrpc_parse_method_descriptions leaks temporary variable). (Nikita Popov)
  • Fixed bug #61097 (Memory leak in xmlrpc functions copying zvals). (Nikic)

Zlib

  • Fixed bug #61139 (gzopen leaks when specifying invalid mode). (Nikic)

This list comes from the NEWS file that the PHP developers keep with the PHP source code, and the same list is also published on php.net.

Back to Guide Index
Article last updated: 21st October, 2026