Diff for /embedaddon/php/NEWS between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2012/05/29 12:34:34 version 1.1.1.3, 2013/07/22 01:31:37
Line 1 Line 1
 PHP                                                                        NEWS  PHP                                                                        NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||  |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
   04 Jul 2013, PHP 5.4.17
   
   - Core:
     . Fixed bug #64988 (Class loading order affects E_STRICT warning). (Laruence)
     . Fixed bug #64966 (segfault in zend_do_fcall_common_helper_SPEC). (Laruence)
     . Fixed bug #64960 (Segfault in gc_zval_possible_root). (Laruence)
     . Fixed bug #64936 (doc comments picked up from previous scanner run). (Stas,
       Jonathan Oddy)
     . Fixed bug #64934 (Apache2 TS crash with get_browser()). (Anatol)
     . Fixed bug #64166 (quoted-printable-encode stream filter incorrectly 
       discarding whitespace). (Michael M Slusarz)
   
   - DateTime:
     . Fixed bug #53437 (Crash when using unserialized DatePeriod instance).
       (Gustavo, Derick, Anatol)
   
   - FPM:
     . Fixed Bug #64915 (error_log ignored when daemonize=0). (Remi)
     . Implemented FR #64764 (add support for FPM init.d script). (Lior Kaplan)
   
   - PDO:
     . Fixed bug #63176 (Segmentation fault when instantiate 2 persistent PDO to 
       the same db server). (Laruence)
   
   - PDO_DBlib:
     . Fixed bug #63638 (Cannot connect to SQL Server 2008 with PDO dblib). 
       (Stanley Sufficool)
     . Fixed bug #64338 (pdo_dblib can't connect to Azure SQL). (Stanley 
       Sufficool)
     . Fixed bug #64808 (FreeTDS PDO getColumnMeta on a prepared but not executed 
       statement crashes). (Stanley Sufficool)
   
   - PDO_firebird:
     . Fixed bug #64037 (Firebird return wrong value for numeric field).
       (Matheus Degiovani, Matteo)
     . Fixed bug #62024 (Cannot insert second row with null using parametrized
       query). (patch by james@kenjim.com, Matheus Degiovani, Matteo)
   
   - PDO_mysql:
     . Fixed bug #48724 (getColumnMeta() doesn't return native_type for BIT, 
       TINYINT and YEAR). (Antony, Daniel Beardsley)
   
   - PDO_pgsql:
     . Fixed Bug #64949 (Buffer overflow in _pdo_pgsql_error). (Remi)
   
   - pgsql:
     . Fixed bug #64609 (pg_convert enum type support). (Matteo)
   
   - Readline:
     . Implement FR #55694 (Expose additional readline variable to prevent 
       default filename completion). (Hartmel)
   
   - SPL:
     . Fixed bug #64997 (Segfault while using RecursiveIteratorIterator on
       64-bits systems). (Laruence)
   
   06 Jun 2013, PHP 5.4.16
   
   - Core:
     . Fixed bug #64879 (Heap based buffer overflow in quoted_printable_encode,
       CVE 2013-2110). (Stas)
     . Fixed bug #64853 (Use of no longer available ini directives causes crash on
       TS build). (Anatol)
     . Fixed bug #64729 (compilation failure on x32). (Gustavo)
     . Fixed bug #64720 (SegFault on zend_deactivate). (Dmitry)
     . Fixed bug #64660 (Segfault on memory exhaustion within function definition).
       (Stas, reported by Juha Kylmänen)
   
   - Calendar:
     . Fixed bug #64895 (Integer overflow in SndToJewish). (Remi)
   
   - Fileinfo:
     . Fixed bug #64830 (mimetype detection segfaults on mp3 file). (Anatol)
   
   - FPM:
     . Ignore QUERY_STRING when sent in SCRIPT_FILENAME. (Remi)
     . Fixed some possible memory or resource leaks and possible null dereference
       detected by code coverity scan. (Remi)
     . Log a warning when a syscall fails. (Remi)
     . Add --with-fpm-systemd option to report health to systemd, and
       systemd_interval option to configure this. The service can now use
       Type=notify in the systemd unit file. (Remi)
   
   - MySQLi
     . Fixed bug #64726 (Segfault when calling fetch_object on a use_result and DB
       pointer has closed). (Laruence)
   
   - Phar
     . Fixed bug #64214 (PHAR PHPTs intermittently crash when run on DFS, SMB or 
       with non std tmp dir). (Pierre)
   
   - SNMP:
     . Fixed bug #64765 (Some IPv6 addresses get interpreted wrong).
       (Boris Lytochkin)
     . Fixed bug #64159 (Truncated snmpget). (Boris Lytochkin)
   
   - Streams:
     . Fixed bug #64770 (stream_select() fails with pipes returned by proc_open()
       on Windows x64). (Anatol)
   
   - Zend Engine:
     . Fixed bug #64821 (Custom Exceptions crash when internal properties 
       overridden). (Anatol)
   
   09 May 2013, PHP 5.4.15
   - Core:
     . Fixed bug #64578 (debug_backtrace in set_error_handler corrupts zend heap:
       segfault). (Laruence)
     . Fixed bug #64458 (dns_get_record result with string of length -1). (Stas)
     . Fixed bug #64433 (follow_location parameter of context is ignored for most
       response codes). (Sergey Akbarov)
     . Fixed bugs #47675 and #64577 (fd leak on Solaris)
   
   - Fileinfo:
     . Upgraded libmagic to 5.14. (Anatol)
   
   - MySQLi:
     . Fixed bug #64726 (Segfault when calling fetch_object on a use_result and DB
       pointer has closed). (Laruence)
   
   - Zip:
     . Fixed bug #64342 (ZipArchive::addFile() has to check for file existence).
       (Anatol)
   
   - Streams:
     . Fixed Windows x64 version of stream_socket_pair() and improved error
       handling. (Anatol Belski)
     . Fixed bug #64770 (stream_select() fails with pipes returned by proc_open()
       on Windows x64). (Anatol)
   
   11 Apr 2013, PHP 5.4.14
   
   - Core:
     . Fixed bug #64529 (Ran out of opcode space). (Dmitry)
     . Fixed bug #64515 (Memoryleak when using the same variablename two times in
       function declaration). (Laruence)
     . Fixed bug #64432 (more empty delimiter warning in strX methods). (Laruence)
     . Fixed bug #64417 (ArrayAccess::&offsetGet() in a trait causes fatal error).
       (Dmitry)
     . Fixed bug #64370 (microtime(true) less than $_SERVER['REQUEST_TIME_FLOAT']).
       (Anatol)
     . Fixed bug #64239 (Debug backtrace changed behavior since 5.4.10 or 5.4.11).
       (Dmitry, Laruence)
     . Fixed bug #63976 (Parent class incorrectly using child constant in class
       property). (Dmitry)
     . Fixed bug #63914 (zend_do_fcall_common_helper_SPEC does not handle
       exceptions properly). (Jeff Welch)
     . Fixed bug #62343 (Show class_alias In get_declared_classes()) (Dmitry)
   
   - PCRE:
     . Merged PCRE 8.32. (Anatol)
   
   - SNMP:
     . Fixed bug #61981 (OO API, walk: $suffix_as_key is not working correctly).
           (Boris Lytochkin)
   
   - Zip:
     . Bug #64452 (Zip crash intermittently). (Anatol)
   
   14 Mar 2013, PHP 5.4.13
   
   - Core:
     . Fixed bug #64354 (Unserialize array of objects whose class can't
       be autoloaded fail). (Laruence)
     . Fixed bug #64235 (Insteadof not work for class method in 5.4.11).
       (Laruence)
     . Fixed bug #64197 (_Offsetof() macro used but not defined on ARM/Clang).
       (Ard Biesheuvel)
     . Implemented FR #64175 (Added HTTP codes as of RFC 6585). (Jonh Wendell)
     . Fixed bug #64142 (dval to lval different behavior on ppc64). (Remi)
     . Fixed bug #64070 (Inheritance with Traits failed with error). (Dmitry)
   
   - CLI server:
     . Fixed bug #64128 (buit-in web server is broken on ppc64). (Remi)
   
   - Mbstring:
     . mb_split() can now handle empty matches like preg_split() does. (Moriyoshi)
   
   - mysqlnd
     . Fixed bug #63530 (mysqlnd_stmt::bind_one_parameter crashes, uses wrong alloc
       for stmt->param_bind). (Andrey)
   
   - OpenSSL:
     . New SSL stream context option to prevent CRIME attack vector. (Daniel Lowrey,
           Lars)
     . Fixed bug #61930 (openssl corrupts ssl key resource when using
       openssl_get_publickey()). (Stas)
   
   - PDO_mysql:
     . Fixed bug #60840 (undefined symbol: mysqlnd_debug_std_no_trace_funcs).
       (Johannes)
   
   - Phar:
     . Fixed timestamp update on Phar contents modification. (Dmitry)
   
   - SOAP
     . Added check that soap.wsdl_cache_dir conforms to open_basedir
       (CVE-2013-1635). (Dmitry)
     . Disabled external entities loading (CVE-2013-1643, CVE-2013-1824).
       (Dmitry)
   
   - SPL:
     . Fixed bug #64264 (SPLFixedArray toArray problem). (Laruence)
     . Fixed bug #64228 (RecursiveDirectoryIterator always assumes SKIP_DOTS).
       (patch by kriss@krizalys.com, Laruence)
     . Fixed bug #64106 (Segfault on SplFixedArray[][x] = y when extended).
       (Nikita Popov)
     . Fixed bug #52861 (unset fails with ArrayObject and deep arrays).
       (Mike Willbanks)
   
   - SNMP:
     . Fixed bug #64124 (IPv6 malformed). (Boris Lytochkin)
   
   21 Feb 2013, PHP 5.4.12
   
   - Core:
     . Fixed bug #64099 (Wrong TSRM usage in zend_Register_class alias). (Johannes)
     . Fixed bug #64011 (get_html_translation_table() output incomplete with
       HTML_ENTITIES and ISO-8859-1). (Gustavo)
     . Fixed bug #63982 (isset() inconsistently produces a fatal error on
       protected property). (Stas)
     . Fixed bug #63943 (Bad warning text from strpos() on empty needle).
       (Laruence)
     . Fixed bug #63899 (Use after scope error in zend_compile). (Laruence)
     . Fixed bug #63893 (Poor efficiency of strtr() using array with keys of very
       different length). (Gustavo)
     . Fixed bug #63882 (zend_std_compare_objects crash on recursion). (Dmitry)
     . Fixed bug #63462 (Magic methods called twice for unset protected
       properties). (Stas)
     . Fixed bug #62524 (fopen follows redirects for non-3xx statuses).
       (Wes Mason)
     . Support BITMAPV5HEADER in getimagesize(). (AsamK, Lars)
   
   - Date:
     . Fixed bug #63699 (Performance improvements for various ext/date functions).
       (Lars, original patch by njaguar at gmail dot com)
     . Fixed bug #55397: Comparsion of incomplete DateTime causes SIGSEGV.
       (Derick)
   
   - FPM:
     . Fixed bug #63999 (php with fpm fails to build on Solaris 10 or 11). (Adam)
   
   - Litespeed:
     . Fixed bug #63228 (-Werror=format-security error in lsapi code). (George)
   
   - ext/sqlite3:
     . Fixed bug #63921 (sqlite3::bindvalue and relative PHP functions aren't
       using sqlite3_*_int64 API). (srgoogleguy, Lars)
   
   - PDO_OCI
     . Fixed bug #57702 (Multi-row BLOB fetches). (hswong3i, Laruence)
     . Fixed bug #52958 (Segfault in PDO_OCI on cleanup after running a long
       testsuite). (hswong3i, Lars)
   
   - PDO_sqlite:
     . Fixed bug #63916 (PDO::PARAM_INT casts to 32bit int internally even
       on 64bit builds in pdo_sqlite). (srgoogleguy, Lars)
   
   17 Jan 2013, PHP 5.4.11
   
   - Core:
     . Fixed bug #63762 (Sigsegv when Exception::$trace is changed by user).
       (Johannes)
     . Fixed bug #43177 (Errors in eval()'ed code produce status code 500).
       (Todd Ruth, Stas).
   
   - Filter:
     . Fixed bug #63757 (getenv() produces memory leak with CGI SAPI). (Dmitry)
     . Fixed bug #54096 (FILTER_VALIDATE_INT does not accept +0 and -0).
       (martin at divbyzero dot net, Lars)
   
   - JSON:
     . Fixed bug #63737 (json_decode does not properly decode with options
       parameter). (Adam)
   
   - CLI server
     . Update list of common mime types. Added webm, ogv, ogg. (Lars,
       pascalc at gmail dot com)
   
   - cURL extension:
     . Fixed bug (segfault due to libcurl connection caching). (Pierrick)
     . Fixed bug #63859 (Memory leak when reusing curl-handle). (Pierrick)
     . Fixed bug #63795 (CURL >= 7.28.0 no longer support value 1 for
       CURLOPT_SSL_VERIFYHOST). (Pierrick)
     . Fixed bug #63352 (Can't enable hostname validation when using curl stream
       wrappers). (Pierrick)
     . Fixed bug #55438 (Curlwapper is not sending http header randomly).
       (phpnet@lostreality.org, Pierrick)
   
   20 Dec 2012, PHP 5.4.10
   
   - Core:
     . Fixed bug #63726 (Memleak with static properties and internal/user
       classes). (Laruence)
     . Fixed bug #63635 (Segfault in gc_collect_cycles). (Dmitry)
     . Fixed bug #63512 (parse_ini_file() with INI_SCANNER_RAW removes quotes
       from value). (Pierrick)
     . Fixed bug #63468 (wrong called method as callback with inheritance).
       (Laruence)
     . Fixed bug #63451 (config.guess file does not have AIX 7 defined,
       shared objects are not created). (kemcline at au1 dot ibm dot com)
     . Fixed bug #61557 (Crasher in tt-rss backend.php).
       (i dot am dot jack dot mail at gmail dot com)
     . Fixed bug #61272 (ob_start callback gets passed empty string).
       (Mike, casper at langemeijer dot eu)
   
   - Date:
     . Fixed bug #63666 (Poor date() performance). (Paul Taulborg).
     . Fixed bug #63435 (Datetime::format('u') sometimes wrong by 1 microsecond).
       (Remi)
   
   - Imap:
     . Fixed bug #63126 (DISABLE_AUTHENTICATOR ignores array). (Remi)
   
   - Json:
     . Fixed bug #63588 (use php_next_utf8_char and remove duplicate
       implementation). (Remi)
   
   - MySQLi:
     . Fixed bug #63361 (missing header). (Remi)
   
   - MySQLnd:
     . Fixed bug #63398 (Segfault when polling closed link). (Laruence)
   
   - Fileinfo:
     . Fixed bug #63590 (Different results in TS and NTS under Windows).
       (Anatoliy)
   
   - FPM:
     . Fixed bug #63581 Possible null dereference and buffer overflow (Remi)
   
   - Pdo_sqlite:
     . Fixed Bug #63149 getColumnMeta should return the table name
       when system SQLite used. (Remi)
   
   - Apache2 Handler SAPI:
     . Enabled Apache 2.4 configure option for Windows (Pierre, Anatoliy)
   
   - Reflection:
     . Fixed Bug #63614 (Fatal error on Reflection). (Laruence)
   
   - SOAP
     . Fixed bug #63271 (SOAP wsdl cache is not enabled after initial requests).
       (John Jawed, Dmitry)
   
   - Sockets
     . Fixed bug #49341 (Add SO_REUSEPORT support for socket_set_option()).
       (Igor Wiedler, Lars)
   
   - SPL
     . Fixed bug #63680 (Memleak in splfixedarray with cycle reference). (Laruence)
   
   22 Nov 2012, PHP 5.4.9
   
   - Core:
     . Fixed bug #63305 (zend_mm_heap corrupted with traits). (Dmitry, Laruence)
     . Fixed bug #63369 ((un)serialize() leaves dangling pointers, causes crashes).
       (Tony, Andrew Sitnikov)
     . Fixed bug #63241 (PHP fails to open Windows deduplicated files).
       (daniel dot stelter-gliese at innogames dot de)
     . Fixed bug #62444 (Handle leak in is_readable on windows).
       (krazyest at seznam dot cz)
   
   - Curl:
     . Fixed bug #63363 (Curl silently accepts boolean true for SSL_VERIFYHOST).
       Patch by John Jawed GitHub PR #221 (Anthony)
   
   - Fileinfo:
     . Fixed bug #63248 (Load multiple magic files from a directory under Windows).
       (Anatoliy)
   
   - Libxml
     . Fixed bug #63389 (Missing context check on libxml_set_streams_context()
       causes memleak). (Laruence)
   
   - Mbstring:
     . Fixed bug #63447 (max_input_vars doesn't filter variables when
       mbstring.encoding_translation = On). (Laruence)
   
   - OCI8:
     . Fixed bug #63265 (Add ORA-00028 to the PHP_OCI_HANDLE_ERROR macro)
       (Chris Jones)
   
   - PCRE:
     . Fixed bug #63180 (Corruption of hash tables). (Dmitry)
     . Fixed bug #63055 (Segfault in zend_gc with SF2 testsuite).
       (Dmitry, Laruence)
     . Fixed bug #63284 (Upgrade PCRE to 8.31). (Anatoliy)
   
   - PDO:
     . Fixed bug #63235 (buffer overflow in use of SQLGetDiagRec).
       (Martin Osvald, Remi)
   
   - PDO_pgsql:
     . Fixed bug #62593 (Emulate prepares behave strangely with PARAM_BOOL).
       (Will Fitch)
   
   - Phar:
     . Fixed bug #63297 (Phar fails to write an openssl based signature).
       (Anatoliy)
   
   - Streams:
     . Fixed bug #63240 (stream_get_line() return contains delimiter string).
       (Tjerk, Gustavo)
   
   - Reflection:
     . Fixed bug #63399 (ReflectionClass::getTraitAliases() incorrectly resolves
       traitnames). (Laruence)
   
   18 Oct 2012, PHP 5.4.8
   
   - CLI server:
     . Implemented FR #63242 (Default error page in PHP built-in web server uses
       outdated html/css). (pascal.chevrel@free.fr)
     . Changed response to unknown HTTP method to 501 according to RFC.
       (Niklas Lindgren).
     . Support HTTP PATCH method. Patch by Niklas Lindgren, GitHub PR #190.
       (Lars)
   
   - Core:
     . Fixed bug #63219 (Segfault when aliasing trait method when autoloader
       throws excpetion). (Laruence)
     . Added optional second argument for assert() to specify custom message. Patch
       by Lonny Kapelushnik (lonny@lonnylot.com). (Lars)
     . Support building PHP with the native client toolchain. (Stuart Langley)
     . Added --offline option for tests. (Remi)
     . Fixed bug #63162 (parse_url does not match password component). (husman)
     . Fixed bug #63111 (is_callable() lies for abstract static method). (Dmitry)
     . Fixed bug #63093 (Segfault while load extension failed in zts-build).
       (Laruence)
     . Fixed bug #62976 (Notice: could not be converted to int when comparing
       some builtin classes). (Laruence)
     . Fixed bug #62955 (Only one directive is loaded from "Per Directory Values"
       Windows registry). (aserbulov at parallels dot com)
     . Fixed bug #62907 (Double free when use traits). (Dmitry)
     . Fixed bug #61767 (Shutdown functions not called in certain error
       situation). (Dmitry)
     . Fixed bug #60909 (custom error handler throwing Exception + fatal error
       = no shutdown function). (Dmitry)
     . Fixed bug #60723 (error_log error time has changed to UTC ignoring default
       timezone). (Laruence)
   
   - cURL:
     . Fixed bug #62085 (file_get_contents a remote file by Curl wrapper will
       cause cpu Soaring). (Pierrick)
   
   - Date:
     . Fixed bug #62896 ("DateTime->modify('+0 days')" modifies DateTime object)
       (Lonny Kapelushnik)
     . Fixed bug #62561 (DateTime add 'P1D' adds 25 hours). (Lonny Kapelushnik)
   
   - DOM:
     . Fixed bug #63015 (Incorrect arginfo for DOMErrorHandler). (Rob)
   
   - FPM:
     . Fixed bug #62954 (startup problems fpm / php-fpm). (fat)
     . Fixed bug #62886 (PHP-FPM may segfault/hang on startup). (fat)
     . Fixed bug #63085 (Systemd integration and daemonize). (remi, fat)
     . Fixed bug #62947 (Unneccesary warnings on FPM). (fat)
     . Fixed bug #62887 (Only /status?plain&full gives "last request cpu"). (fat)
     . Fixed bug #62216 (Add PID to php-fpm init.d script). (fat)
   
   - OCI8:
     . Fixed bug #60901 (Improve "tail" syntax for AIX installation) (Chris Jones)
   
   - OpenSSL:
     . Implemented FR #61421 (OpenSSL signature verification missing RMD160,
       SHA224, SHA256, SHA384, SHA512). (Mark Jones)
   
   - PDO:
     . Fixed bug #63258 (seg fault with PDO and dblib using DBSETOPT(H->link,
       DBQUOTEDIDENT, 1)). (Laruence)
     . Fixed bug #63235 (buffer overflow in use of SQLGetDiagRec).
       (Martin Osvald, Remi)
   
   - PDO Firebird:
     . Fixed bug #63214 (Large PDO Firebird Queries).
       (james at kenjim dot com)
   
   - SOAP
     . Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
       (Dmitry)
   
   - SPL:
     . Bug #62987 (Assigning to ArrayObject[null][something] overrides all
       undefined variables). (Laruence)
   
   - mbstring:
     . Allow passing null as a default value to mb_substr() and mb_strcut(). Patch
       by Alexander Moskaliov via GitHub PR #133. (Lars)
   
   - Filter extension:
     . Bug #49510: Boolean validation fails with FILTER_NULL_ON_FAILURE with empty
       string or false. (Lars)
   
   - Sockets
     . Fixed bug #63000 (MCAST_JOIN_GROUP on OSX is broken, merge of PR 185 by
       Igor Wiedler). (Lars)
   
   13 Sep 2012, PHP 5.4.7
   
   - Core:
     . Fixed bug (segfault while build with zts and GOTO vm-kind). (Laruence)
     . Fixed bug #62844 (parse_url() does not recognize //). (Andrew Faulds).
     . Fixed bug #62829 (stdint.h included on platform where HAVE_STDINT_H is not
       set). (Felipe)
     . Fixed bug #62763 (register_shutdown_function and extending class).
       (Laruence)
     . Fixed bug #62725 (Calling exit() in a shutdown function does not return
       the exit value). (Laruence)
     . Fixed bug #62744 (dangling pointers made by zend_disable_class). (Laruence)
     . Fixed bug #62716 (munmap() is called with the incorrect length).
       (slangley@google.com)
     . Fixed bug #62358 (Segfault when using traits a lot). (Laruence)
     . Fixed bug #62328 (implementing __toString and a cast to string fails)
       (Laruence)
     . Fixed bug #51363 (Fatal error raised by var_export() not caught by error
       handler). (Lonny Kapelushnik)
     . Fixed bug #40459 (Stat and Dir stream wrapper methods do not call
       constructor). (Stas)
   
   - CURL:
     . Fixed bug #62912 (CURLINFO_PRIMARY_* AND CURLINFO_LOCAL_* not exposed).
           (Pierrick)
     . Fixed bug #62839 (curl_copy_handle segfault with CURLOPT_FILE). (Pierrick)
   
   - Intl:
     . Fixed Spoofchecker not being registered on ICU 49.1. (Gustavo)
     . Fix bug #62933 (ext/intl compilation error on icu 3.4.1). (Gustavo)
     . Fix bug #62915 (defective cloning in several intl classes). (Gustavo)
   
   - Installation:
     . Fixed bug #62460 (php binaries installed as binary.dSYM). (Reeze Xia)
   
   - PCRE:
     . Fixed bug #55856 (preg_replace should fail on trailing garbage).
       (reg dot php at alf dot nu)
   
   - PDO:
     . Fixed bug #62685 (Wrong return datatype in PDO::inTransaction()). (Laruence)
   
   - Reflection:
     . Fixed bug #62892 (ReflectionClass::getTraitAliases crashes on importing
       trait methods as private). (Felipe)
     . Fixed bug #62715 (ReflectionParameter::isDefaultValueAvailable() wrong
       result). (Laruence)
   
   - Session:
     . Fixed bug (segfault due to retval is not initialized). (Laruence)
     . Fixed bug (segfault due to PS(mod_user_implemented) not be reseted
       when close handler call exit). (Laruence)
   
   - SOAP
     . Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
       (Dmitry)
   
   - SPL:
     . Fixed bug #62904 (Crash when cloning an object which inherits SplFixedArray)
       (Laruence)
     . Implemented FR #62840 (Add sort flag to ArrayObject::ksort). (Laruence)
   
   - Standard:
     . Fixed bug #62836 (Seg fault or broken object references on unserialize()).
       (Laruence)
   
   - FPM:
     . Merged PR 121 by minitux to add support for slow request counting on PHP
       FPM status page. (Lars)
   
   16 Aug 2012, PHP 5.4.6
   
   - CLI Server:
     . Implemented FR #62700 (have the console output 'Listening on
       http://localhost:8000'). (pascal.chevrel@free.fr)
   
   - Core:
     . Fixed bug #62661 (Interactive php-cli crashes if include() is used in
       auto_prepend_file). (Laruence)
     . Fixed bug #62653: (unset($array[$float]) causes a crash). (Nikita Popov,
       Laruence)
     . Fixed bug #62565 (Crashes due non-initialized internal properties_table).
       (Felipe)
     . Fixed bug #60194 (--with-zend-multibyte and --enable-debug reports LEAK
       with run-test.php). (Laruence)
   
   - CURL:
     . Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false).
       (r.hampartsumyan@gmail.com, Laruence)
   
   - DateTime:
     . Fixed Bug #62500 (Segfault in DateInterval class when extended). (Laruence)
   
   - Fileinfo:
     . Fixed bug #61964 (finfo_open with directory causes invalid free).
       (reeze.xia@gmail.com)
   
   - Intl:
     . Fixed bug #62564 (Extending MessageFormatter and adding property causes
       crash). (Felipe)
   
   - MySQLnd:
     . Fixed bug #62594 (segfault in mysqlnd_res_meta::set_mode). (Laruence)
   
   - readline:
     . Fixed bug #62612 (readline extension compilation fails with
       sapi/cli/cli.h: No such file). (Johannes)
   
   - Reflection:
     . Implemented FR #61602 (Allow access to name of constant used as default
       value). (reeze.xia@gmail.com)
   
   - SimpleXML:
     . Implemented FR #55218 Get namespaces from current node. (Lonny)
   
   - SPL:
     . Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance
       gives Segmentation fault). (Laruence, Gustavo)
     . Fixed bug #61527 (ArrayIterator gives misleading notice on next() when
       moved to the end). (reeze.xia@gmail.com)
   
   - Streams:
     . Fixed bug #62597 (segfault in php_stream_wrapper_log_error with ZTS build).
       (Laruence)
   
   - Zlib:
     . Fixed bug #55544 (ob_gzhandler always conflicts with
       zlib.output_compression). (Laruence)
   
   19 Jul 2012, PHP 5.4.5
   
   - Core:
     . Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed
       Salt). (Anthony Ferrara)
     . Fixed bug #62432 (ReflectionMethod random corrupt memory on high
       concurrent). (Johannes)
     . Fixed bug #62373 (serialize() generates wrong reference to the object).
       (Moriyoshi)
     . Fixed bug #62357 (compile failure: (S) Arguments missing for built-in
       function __memcmp). (Laruence)
     . Fixed bug #61998 (Using traits with method aliases appears to result in
       crash during execution). (Dmitry)
     . Fixed bug #51094 (parse_ini_file() with INI_SCANNER_RAW cuts a value that
       includes a semi-colon). (Pierrick)
     . Fixed potential overflow in _php_stream_scandir (CVE-2012-2688).
       (Jason Powell, Stas)
   
   - EXIF:
     . Fixed information leak in ext exif (discovered by Martin Noga,
       Matthew "j00ru" Jurczyk, Gynvael Coldwind)
   
   - FPM:
     . Fixed bug #62205 (php-fpm segfaults (null passed to strstr)). (fat)
     . Fixed bug #62160 (Add process.priority to set nice(2) priorities). (fat)
     . Fixed bug #62153 (when using unix sockets, multiples FPM instances
     . Fixed bug #62033 (php-fpm exits with status 0 on some failures to start).
       (fat)
     . Fixed bug #61839 (Unable to cross-compile PHP with --enable-fpm). (fat)
     . Fixed bug #61835 (php-fpm is not allowed to run as root). (fat)
     . Fixed bug #61295 (php-fpm should not fail with commented 'user'
     . Fixed bug #61218 (FPM drops connection while receiving some binary values
       in FastCGI requests). (fat)
     . Fixed bug #61045 (fpm don't send error log to fastcgi clients). (fat)
       for non-root start). (fat)
     . Fixed bug #61026 (FPM pools can listen on the same address). (fat)
       can be launched without errors). (fat)
   
   - Iconv:
     . Fix bug #55042 (Erealloc in iconv.c unsafe). (Stas)
   
   - Intl:
     . Fixed bug #62083 (grapheme_extract() memory leaks). (Gustavo)
     . ResourceBundle constructor now accepts NULL for the first two arguments.
       (Gustavo)
     . Fixed bug #62081 (IntlDateFormatter constructor leaks memory when called
       twice). (Gustavo)
     . Fixed bug #62070 (Collator::getSortKey() returns garbage). (Gustavo)
     . Fixed bug #62017 (datefmt_create with incorrectly encoded timezone leaks
       pattern). (Gustavo)
     . Fixed bug #60785 (memory leak in IntlDateFormatter constructor). (Gustavo)
   
   - JSON:
     . Fixed bug #61359 (json_encode() calls too many reallocs). (Stas)
   
   - libxml:
     . Fixed bug #62266 (Custom extension segfaults during xmlParseFile with FPM
       SAPI). (Gustavo)
   
   - Phar:
     . Fixed bug #62227 (Invalid phar stream path causes crash). (Felipe)
   
   - Readline:
     . Fixed bug #62186 (readline fails to compile - void function should not
       return a value). (Johannes)
   
   - Reflection:
     . Fixed bug #62384 (Attempting to invoke a Closure more than once causes
       segfault). (Felipe)
     . Fixed bug #62202 (ReflectionParameter::getDefaultValue() memory leaks
       with constant). (Laruence)
   
   - Sockets:
     . Fixed bug #62025 (__ss_family was changed on AIX 5.3). (Felipe)
   
   - SPL:
     . Fixed bug #62433 (Inconsistent behavior of RecursiveDirectoryIterator to
       dot files). (Laruence)
     . Fixed bug #62262 (RecursiveArrayIterator does not implement Countable).
       (Nikita Popov)
   
   - XML Writer:
     . Fixed bug #62064 (memory leak in the XML Writer module).
       (jean-pierre dot lozi at lip6 dot fr)
   
   - Zip:
     . Upgraded libzip to 0.10.1 (Anatoliy)
   
   14 Jun 2012, PHP 5.4.4
   
   - COM:
     . Fixed bug #62146 com_dotnet cannot be built shared. (Johannes)
   
   - CLI Server:
     . Implemented FR #61977 (Need CLI web-server support for files with .htm &
       svg extensions). (Sixd, Laruence)
     . Improved performance while sending error page, this also fixed
       bug #61785 (Memory leak when access a non-exists file without router).
       (Laruence)
     . Fixed bug #61546 (functions related to current script failed when chdir()
       in cli sapi). (Laruence, reeze.xia@gmail.com)
   
   - Core:
     . Fixed missing bound check in iptcparse(). (chris at chiappa.net)
     . Fixed CVE-2012-2143. (Solar Designer)
     . Fixed bug #62097 (fix for for bug #54547). (Gustavo)
     . Fixed bug #62005 (unexpected behavior when incrementally assigning to a
       member of a null object). (Laruence)
     . Fixed bug #61978 (Object recursion not detected for classes that implement
       JsonSerializable). (Felipe)
     . Fixed bug #61991 (long overflow in realpath_cache_get()). (Anatoliy)
     . Fixed bug #61922 (ZTS build doesn't accept zend.script_encoding config).
       (Laruence)
     . Fixed bug #61827 (incorrect \e processing on Windows) (Anatoliy)
     . Fixed bug #61782 (__clone/__destruct do not match other methods when checking
       access controls). (Stas)
     . Fixed bug #61764 ('I' unpacks n as signed if n > 2^31-1 on LP64). (Gustavo)
     . Fixed bug #61761 ('Overriding' a private static method with a different
       signature causes crash). (Laruence)
     . Fixed bug #61730 (Segfault from array_walk modifying an array passed by
       reference). (Laruence)
     . Fixed bug #61728 (PHP crash when calling ob_start in request_shutdown
       phase). (Laruence)
     . Fixed bug #61713 (Logic error in charset detection for htmlentities).
       (Anatoliy)
     . Fixed bug #61660 (bin2hex(hex2bin($data)) != $data). (Nikita Popov)
     . Fixed bug #61650 (ini parser crashes when using ${xxxx} ini variables
       (without apache2)). (Laruence)
     . Fixed bug #61605 (header_remove() does not remove all headers). (Laruence)
     . Fixed bug #54547 (wrong equality of string numbers). (Gustavo)
     . Fixed bug #54197 ([PATH=] sections incompatibility with user_ini.filename
       set to null). (Anatoliy)
     . Changed php://fd to be available only for CLI.
   
   - CURL:
     . Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction).
       (Laruence)
   
   - Fileinfo
     . Fixed bug #61812 (Uninitialised value used in libmagic).
       (Laruence, Gustavo)
     . Fixed bug #61566 failure caused by the posix lseek and read versions
       under windows in cdf_read(). (Anatoliy)
     . Fixed bug #61565 where php_stream_open_wrapper_ex tries to open a
       directory descriptor under windows. (Anatoliy)
   
   - Intl
     . Fixed bug #62082 (Memory corruption in internal function
       get_icu_disp_value_src_php()). (Gustavo)
   
   - Libxml:
     . Fixed bug #61617 (Libxml tests failed(ht is already destroyed)).
       (Laruence)
   
   - PDO:
     . Fixed bug #61755 (A parsing bug in the prepared statements can lead to
       access violations). (Johannes)
   
   - Phar:
     . Fixed bug #61065 (Secunia SA44335, CVE-2012-2386). (Rasmus)
   
   - Pgsql:
     . Added pg_escape_identifier/pg_escape_literal. (Yasuo Ohgaki)
   
   - Streams:
     . Fixed bug #61961 (file_get_contents leaks when access empty file with
       maxlen set). (Reeze)
   
   - Zlib:
     . Fixed bug #61820 (using ob_gzhandler will complain about headers already
       sent when no compression). (Mike)
     . Fixed bug #61443 (can't change zlib.output_compression on the fly). (Mike)
     . Fixed bug #60761 (zlib.output_compression fails on refresh). (Mike)
   
 08 May 2012, PHP 5.4.3  08 May 2012, PHP 5.4.3
   
 - CGI  - CGI
   . Re-Fix PHP-CGI query string parameter vulnerability, CVE-2012-1823.    . Re-Fix PHP-CGI query string parameter vulnerability, CVE-2012-1823.
     (Stas)      (Stas)
   . Fix bug #61807 - Buffer Overflow in apache_request_headers.    . Fix bug #61807 - Buffer Overflow in apache_request_headers.
    (nyt-php at countercultured dot net).     (nyt-php at countercultured dot net).
   
 03 May 2012, PHP 5.4.2  03 May 2012, PHP 5.4.2
   
Line 16  PHP                                                    Line 818  PHP                                                   
   
 - CLI Server:  - CLI Server:
   . Fixed bug #61461 (missing checks around malloc() calls). (Ilia)    . Fixed bug #61461 (missing checks around malloc() calls). (Ilia)
  . Implemented FR #60850 (Built in web server does not set   . Implemented FR #60850 (Built in web server does not set
     $_SERVER['SCRIPT_FILENAME'] when using router). (Laruence)      $_SERVER['SCRIPT_FILENAME'] when using router). (Laruence)
   . "Connection: close" instead of "Connection: closed" (Gustavo)    . "Connection: close" instead of "Connection: closed" (Gustavo)
   
Line 24  PHP                                                    Line 826  PHP                                                   
   . Fixed crash in ZTS using same class in many threads. (Johannes)    . Fixed crash in ZTS using same class in many threads. (Johannes)
   . Fixed bug #61374 (html_entity_decode tries to decode code points that don't    . Fixed bug #61374 (html_entity_decode tries to decode code points that don't
     exist in ISO-8859-1). (Gustavo)      exist in ISO-8859-1). (Gustavo)
  . Fixed bug #61273 (call_user_func_array with more than 16333 arguments   . Fixed bug #61273 (call_user_func_array with more than 16333 arguments
     leaks / crashes). (Laruence)      leaks / crashes). (Laruence)
   . Fixed bug #61225 (Incorrect lexing of 0b00*+<NUM>). (Pierrick)    . Fixed bug #61225 (Incorrect lexing of 0b00*+<NUM>). (Pierrick)
   . Fixed bug #61165 (Segfault - strip_tags()). (Laruence)    . Fixed bug #61165 (Segfault - strip_tags()). (Laruence)
Line 39  PHP                                                    Line 841  PHP                                                   
   . Fixed bug #61052 (Missing error check in trait 'insteadof' clause). (Stefan)    . Fixed bug #61052 (Missing error check in trait 'insteadof' clause). (Stefan)
   . Fixed bug #61011 (Crash when an exception is thrown by __autoload    . Fixed bug #61011 (Crash when an exception is thrown by __autoload
     accessing a static property). (Laruence)      accessing a static property). (Laruence)
  . Fixed bug #61000 (Exceeding max nesting level doesn't delete numerical   . Fixed bug #61000 (Exceeding max nesting level doesn't delete numerical
     vars). (Laruence)      vars). (Laruence)
   . Fixed bug #60978 (exit code incorrect). (Laruence)    . Fixed bug #60978 (exit code incorrect). (Laruence)
   . Fixed bug #60911 (Confusing error message when extending traits). (Stefan)    . Fixed bug #60911 (Confusing error message when extending traits). (Stefan)
Line 78  PHP                                                    Line 880  PHP                                                   
   . Fixed bug #61003 (mysql_stat() require a valid connection). (Johannes).    . Fixed bug #61003 (mysql_stat() require a valid connection). (Johannes).
   
 - mysqlnd  - mysqlnd
     . Fixed bug #61704 (Crash apache, phpinfo() threading issue). (Johannes)
   . Fixed bug #60948 (mysqlnd FTBFS when -Wformat-security is enabled).    . Fixed bug #60948 (mysqlnd FTBFS when -Wformat-security is enabled).
     (Johannes)      (Johannes)
   
 - Readline:  
   . Fixed bug #61088 (Memory leak in readline_callback_handler_install).  
     (Nikic, Laruence)  
   
 - Session  
   . Fixed bug #60634 (Segmentation fault when trying to die() in   
     SessionHandler::write()). (Ilia)  
   
 - SOAP  
   . Fixed bug #61423 (gzip compression fails). (Ilia)  
   . 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)  
   
 - PDO  - PDO
  . Fixed bug #61292 (Segfault while calling a method on an overloaded PDO   . Fixed bug #61292 (Segfault while calling a method on an overloaded PDO
     object). (Laruence)      object). (Laruence)
   
 - PDO_mysql  - PDO_mysql
Line 115  PHP                                                    Line 901  PHP                                                   
   . Fixed bug #61184 (Phar::webPhar() generates headers with trailing NUL    . Fixed bug #61184 (Phar::webPhar() generates headers with trailing NUL
     bytes). (Nikita Popov)      bytes). (Nikita Popov)
   
   - Readline:
     . Fixed bug #61088 (Memory leak in readline_callback_handler_install).
       (Nikic, Laruence)
   
 - Reflection:  - Reflection:
  . Fixed bug #60968 (Late static binding doesn't work with   . Implemented FR #61602 (Allow access to the name of constant
     used as function/method parameter's default value). (reeze.xia@gmail.com)
   . Fixed bug #60968 (Late static binding doesn't work with
     ReflectionMethod::invokeArgs()). (Laruence)      ReflectionMethod::invokeArgs()). (Laruence)
   
   - Session
     . Fixed bug #60634 (Segmentation fault when trying to die() in
       SessionHandler::write()). (Ilia)
   
   - SOAP
     . Fixed bug #61423 (gzip compression fails). (Ilia)
     . 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:  - SPL:
   . Fixed bug #61453 (SplObjectStorage does not identify objects correctly).    . Fixed bug #61453 (SplObjectStorage does not identify objects correctly).
     (Gustavo)      (Gustavo)
Line 143  PHP                                                    Line 948  PHP                                                   
   . Fixed bug #61287 (A particular string fails to decompress). (Mike)    . Fixed bug #61287 (A particular string fails to decompress). (Mike)
   . Fixed bug #61139 (gzopen leaks when specifying invalid mode). (Nikita Popov)    . Fixed bug #61139 (gzopen leaks when specifying invalid mode). (Nikita Popov)
   
01 Mar 2012, PHP 5.4.0 01 Mar 2012, PHP 5.4.0
   
 - Installation:  - Installation:
   . autoconf 2.59+ is now supported (and required) for generating the    . autoconf 2.59+ is now supported (and required) for generating the
Line 199  PHP                                                    Line 1004  PHP                                                   
   . Added class member access on instantiation (e.g. (new foo)->bar()) support.    . Added class member access on instantiation (e.g. (new foo)->bar()) support.
     (Felipe)      (Felipe)
   . <?= is now always available regardless of the short_open_tag setting. (Rasmus)    . <?= is now always available regardless of the short_open_tag setting. (Rasmus)
  . Implemented Zend Signal Handling (configurable option --enable-zend-signals,   . Implemented Zend Signal Handling (configurable option --enable-zend-signals,
     off by default). (Lucas Nealan, Arnaud Le Blanc, Brian Shire, Ilia)      off by default). (Lucas Nealan, Arnaud Le Blanc, Brian Shire, Ilia)
   . Improved output layer, see README.NEW-OUTPUT-API for internals. (Mike)    . Improved output layer, see README.NEW-OUTPUT-API for internals. (Mike)
   . Improved UNIX build system to allow building multiple PHP binary SAPIs and    . Improved UNIX build system to allow building multiple PHP binary SAPIs and
Line 207  PHP                                                    Line 1012  PHP                                                   
   . Implemented closure rebinding as parameter to bindTo. (Gustavo Lopes)    . Implemented closure rebinding as parameter to bindTo. (Gustavo Lopes)
   . Improved the warning message of incompatible arguments. (Laruence)    . Improved the warning message of incompatible arguments. (Laruence)
   . Improved ternary operator performance when returning arrays. (Arnaud, Dmitry)    . Improved ternary operator performance when returning arrays. (Arnaud, Dmitry)
  . Changed error handlers to only generate docref links when the docref_root   . Changed error handlers to only generate docref links when the docref_root
     php.ini setting is not empty. (Derick)      php.ini setting is not empty. (Derick)
   . Changed silent conversion of array to string to produce a notice. (Patrick)    . Changed silent conversion of array to string to produce a notice. (Patrick)
   . Changed default encoding from ISO-8859-1 to UTF-8 when not specified in    . Changed default encoding from ISO-8859-1 to UTF-8 when not specified in
Line 350  PHP                                                    Line 1155  PHP                                                   
   . Fixed bug #52211 (iconv() returns part of string on error). (Felipe)    . Fixed bug #52211 (iconv() returns part of string on error). (Felipe)
   . Fixed bug #51860 (Include fails with toplevel symlink to /). (Dmitry)    . Fixed bug #51860 (Include fails with toplevel symlink to /). (Dmitry)
   
- Improved generic SAPI support: - Improved generic SAPI support:
  . Added $_SERVER['REQUEST_TIME_FLOAT'] to include microsecond precision.   . Added $_SERVER['REQUEST_TIME_FLOAT'] to include microsecond precision.
     (Patrick)      (Patrick)
   . Added header_register_callback() which is invoked immediately    . Added header_register_callback() which is invoked immediately
     prior to the sending of headers and after default headers have      prior to the sending of headers and after default headers have
Line 359  PHP                                                    Line 1164  PHP                                                   
   . Added http_response_code() function. FR #52555. (Paul Dragoonis, Kalle)    . Added http_response_code() function. FR #52555. (Paul Dragoonis, Kalle)
   . Fixed bug #55500 (Corrupted $_FILES indices lead to security concern).    . Fixed bug #55500 (Corrupted $_FILES indices lead to security concern).
     (CVE-2012-1172). (Stas)      (CVE-2012-1172). (Stas)
  . Fixed bug #54374 (Insufficient validating of upload name leading to   . Fixed bug #54374 (Insufficient validating of upload name leading to
     corrupted $_FILES indices). (CVE-2012-1172). (Stas, lekensteyn at gmail dot com)      corrupted $_FILES indices). (CVE-2012-1172). (Stas, lekensteyn at gmail dot com)
   
 - Improved CLI SAPI:  - Improved CLI SAPI:
  . Added built-in web server that is intended for testing purpose.   . Added built-in web server that is intended for testing purpose.
     (Moriyoshi, Laruence, and fixes by Pierre, Derick, Arpad,      (Moriyoshi, Laruence, and fixes by Pierre, Derick, Arpad,
     chobieee at gmail dot com)      chobieee at gmail dot com)
   . Added command line option --rz <name> which shows information of the    . Added command line option --rz <name> which shows information of the
Line 415  PHP                                                    Line 1220  PHP                                                   
 - Improved intl extension:  - Improved intl extension:
   . Added Spoofchecker class, allows checking for visibly confusable characters and    . Added Spoofchecker class, allows checking for visibly confusable characters and
     other security issues. (Scott)      other security issues. (Scott)
  . Added Transliterator class, allowing transliteration of strings.   . Added Transliterator class, allowing transliteration of strings.
     (Gustavo)      (Gustavo)
   . Added support for UTS #46. (Gustavo)    . Added support for UTS #46. (Gustavo)
   . Fixed build on Fedora 15 / Ubuntu 11. (Hannes)    . Fixed build on Fedora 15 / Ubuntu 11. (Hannes)
Line 457  PHP                                                    Line 1262  PHP                                                   
   . PDO_mysql: Removed support for linking with MySQL client libraries older    . PDO_mysql: Removed support for linking with MySQL client libraries older
     than 4.1. (Johannes)      than 4.1. (Johannes)
   . ext/mysql, mysqli and pdo_mysql now use mysqlnd by default. (Johannes)    . ext/mysql, mysqli and pdo_mysql now use mysqlnd by default. (Johannes)
  . Fixed bug #55473 (mysql_pconnect leaks file descriptors on reconnect).   . Fixed bug #55473 (mysql_pconnect leaks file descriptors on reconnect).
     (Andrey, Laruence)      (Andrey, Laruence)
  . Fixed bug #55653 (PS crash with libmysql when binding same variable as   . Fixed bug #55653 (PS crash with libmysql when binding same variable as
     param and out). (Laruence)      param and out). (Laruence)
   
 - Improved OpenSSL extension:  - Improved OpenSSL extension:
Line 575  PHP                                                    Line 1380  PHP                                                   
   . Fixed bug #55544 (ob_gzhandler always conflicts with zlib.output_compression).    . Fixed bug #55544 (ob_gzhandler always conflicts with zlib.output_compression).
     (Mike)      (Mike)
   
   14 Jun 2012, PHP 5.3.14
   
   - CLI SAPI:
     . Fixed bug #61546 (functions related to current script failed when chdir()
       in cli sapi). (Laruence, reeze.xia@gmail.com)
   
   - CURL:
     . Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction).
       (Laruence)
   
   - COM:
     . Fixed bug #62146 com_dotnet cannot be built shared. (Johannes)
   
   - Core:
     . Fixed CVE-2012-2143. (Solar Designer)
     . Fixed missing bound check in iptcparse(). (chris at chiappa.net)
     . Fixed bug #62373 (serialize() generates wrong reference to the object).
       (Moriyoshi)
     . Fixed bug #62005 (unexpected behavior when incrementally assigning to a
       member of a null object). (Laruence)
     . Fixed bug #61991 (long overflow in realpath_cache_get()). (Anatoliy)
     . Fixed bug #61764 ('I' unpacks n as signed if n > 2^31-1 on LP64). (Gustavo)
     . Fixed bug #61730 (Segfault from array_walk modifying an array passed by
       reference). (Laruence)
     . Fixed bug #61713 (Logic error in charset detection for htmlentities).
       (Anatoliy)
     . Fixed bug #54197 ([PATH=] sections incompatibility with user_ini.filename
       set to null). (Anatoliy)
     . Changed php://fd to be available only for CLI.
   
   - Fileinfo:
     . Fixed bug #61812 (Uninitialised value used in libmagic).
       (Laruence, Gustavo)
   
   - Iconv extension:
     . Fixed a bug that iconv extension fails to link to the correct library
       when another extension makes use of a library that links to the iconv
       library. See https://bugs.gentoo.org/show_bug.cgi?id=364139 for detail.
       (Moriyoshi)
   
   - Intl:
     . Fixed bug #62082 (Memory corruption in internal function
       get_icu_disp_value_src_php()). (Gustavo)
   
   - JSON
     . Fixed bug #61537 (json_encode() incorrectly truncates/discards
       information). (Adam)
   
   - PDO:
     . Fixed bug #61755 (A parsing bug in the prepared statements can lead to
       access violations). (Johannes)
   
   - Phar:
     . Fix bug #61065 (Secunia SA44335). (Rasmus)
   
   - Streams:
     . Fixed bug #61961 (file_get_contents leaks when access empty file with
       maxlen set). (Reeze)
   
   08 May 2012, PHP 5.3.13
   - CGI
     . Improve fix for PHP-CGI query string parameter vulnerability, CVE-2012-2311.
       (Stas)
   
   03 May 2012, PHP 5.3.12
   - Fix PHP-CGI query string parameter vulnerability, CVE-2012-1823. (Rasmus)
   
   26 Apr 2012, PHP 5.3.11
   
   - Core:
     . Fixed bug #61605 (header_remove() does not remove all headers).
       (Laruence)
     . Fixed bug #61541 (Segfault when using ob_* in output_callback).
       (reeze.xia@gmail.com)
     . 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
     . 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 #61617 (Libxml tests failed(ht is already destroyed)).
       (Laruence)
     . 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)
   
   - 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)
   
 02 Feb 2012, PHP 5.3.10  02 Feb 2012, PHP 5.3.10
   
 - Core:  - Core:
  . Fixed arbitrary remote code execution vulnerability reported by Stefan   . Fixed arbitrary remote code execution vulnerability reported by Stefan
     Esser, CVE-2012-0830. (Stas, Dmitry)      Esser, CVE-2012-0830. (Stas, Dmitry)
   
 10 Jan 2012, PHP 5.3.9  10 Jan 2012, PHP 5.3.9
Line 591  PHP                                                    Line 1618  PHP                                                   
     GC). (Dmitry)      GC). (Dmitry)
   . Fixed bug #60138 (GC crash with referenced array in RecursiveArrayIterator)    . Fixed bug #60138 (GC crash with referenced array in RecursiveArrayIterator)
     (Dmitry).      (Dmitry).
  . Fixed bug #60120 (proc_open's streams may hang with stdin/out/err when   . Fixed bug #60120 (proc_open's streams may hang with stdin/out/err when
     the data exceeds or is equal to 2048 bytes). (Pierre, Pascal Borreli)      the data exceeds or is equal to 2048 bytes). (Pierre, Pascal Borreli)
   . Fixed bug #60099 (__halt_compiler() works in braced namespaces). (Felipe)    . Fixed bug #60099 (__halt_compiler() works in braced namespaces). (Felipe)
   . Fixed bug #60019 (Function time_nanosleep() is undefined on OS X). (Ilia)    . Fixed bug #60019 (Function time_nanosleep() is undefined on OS X). (Ilia)
Line 615  PHP                                                    Line 1642  PHP                                                   
     HTTP POST request). (Hannes)      HTTP POST request). (Hannes)
   . Fixed bug #55475 (is_a() triggers autoloader, new optional 3rd argument to    . Fixed bug #55475 (is_a() triggers autoloader, new optional 3rd argument to
     is_a and is_subclass_of). (alan_k)      is_a and is_subclass_of). (alan_k)
  . Fixed bug #52461 (Incomplete doctype and missing xmlns).   . Fixed bug #52461 (Incomplete doctype and missing xmlns).
     (virsacer at web dot de, Pierre)      (virsacer at web dot de, Pierre)
   . Fixed bug #55366 (keys lost when using substr_replace an array). (Arpad)    . Fixed bug #55366 (keys lost when using substr_replace an array). (Arpad)
   . Fixed bug #55273 (base64_decode() with strict rejects whitespace after    . Fixed bug #55273 (base64_decode() with strict rejects whitespace after
Line 672  PHP                                                    Line 1699  PHP                                                   
   . Fixed memory leak when calling the Finfo constructor twice. (Felipe)    . Fixed memory leak when calling the Finfo constructor twice. (Felipe)
   
 - Filter:  - Filter:
  . Fixed Bug #55478 (FILTER_VALIDATE_EMAIL fails with internationalized   . Fixed Bug #55478 (FILTER_VALIDATE_EMAIL fails with internationalized
     domain name addresses containing >1 -). (Ilia)      domain name addresses containing >1 -). (Ilia)
   
 - FTP:  - FTP:
Line 682  PHP                                                    Line 1709  PHP                                                   
 - Gd:  - Gd:
   . Fixed bug #60160 (imagefill() doesn't work correctly    . Fixed bug #60160 (imagefill() doesn't work correctly
     for small images). (Florian)      for small images). (Florian)
     . Fixed potential memory leak on a png error (Rasmus, Paul Saab)
   
 - Intl:  - Intl:
   . Fixed bug #60192 (SegFault when Collator not constructed    . Fixed bug #60192 (SegFault when Collator not constructed
Line 705  PHP                                                    Line 1733  PHP                                                   
   . Fixed bug #55859 (mysqli->stat property access gives error). (Andrey)    . Fixed bug #55859 (mysqli->stat property access gives error). (Andrey)
   . Fixed bug #55582 (mysqli_num_rows() returns always 0 for unbuffered, when    . Fixed bug #55582 (mysqli_num_rows() returns always 0 for unbuffered, when
     mysqlnd is used). (Andrey)      mysqlnd is used). (Andrey)
  . Fixed bug #55703 (PHP crash when calling mysqli_fetch_fields).   . Fixed bug #55703 (PHP crash when calling mysqli_fetch_fields).
     (eran at zend dot com, Laruence)      (eran at zend dot com, Laruence)
   
 - mysqlnd  - mysqlnd
Line 742  PHP                                                    Line 1770  PHP                                                   
   
 - PDO MySQL driver:  - PDO MySQL driver:
   . Fixed bug #60155 (pdo_mysql.default_socket ignored). (Johannes)    . Fixed bug #60155 (pdo_mysql.default_socket ignored). (Johannes)
  . Fixed bug #55870 (PDO ignores all SSL parameters when used with mysql   . Fixed bug #55870 (PDO ignores all SSL parameters when used with mysql
     native driver). (Pierre)      native driver). (Pierre)
  . Fixed bug #54158 (MYSQLND+PDO MySQL requires #define   . Fixed bug #54158 (MYSQLND+PDO MySQL requires #define
     MYSQL_OPT_LOCAL_INFILE). (Andrey)      MYSQL_OPT_LOCAL_INFILE). (Andrey)
   
 - PDO OCI driver:  - PDO OCI driver:
Line 785  PHP                                                    Line 1813  PHP                                                   
   . Added partial syslog support (on error_log only). FR #52052. (fat)    . Added partial syslog support (on error_log only). FR #52052. (fat)
   
 - Postgres:  - Postgres:
  . Fixed bug #60244 (pg_fetch_* functions do not validate that row param   . Fixed bug #60244 (pg_fetch_* functions do not validate that row param
     is >0). (Ilia)      is >0). (Ilia)
     . Added PGSQL_LIBPQ_VERSION/PGSQL_LIBPQ_VERSION_STR constants. (Yasuo)
   
 - Reflection:  - Reflection:
   . Fixed bug #60367 (Reflection and Late Static Binding). (Laruence)    . Fixed bug #60367 (Reflection and Late Static Binding). (Laruence)
Line 796  PHP                                                    Line 1825  PHP                                                   
   
 - SimpleXML:  - SimpleXML:
   . Reverted the SimpleXML->query() behaviour to returning empty arrays    . Reverted the SimpleXML->query() behaviour to returning empty arrays
    instead of false when no nodes are found as it was since 5.3.3     instead of false when no nodes are found as it was since 5.3.3
     (bug #48601). (chregu, rrichards)      (bug #48601). (chregu, rrichards)
   
 - SOAP  - SOAP
Line 829  PHP                                                    Line 1858  PHP                                                   
   
 - XSL:  - XSL:
   . Added xsl.security_prefs ini option to define forbidden operations within    . Added xsl.security_prefs ini option to define forbidden operations within
    XSLT stylesheets, default is not to enable write operations. This option     XSLT stylesheets, default is not to enable write operations. This option
     won't be in 5.4, since there's a new method. Fixes Bug #54446. (Chregu,      won't be in 5.4, since there's a new method. Fixes Bug #54446. (Chregu,
     Nicolas Gregoire)      Nicolas Gregoire)
   
Line 857  PHP                                                    Line 1886  PHP                                                   
     (Pierrick, Felipe)      (Pierrick, Felipe)
   . Fixed bug #54624 (class_alias and type hint). (Felipe)    . Fixed bug #54624 (class_alias and type hint). (Felipe)
   . Fixed bug #54585 (track_errors causes segfault). (Dmitry)    . Fixed bug #54585 (track_errors causes segfault). (Dmitry)
  . Fixed bug #54423 (classes from dl()'ed extensions are not destroyed).   . Fixed bug #54423 (classes from dl()'ed extensions are not destroyed).
     (Tony, Dmitry)      (Tony, Dmitry)
   . Fixed bug #54372 (Crash accessing global object itself returned from its    . Fixed bug #54372 (Crash accessing global object itself returned from its
     __get() handle). (Dmitry)      __get() handle). (Dmitry)
Line 870  PHP                                                    Line 1899  PHP                                                   
   
 - Core  - Core
   . Updated crypt_blowfish to 1.2. ((CVE-2011-2483) (Solar Designer)    . Updated crypt_blowfish to 1.2. ((CVE-2011-2483) (Solar Designer)
  . Removed warning when argument of is_a() or is_subclass_of() is not   . Removed warning when argument of is_a() or is_subclass_of() is not
     a known class. (Stas)      a known class. (Stas)
   . Fixed crash in error_log(). (Felipe) Reported by Mateusz Kocielski.    . Fixed crash in error_log(). (Felipe) Reported by Mateusz Kocielski.
   . Added PHP_MANDIR constant telling where the manpages were installed into,    . Added PHP_MANDIR constant telling where the manpages were installed into,
     and an --man-dir argument to php-config. (Hannes)      and an --man-dir argument to php-config. (Hannes)
   . Fixed a crash inside dtor for error handling. (Ilia)    . Fixed a crash inside dtor for error handling. (Ilia)
  . Fixed buffer overflow on overlog salt in crypt(). (ClĂ©ment LECIGNE, Stas)    . Fixed buffer overflow on overlog salt in crypt(). (ClĂ©ment LECIGNE, Stas)
   . Implemented FR #54459 (Range function accuracy). (Adam)    . Implemented FR #54459 (Range function accuracy). (Adam)
   
   . Fixed bug #55399 (parse_url() incorrectly treats ':' as a valid path).    . Fixed bug #55399 (parse_url() incorrectly treats ':' as a valid path).
Line 885  PHP                                                    Line 1914  PHP                                                   
     (Dmitry)      (Dmitry)
   . Fixed bug #55295 [NEW]: popen_ex on windows, fixed possible heap overflow    . Fixed bug #55295 [NEW]: popen_ex on windows, fixed possible heap overflow
     (Pierre)      (Pierre)
  . Fixed bug #55258 (Windows Version Detecting Error).   . Fixed bug #55258 (Windows Version Detecting Error).
     ( xiaomao5 at live dot com, Pierre)      ( xiaomao5 at live dot com, Pierre)
   . Fixed bug #55187 (readlink returns weird characters when false result).    . Fixed bug #55187 (readlink returns weird characters when false result).
    (Pierre)     (Pierre)
Line 929  PHP                                                    Line 1958  PHP                                                   
     (Pierrick, Dmitry)      (Pierrick, Dmitry)
   . Fixed bug #50363 (Invalid parsing in convert.quoted-printable-decode    . Fixed bug #50363 (Invalid parsing in convert.quoted-printable-decode
     filter). (slusarz at curecanti dot org)      filter). (slusarz at curecanti dot org)
  . Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent when using   . Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent when using
     TMPDIR on Windows). (Pierre)      TMPDIR on Windows). (Pierre)
   
 - Apache2 Handler SAPI:  - Apache2 Handler SAPI:
Line 942  PHP                                                    Line 1971  PHP                                                   
 - cURL extension:  - cURL extension:
   . Added ini option curl.cainfo (support for custom cert db). (Pierre)    . Added ini option curl.cainfo (support for custom cert db). (Pierre)
   . Added CURLINFO_REDIRECT_URL support. (Daniel Stenberg, Pierre)    . Added CURLINFO_REDIRECT_URL support. (Daniel Stenberg, Pierre)
  . Added support for CURLOPT_MAX_RECV_SPEED_LARGE and   . Added support for CURLOPT_MAX_RECV_SPEED_LARGE and
     CURLOPT_MAX_SEND_SPEED_LARGE. FR #51815. (Pierrick)      CURLOPT_MAX_SEND_SPEED_LARGE. FR #51815. (Pierrick)
   
 - DateTime extension:  - DateTime extension:
Line 969  PHP                                                    Line 1998  PHP                                                   
   . Added 3rd parameter to filter_var_array() and filter_input_array()    . Added 3rd parameter to filter_var_array() and filter_input_array()
     functions that allows disabling addition of empty elements. (Ilia)      functions that allows disabling addition of empty elements. (Ilia)
   . Fixed bug #53037 (FILTER_FLAG_EMPTY_STRING_NULL is not implemented). (Ilia)    . Fixed bug #53037 (FILTER_FLAG_EMPTY_STRING_NULL is not implemented). (Ilia)
  
 - Interbase extension:  - Interbase extension:
   . Fixed bug #54269 (Short exception message buffer causes crash). (Felipe)    . Fixed bug #54269 (Short exception message buffer causes crash). (Felipe)
  
 - intl extension:  - intl extension:
   . Implemented FR #54561 (Expose ICU version info). (David Zuelke, Ilia)    . Implemented FR #54561 (Expose ICU version info). (David Zuelke, Ilia)
   . Implemented FR #54540 (Allow loading of arbitrary resource bundles when    . Implemented FR #54540 (Allow loading of arbitrary resource bundles when
Line 983  PHP                                                    Line 2012  PHP                                                   
     (kevin at kevinlocke dot name)      (kevin at kevinlocke dot name)
   
 - json extension:  - json extension:
  . Fixed bug #54484 (Empty string in json_decode doesn't reset   . Fixed bug #54484 (Empty string in json_decode doesn't reset
     json_last_error()). (Ilia)      json_last_error()). (Ilia)
   
 - LDAP extension:  - LDAP extension:
Line 1000  PHP                                                    Line 2029  PHP                                                   
 - MCrypt extension:  - MCrypt extension:
   . Change E_ERROR to E_WARNING in mcrypt_create_iv when not enough data    . Change E_ERROR to E_WARNING in mcrypt_create_iv when not enough data
     has been fetched (Windows). (Pierre)      has been fetched (Windows). (Pierre)
  . Fixed bug #55169 (mcrypt_create_iv always fails to gather sufficient random   . Fixed bug #55169 (mcrypt_create_iv always fails to gather sufficient random
     data on Windows). (Pierre)      data on Windows). (Pierre)
   
 - mysqlnd  - mysqlnd
Line 1032  PHP                                                    Line 2061  PHP                                                   
   
 - PDO extension:  - PDO extension:
   . Fixed bug #54929 (Parse error with single quote in sql comment). (Felipe)    . Fixed bug #54929 (Parse error with single quote in sql comment). (Felipe)
  . Fixed bug #52104 (bindColumn creates Warning regardless of ATTR_ERRMODE   . Fixed bug #52104 (bindColumn creates Warning regardless of ATTR_ERRMODE
     settings). (Ilia)      settings). (Ilia)
   
 - PDO DBlib driver:  - PDO DBlib driver:
Line 1155  PHP                                                    Line 2184  PHP                                                   
   . Fixed bug #48607 (fwrite() doesn't check reply from ftp server before    . Fixed bug #48607 (fwrite() doesn't check reply from ftp server before
     exiting). (Ilia)      exiting). (Ilia)
   
 
 - Calendar extension:  - Calendar extension:
   . Fixed bug #53574 (Integer overflow in SdnToJulian, sometimes leading to    . Fixed bug #53574 (Integer overflow in SdnToJulian, sometimes leading to
     segfault). (Gustavo)      segfault). (Gustavo)
Line 1163  PHP                                                    Line 2192  PHP                                                   
 - DOM extension:  - DOM extension:
   . Implemented FR #39771 (Made DOMDocument::saveHTML accept an optional DOMNode    . Implemented FR #39771 (Made DOMDocument::saveHTML accept an optional DOMNode
     like DOMDocument::saveXML). (Gustavo)      like DOMDocument::saveXML). (Gustavo)
  
 - DateTime extension:  - DateTime extension:
   . Fixed a bug in DateTime->modify() where absolute date/time statements had    . Fixed a bug in DateTime->modify() where absolute date/time statements had
     no effect. (Derick)      no effect. (Derick)
   . Fixed bug #53729 (DatePeriod fails to initialize recurrences on 64bit    . Fixed bug #53729 (DatePeriod fails to initialize recurrences on 64bit
     big-endian systems). (Derick, rein@basefarm.no)      big-endian systems). (Derick, rein@basefarm.no)
   . Fixed bug #52808 (Segfault when specifying interval as two dates). (Stas)    . Fixed bug #52808 (Segfault when specifying interval as two dates). (Stas)
  . Fixed bug #52738 (Can't use new properties in class extended from   . Fixed bug #52738 (Can't use new properties in class extended from
     DateInterval). (Stas)      DateInterval). (Stas)
   . Fixed bug #52290 (setDate, setISODate, setTime works wrong when DateTime    . Fixed bug #52290 (setDate, setISODate, setTime works wrong when DateTime
     created from timestamp). (Stas)      created from timestamp). (Stas)
  . Fixed bug #52063 (DateTime constructor's second argument doesn't have a   . Fixed bug #52063 (DateTime constructor's second argument doesn't have a
     null default value). (Gustavo, Stas)      null default value). (Gustavo, Stas)
   
 - Exif extension:  - Exif extension:
Line 1195  PHP                                                    Line 2224  PHP                                                   
     (Hannes)      (Hannes)
   
 - Gettext  - Gettext
  . Fixed bug #53837 (_() crashes on Windows when no LANG or LANGUAGE   . Fixed bug #53837 (_() crashes on Windows when no LANG or LANGUAGE
     environment variable are set). (Pierre)      environment variable are set). (Pierre)
   
 - IMAP extension:  - IMAP extension:
   . Implemented FR #53812 (get MIME headers of the part of the email). (Stas)    . Implemented FR #53812 (get MIME headers of the part of the email). (Stas)
   . Fixed bug #53377 (imap_mime_header_decode() doesn't ignore \t during long    . Fixed bug #53377 (imap_mime_header_decode() doesn't ignore \t during long
     MIME header unfolding). (Adam)      MIME header unfolding). (Adam)
    
 - Intl extension:  - Intl extension:
   . Fixed bug #53612 (Segmentation fault when using cloned several intl    . Fixed bug #53612 (Segmentation fault when using cloned several intl
     objects). (Gustavo)      objects). (Gustavo)
   . Fixed bug #53512 (NumberFormatter::setSymbol crash on bogus $attr values).    . Fixed bug #53512 (NumberFormatter::setSymbol crash on bogus $attr values).
     (Felipe)      (Felipe)
  . Implemented clone functionality for number, date & message formatters.   . Implemented clone functionality for number, date & message formatters.
     (Stas).      (Stas).
   
 - JSON extension:  - JSON extension:
Line 1216  PHP                                                    Line 2245  PHP                                                   
     decodings). (Scott)      decodings). (Scott)
   
 - mysqlnd  - mysqlnd
  . Fixed problem with always returning 0 as num_rows for unbuffered sets.   . Fixed problem with always returning 0 as num_rows for unbuffered sets.
     (Andrey, Ulf)      (Andrey, Ulf)
   
 - MySQL Improved extension:  - MySQL Improved extension:
  . Added 'db' and 'catalog' keys to the field fetching functions (FR #39847).   . Added 'db' and 'catalog' keys to the field fetching functions (FR #39847).
     (Kalle)      (Kalle)
   . Fixed buggy counting of affected rows when using the text protocol. The    . Fixed buggy counting of affected rows when using the text protocol. The
     collected statistics were wrong when multi_query was used with mysqlnd      collected statistics were wrong when multi_query was used with mysqlnd
     (Andrey)      (Andrey)
  . Fixed bug #53795 (Connect Error from MySqli (mysqlnd) when using SSL).   . Fixed bug #53795 (Connect Error from MySqli (mysqlnd) when using SSL).
     (Kalle)      (Kalle)
  . Fixed bug #53503 (mysqli::query returns false after successful LOAD DATA   . Fixed bug #53503 (mysqli::query returns false after successful LOAD DATA
     query). (Kalle, Andrey)      query). (Kalle, Andrey)
  . Fixed bug #53425 (mysqli_real_connect() ignores client flags when built to   . Fixed bug #53425 (mysqli_real_connect() ignores client flags when built to
     call libmysql). (Kalle, tre-php-net at crushedhat dot com)      call libmysql). (Kalle, tre-php-net at crushedhat dot com)
   
 - OpenSSL extension:  - OpenSSL extension:
Line 1246  PHP                                                    Line 2275  PHP                                                   
 - PDO MySQL driver:  - PDO MySQL driver:
   . Fixed bug #53551 (PDOStatement execute segfaults for pdo_mysql driver).    . Fixed bug #53551 (PDOStatement execute segfaults for pdo_mysql driver).
     (Johannes)      (Johannes)
  . Implemented FR #47802 (Support for setting character sets in DSN strings).   . Implemented FR #47802 (Support for setting character sets in DSN strings).
     (Kalle)      (Kalle)
   
 - PDO Oracle driver:  - PDO Oracle driver:
   . Fixed bug #39199 (Cannot load Lob data with more than 4000 bytes on    . Fixed bug #39199 (Cannot load Lob data with more than 4000 bytes on
     ORACLE 10). (spatar at mail dot nnov dot ru)      ORACLE 10). (spatar at mail dot nnov dot ru)
    
 - PDO PostgreSQL driver:  - PDO PostgreSQL driver:
   . Fixed bug #53517 (segfault in pgsql_stmt_execute() when postgres is down).    . Fixed bug #53517 (segfault in pgsql_stmt_execute() when postgres is down).
     (gyp at balabit dot hu)      (gyp at balabit dot hu)
Line 1262  PHP                                                    Line 2291  PHP                                                   
     (CVE-2011-1153)      (CVE-2011-1153)
   . Fixed bug #53541 (format string bug in ext/phar).    . Fixed bug #53541 (format string bug in ext/phar).
     (crrodriguez at opensuse dot org, Ilia)      (crrodriguez at opensuse dot org, Ilia)
  . Fixed bug #53898 (PHAR reports invalid error message, when the directory   . Fixed bug #53898 (PHAR reports invalid error message, when the directory
     does not exist). (Ilia)      does not exist). (Ilia)
   
 - PHP-FPM SAPI:  - PHP-FPM SAPI:
Line 1293  PHP                                                    Line 2322  PHP                                                   
     (Mateusz Kocielski, Pierre)      (Mateusz Kocielski, Pierre)
   
 - SPL extension:  - SPL extension:
  . Fixed memory leak in DirectoryIterator::getExtension() and   . Fixed memory leak in DirectoryIterator::getExtension() and
     SplFileInfo::getExtension(). (Felipe)      SplFileInfo::getExtension(). (Felipe)
   . Fixed bug #53914 (SPL assumes HAVE_GLOB is defined). (Chris Jones)    . Fixed bug #53914 (SPL assumes HAVE_GLOB is defined). (Chris Jones)
   . Fixed bug #53515 (property_exists incorrect on ArrayObject null and 0    . Fixed bug #53515 (property_exists incorrect on ArrayObject null and 0
Line 1343  PHP                                                    Line 2372  PHP                                                   
     (Hannes)      (Hannes)
   . Fixed bug #53568 (swapped memset arguments in struct initialization).    . Fixed bug #53568 (swapped memset arguments in struct initialization).
     (crrodriguez at opensuse dot org)      (crrodriguez at opensuse dot org)
  . Fixed bug #53166 (Missing parameters in docs and reflection definition).   . Fixed bug #53166 (Missing parameters in docs and reflection definition).
     (Richard)      (Richard)
   . Fixed bug #49072 (feof never returns true for damaged file in zip).    . Fixed bug #49072 (feof never returns true for damaged file in zip).
     (Gustavo, Richard Quadling)      (Gustavo, Richard Quadling)
   
 06 Jan 2011, PHP 5.3.5  06 Jan 2011, PHP 5.3.5
- Fixed Bug #53632 (infinite loop with x87 fpu). (CVE-2010-4645) (Scott, - Fixed Bug #53632 (infinite loop with x87 fpu). (CVE-2010-4645) (Scott,
   Rasmus)    Rasmus)
   
 09 Dec 2010, PHP 5.3.4  09 Dec 2010, PHP 5.3.4
Line 1357  PHP                                                    Line 2386  PHP                                                   
 - Upgraded bundled PCRE to version 8.10. (Ilia)  - Upgraded bundled PCRE to version 8.10. (Ilia)
   
 - Security enhancements:  - Security enhancements:
  . Fixed crash in zip extract method (possible CWE-170).   . Fixed crash in zip extract method (possible CWE-170).
     (Maksymilian Arciemowicz, Pierre)      (Maksymilian Arciemowicz, Pierre)
   . Paths with NULL in them (foo\0bar.txt) are now considered as invalid.    . Paths with NULL in them (foo\0bar.txt) are now considered as invalid.
     (Rasmus)      (Rasmus)
  . Fixed a possible double free in imap extension (Identified by Mateusz   . Fixed a possible double free in imap extension (Identified by Mateusz
     Kocielski). (CVE-2010-4150). (Ilia)      Kocielski). (CVE-2010-4150). (Ilia)
   . Fixed NULL pointer dereference in ZipArchive::getArchiveComment.    . Fixed NULL pointer dereference in ZipArchive::getArchiveComment.
     (CVE-2010-3709). (Maksymilian Arciemowicz)      (CVE-2010-3709). (Maksymilian Arciemowicz)
Line 1373  PHP                                                    Line 2402  PHP                                                   
   
 - General improvements:  - General improvements:
   . Added stat support for zip stream. (Pierre)    . Added stat support for zip stream. (Pierre)
  . Added follow_location (enabled by default) option for the http stream   . Added follow_location (enabled by default) option for the http stream
     support. (Pierre)      support. (Pierre)
   . Improved support for is_link and related functions on Windows. (Pierre)    . Improved support for is_link and related functions on Windows. (Pierre)
   . Added a 3rd parameter to get_html_translation_table. It now takes a charset    . Added a 3rd parameter to get_html_translation_table. It now takes a charset
     hint, like htmlentities et al. (Gustavo)      hint, like htmlentities et al. (Gustavo)
 
 - Implemented feature requests:  - Implemented feature requests:
   . Implemented FR #52348, added new constant ZEND_MULTIBYTE to detect    . Implemented FR #52348, added new constant ZEND_MULTIBYTE to detect
     zend multibyte at runtime. (Kalle)      zend multibyte at runtime. (Kalle)
  . Implemented FR #52173, added functions pcntl_get_last_error() and   . Implemented FR #52173, added functions pcntl_get_last_error() and
      pcntl_strerror(). (nick dot telford at gmail dot com, Arnaud)       pcntl_strerror(). (nick dot telford at gmail dot com, Arnaud)
   . Implemented symbolic links support for open_basedir checks. (Pierre)    . Implemented symbolic links support for open_basedir checks. (Pierre)
   . Implemented FR #51804, SplFileInfo::getLinkTarget on Windows. (Pierre)    . Implemented FR #51804, SplFileInfo::getLinkTarget on Windows. (Pierre)
   . Implemented FR #50692, not uploaded files don't count towards    . Implemented FR #50692, not uploaded files don't count towards
     max_file_uploads limit. As a side improvement, temporary files are not      max_file_uploads limit. As a side improvement, temporary files are not
     opened for empty uploads and, in debug mode, 0-length uploads. (Gustavo)      opened for empty uploads and, in debug mode, 0-length uploads. (Gustavo)
    
 - Improved MySQLnd:  - Improved MySQLnd:
   . Added new character sets to mysqlnd, which are available in MySQL 5.5    . Added new character sets to mysqlnd, which are available in MySQL 5.5
     (Andrey)      (Andrey)
Line 1401  PHP                                                    Line 2430  PHP                                                   
   . Added '-t/--test' to php-fpm to check and validate FPM conf file. (fat)    . Added '-t/--test' to php-fpm to check and validate FPM conf file. (fat)
   . Added statistics about listening socket queue length for FPM.    . Added statistics about listening socket queue length for FPM.
     (andrei dot nigmatulin at gmail dot com, fat)      (andrei dot nigmatulin at gmail dot com, fat)
    
 - Core:  - Core:
   . Fixed extract() to do not overwrite $GLOBALS and $this when using    . Fixed extract() to do not overwrite $GLOBALS and $this when using
     EXTR_OVERWRITE. (jorto at redhat dot com)      EXTR_OVERWRITE. (jorto at redhat dot com)
Line 1415  PHP                                                    Line 2444  PHP                                                   
   . Fixed bug #53304 (quot_print_decode does not handle lower-case hex digits).    . Fixed bug #53304 (quot_print_decode does not handle lower-case hex digits).
     (Ilia, daniel dot mueller at inexio dot net)      (Ilia, daniel dot mueller at inexio dot net)
   . Fixed bug #53248 (rawurlencode RFC 3986 EBCDIC support misses tilde char).    . Fixed bug #53248 (rawurlencode RFC 3986 EBCDIC support misses tilde char).
    (Justin Martin)      (Justin Martin)
   . Fixed bug #53226 (file_exists fails on big filenames). (Adam)    . Fixed bug #53226 (file_exists fails on big filenames). (Adam)
   . Fixed bug #53198 (changing INI setting "from" with ini_set did not have any    . Fixed bug #53198 (changing INI setting "from" with ini_set did not have any
     effect). (Gustavo)      effect). (Gustavo)
Line 1431  PHP                                                    Line 2460  PHP                                                   
     decode &#34; if ENT_NOQUOTES is given. (Gustavo)      decode &#34; if ENT_NOQUOTES is given. (Gustavo)
   . Fixed bug #52931 (strripos not overloaded with function overloading    . Fixed bug #52931 (strripos not overloaded with function overloading
     enabled). (Felipe)      enabled). (Felipe)
  . Fixed bug #52772 (var_dump() doesn't check for the existence of   . Fixed bug #52772 (var_dump() doesn't check for the existence of
     get_class_name before calling it). (Kalle, Gustavo)      get_class_name before calling it). (Kalle, Gustavo)
   . Fixed bug #52534 (var_export array with negative key). (Felipe)    . Fixed bug #52534 (var_export array with negative key). (Felipe)
   . Fixed bug #52327 (base64_decode() improper handling of leading padding in    . Fixed bug #52327 (base64_decode() improper handling of leading padding in
Line 1446  PHP                                                    Line 2475  PHP                                                   
     of reported malformed sequences). (CVE-2010-3870) (Gustavo)      of reported malformed sequences). (CVE-2010-3870) (Gustavo)
   . Fixed bug #49407 (get_html_translation_table doesn't handle UTF-8).    . Fixed bug #49407 (get_html_translation_table doesn't handle UTF-8).
     (Gustavo)      (Gustavo)
  . Fixed bug #48831 (php -i has different output to php --ini). (Richard,   . Fixed bug #48831 (php -i has different output to php --ini). (Richard,
     Pierre)      Pierre)
   . Fixed bug #47643 (array_diff() takes over 3000 times longer than php 5.2.4).    . Fixed bug #47643 (array_diff() takes over 3000 times longer than php 5.2.4).
     (Felipe)      (Felipe)
  . Fixed bug #47168 (printf of floating point variable prints maximum of 40   . Fixed bug #47168 (printf of floating point variable prints maximum of 40
     decimal places). (Ilia)      decimal places). (Ilia)
   . Fixed bug #46587 (mt_rand() does not check that max is greater than min).    . Fixed bug #46587 (mt_rand() does not check that max is greater than min).
     (Ilia)      (Ilia)
   . Fixed bug #29085 (bad default include_path on Windows). (Pierre)    . Fixed bug #29085 (bad default include_path on Windows). (Pierre)
   . Fixed bug #25927 (get_html_translation_table calls the ' &#39; instead of    . Fixed bug #25927 (get_html_translation_table calls the ' &#39; instead of
     &#039;). (Gustavo)      &#039;). (Gustavo)
    
 - Zend engine:  - Zend engine:
   . Reverted fix for bug #51176 (Static calling in non-static method behaves    . Reverted fix for bug #51176 (Static calling in non-static method behaves
     like $this->). (Felipe)      like $this->). (Felipe)
  . Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED.   . Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED.
     (Kalle)      (Kalle)
   . Fixed NULL dereference in lex_scan on zend multibyte builds where the script    . Fixed NULL dereference in lex_scan on zend multibyte builds where the script
     had a flex incompatible encoding and there was no converter. (Gustavo)      had a flex incompatible encoding and there was no converter. (Gustavo)
Line 1481  PHP                                                    Line 2510  PHP                                                   
   . Fixed bug #52361 (Throwing an exception in a destructor causes invalid    . Fixed bug #52361 (Throwing an exception in a destructor causes invalid
     catching). (Dmitry)      catching). (Dmitry)
   . Fixed bug #51008 (Zend/tests/bug45877.phpt fails). (Dmitry)    . Fixed bug #51008 (Zend/tests/bug45877.phpt fails). (Dmitry)
  
 - Build issues:  - Build issues:
   . Fixed bug #52436 (Compile error if systems do not have stdint.h)    . Fixed bug #52436 (Compile error if systems do not have stdint.h)
     (Sriram Natarajan)      (Sriram Natarajan)
Line 1492  PHP                                                    Line 2521  PHP                                                   
 - Calendar extension:  - Calendar extension:
   . Fixed bug #52744 (cal_days_in_month incorrect for December 1 BCE).    . Fixed bug #52744 (cal_days_in_month incorrect for December 1 BCE).
    (gpap at internet dot gr, Adam)     (gpap at internet dot gr, Adam)
    
 - cURL extension:  - cURL extension:
   . Fixed bug #52828 (curl_setopt does not accept persistent streams).    . Fixed bug #52828 (curl_setopt does not accept persistent streams).
     (Gustavo, Ilia)      (Gustavo, Ilia)
Line 1500  PHP                                                    Line 2529  PHP                                                   
     (CURLOPT_STDERR)). (Gustavo)      (CURLOPT_STDERR)). (Gustavo)
   . Fixed bug #52202 (CURLOPT_PRIVATE gets corrupted). (Ilia)    . Fixed bug #52202 (CURLOPT_PRIVATE gets corrupted). (Ilia)
   . Fixed bug #50410 (curl extension slows down PHP on Windows). (Pierre)    . Fixed bug #50410 (curl extension slows down PHP on Windows). (Pierre)
    
 - DateTime extension:  - DateTime extension:
   . Fixed bug #53297 (gettimeofday implementation in php/win32/time.c can return    . Fixed bug #53297 (gettimeofday implementation in php/win32/time.c can return
     1 million microsecs). (ped at 7gods dot org)      1 million microsecs). (ped at 7gods dot org)
Line 1529  PHP                                                    Line 2558  PHP                                                   
   . Fixed bug #53492 (fix crash if anti-aliasing steps are invalid). (Pierre)    . Fixed bug #53492 (fix crash if anti-aliasing steps are invalid). (Pierre)
   
 - GMP extension:  - GMP extension:
  . Fixed bug #52906 (gmp_mod returns negative result when non-negative is   . Fixed bug #52906 (gmp_mod returns negative result when non-negative is
     expected). (Stas)      expected). (Stas)
   . Fixed bug #52849 (GNU MP invalid version match). (Adam)    . Fixed bug #52849 (GNU MP invalid version match). (Adam)
   
Line 1542  PHP                                                    Line 2571  PHP                                                   
     headers). (Adam)      headers). (Adam)
   . Fixed bug #52599 (iconv output handler outputs incorrect content type    . Fixed bug #52599 (iconv output handler outputs incorrect content type
     when flags are used). (Ilia)      when flags are used). (Ilia)
  . Fixed bug #51250 (iconv_mime_decode() does not ignore malformed Q-encoded   . Fixed bug #51250 (iconv_mime_decode() does not ignore malformed Q-encoded
     words). (Ilia)      words). (Ilia)
   
 - Intl extension:  - Intl extension:
Line 1552  PHP                                                    Line 2581  PHP                                                   
     (Stas)      (Stas)
   . Fixed bug #50590 (IntlDateFormatter::parse result is limited to the integer    . Fixed bug #50590 (IntlDateFormatter::parse result is limited to the integer
     range). (Stas)      range). (Stas)
    
 - Mbstring extension:  - Mbstring extension:
   . Fixed bug #53273 (mb_strcut() returns garbage with the excessive length    . Fixed bug #53273 (mb_strcut() returns garbage with the excessive length
     parameter). (CVE-2010-4156) (Mateusz Kocielski, Pierre, Moriyoshi)      parameter). (CVE-2010-4156) (Mateusz Kocielski, Pierre, Moriyoshi)
Line 1561  PHP                                                    Line 2590  PHP                                                   
     with the distribution) (Gustavo).      with the distribution) (Gustavo).
   . Fixed bug #52681 (mb_send_mail() appends an extra MIME-Version header).    . Fixed bug #52681 (mb_send_mail() appends an extra MIME-Version header).
     (Adam)      (Adam)
 
 - MSSQL extension:  - MSSQL extension:
   . Fixed possible crash in mssql_fetch_batch(). (Kalle)    . Fixed possible crash in mssql_fetch_batch(). (Kalle)
   . Fixed bug #52843 (Segfault when optional parameters are not passed in to    . Fixed bug #52843 (Segfault when optional parameters are not passed in to
     mssql_connect). (Felipe)      mssql_connect). (Felipe)
    
 - MySQL extension:  - MySQL extension:
  . Fixed bug #52636 (php_mysql_fetch_hash writes long value into int).   . Fixed bug #52636 (php_mysql_fetch_hash writes long value into int).
     (Kalle, rein at basefarm dot no)      (Kalle, rein at basefarm dot no)
    
 - MySQLi extension:  - MySQLi extension:
   . Fixed bug #52891 (Wrong data inserted with mysqli/mysqlnd when using    . Fixed bug #52891 (Wrong data inserted with mysqli/mysqlnd when using
     mysqli_stmt_bind_param and value> PHP_INT_MAX). (Andrey)      mysqli_stmt_bind_param and value> PHP_INT_MAX). (Andrey)
Line 1587  PHP                                                    Line 2616  PHP                                                   
     (Andrey)      (Andrey)
   . Fixed bug #52221 (Misbehaviour of magic_quotes_runtime (get/set)). (Andrey)    . Fixed bug #52221 (Misbehaviour of magic_quotes_runtime (get/set)). (Andrey)
   . Fixed bug #45921 (Can't initialize character set hebrew). (Andrey)    . Fixed bug #45921 (Can't initialize character set hebrew). (Andrey)
  
 - MySQLnd:  - MySQLnd:
   . Fixed bug #52613 (crash in mysqlnd after hitting memory limit). (Andrey)    . Fixed bug #52613 (crash in mysqlnd after hitting memory limit). (Andrey)
     
 - ODBC extension:  - ODBC extension:
   - Fixed bug #52512 (Broken error handling in odbc_execute).    - Fixed bug #52512 (Broken error handling in odbc_execute).
     (mkoegler at auto dot tuwien dot ac dot at)      (mkoegler at auto dot tuwien dot ac dot at)
Line 1607  PHP                                                    Line 2636  PHP                                                   
   . Fixed bug #51610 (Using oci_connect causes PHP to take a long time to    . 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      exit).  Requires Oracle 11.2.0.2 client libraries (or Oracle bug fix
     9891199) for this patch to have an effect. (Oracle Corp.)      9891199) for this patch to have an effect. (Oracle Corp.)
      
 - PCNTL extension:  - PCNTL extension:
   . Fixed bug #52784 (Race condition when handling many concurrent signals).    . Fixed bug #52784 (Race condition when handling many concurrent signals).
     (nick dot telford at gmail dot com, Arnaud)      (nick dot telford at gmail dot com, Arnaud)
    
 - PCRE extension:  - PCRE extension:
   . Fixed bug #52971 (PCRE-Meta-Characters not working with utf-8). (Felipe)    . Fixed bug #52971 (PCRE-Meta-Characters not working with utf-8). (Felipe)
   . Fixed bug #52732 (Docs say preg_match() returns FALSE on error, but it    . Fixed bug #52732 (Docs say preg_match() returns FALSE on error, but it
Line 1635  PHP                                                    Line 2664  PHP                                                   
   
 - PDO:  - PDO:
   . Fixed bug #52699 (PDO bindValue writes long int 32bit enum).    . Fixed bug #52699 (PDO bindValue writes long int 32bit enum).
    (rein at basefarm dot no)     (rein at basefarm dot no)
   . Fixed bug #52487 (PDO::FETCH_INTO leaks memory). (Felipe)    . Fixed bug #52487 (PDO::FETCH_INTO leaks memory). (Felipe)
  
 - PDO DBLib driver:  - PDO DBLib driver:
   . Fixed bug #52546 (pdo_dblib segmentation fault when iterating MONEY values).    . Fixed bug #52546 (pdo_dblib segmentation fault when iterating MONEY values).
     (Felipe)      (Felipe)
    
 - PDO Firebird driver:  - PDO Firebird driver:
   . Restored firebird support (VC9 builds only). (Pierre)    . Restored firebird support (VC9 builds only). (Pierre)
   . Fixed bug #53335 (pdo_firebird did not implement rowCount()).    . Fixed bug #53335 (pdo_firebird did not implement rowCount()).
     (preeves at ibphoenix dot com)      (preeves at ibphoenix dot com)
   . Fixed bug #53323 (pdo_firebird getAttribute() crash).    . Fixed bug #53323 (pdo_firebird getAttribute() crash).
     (preeves at ibphoenix dot com)      (preeves at ibphoenix dot com)
    
 - PDO MySQL driver:  - PDO MySQL driver:
   . Fixed bug #52745 (Binding params doesn't work when selecting a date inside a    . Fixed bug #52745 (Binding params doesn't work when selecting a date inside a
     CASE-WHEN). (Andrey)      CASE-WHEN). (Andrey)
    
 - PostgreSQL extension:  - PostgreSQL extension:
   . Fixed bug #47199 (pg_delete() fails on NULL). (ewgraf at gmail dot com)    . Fixed bug #47199 (pg_delete() fails on NULL). (ewgraf at gmail dot com)
  
 - Reflection extension:  - Reflection extension:
   . Fixed ReflectionProperty::isDefault() giving a wrong result for properties    . Fixed ReflectionProperty::isDefault() giving a wrong result for properties
     obtained with ReflectionClass::getProperties(). (Gustavo)      obtained with ReflectionClass::getProperties(). (Gustavo)
Line 1664  PHP                                                    Line 2693  PHP                                                   
     getProperty()). (Felipe)      getProperty()). (Felipe)
   . Fixed bug #52854 (ReflectionClass::newInstanceArgs does not work for classes    . Fixed bug #52854 (ReflectionClass::newInstanceArgs does not work for classes
     without constructors). (Johannes)      without constructors). (Johannes)
  
 - SOAP extension:  - SOAP extension:
   . Fixed bug #44248 (RFC2616 transgression while HTTPS request through proxy    . Fixed bug #44248 (RFC2616 transgression while HTTPS request through proxy
     with SoapClient object). (Dmitry)      with SoapClient object). (Dmitry)
    
 - SPL extension:  - SPL extension:
   . Fixed bug #53362 (Segmentation fault when extending SplFixedArray). (Felipe)    . Fixed bug #53362 (Segmentation fault when extending SplFixedArray). (Felipe)
   . Fixed bug #53279 (SplFileObject doesn't initialise default CSV escape    . Fixed bug #53279 (SplFileObject doesn't initialise default CSV escape
Line 1676  PHP                                                    Line 2705  PHP                                                   
   . Fixed bug #53144 (Segfault in SplObjectStorage::removeAll()). (Felipe)    . Fixed bug #53144 (Segfault in SplObjectStorage::removeAll()). (Felipe)
   . Fixed bug #53071 (SPLObjectStorage defeats gc_collect_cycles). (Gustavo)    . Fixed bug #53071 (SPLObjectStorage defeats gc_collect_cycles). (Gustavo)
   . Fixed bug #52573 (SplFileObject::fscanf Segmentation fault). (Felipe)    . Fixed bug #52573 (SplFileObject::fscanf Segmentation fault). (Felipe)
  . Fixed bug #51763 (SplFileInfo::getType() does not work symbolic link   . Fixed bug #51763 (SplFileInfo::getType() does not work symbolic link
     and directory). (Pierre)      and directory). (Pierre)
   . Fixed bug #50481 (Storing many SPLFixedArray in an array crashes). (Felipe)    . Fixed bug #50481 (Storing many SPLFixedArray in an array crashes). (Felipe)
   . Fixed bug #50579 (RegexIterator::REPLACE doesn't work). (Felipe)    . Fixed bug #50579 (RegexIterator::REPLACE doesn't work). (Felipe)
Line 1684  PHP                                                    Line 2713  PHP                                                   
 - SQLite3 extension:  - SQLite3 extension:
   . Fixed bug #53463 (sqlite3 columnName() segfaults on bad column_number).    . Fixed bug #53463 (sqlite3 columnName() segfaults on bad column_number).
     (Felipe)      (Felipe)
    
 - Streams:  - Streams:
   . Fixed forward stream seeking emulation in streams that don't support seeking    . Fixed forward stream seeking emulation in streams that don't support seeking
     in situations where the read operation gives back less data than requested      in situations where the read operation gives back less data than requested
Line 1703  PHP                                                    Line 2732  PHP                                                   
 - WDDX extension:  - WDDX extension:
   . Fixed bug #52468 (wddx_deserialize corrupts integer field value when left    . Fixed bug #52468 (wddx_deserialize corrupts integer field value when left
     empty). (Felipe)      empty). (Felipe)
     
 - Zlib extension:  - Zlib extension:
   . Fixed bug #52926 (zlib fopen wrapper does not use context). (Gustavo)    . Fixed bug #52926 (zlib fopen wrapper does not use context). (Gustavo)
   
Line 1711  PHP                                                    Line 2740  PHP                                                   
 - Upgraded bundled sqlite to version 3.6.23.1. (Ilia)  - Upgraded bundled sqlite to version 3.6.23.1. (Ilia)
 - Upgraded bundled PCRE to version 8.02. (Ilia)  - Upgraded bundled PCRE to version 8.02. (Ilia)
   
- Added support for JSON_NUMERIC_CHECK option in json_encode() that converts - Added support for JSON_NUMERIC_CHECK option in json_encode() that converts
   numeric strings to integers. (Ilia)    numeric strings to integers. (Ilia)
 - Added stream_set_read_buffer, allows to set the buffer for read operation.  - Added stream_set_read_buffer, allows to set the buffer for read operation.
   (Pierre)    (Pierre)
- Added stream filter support to mcrypt extension (ported from - Added stream filter support to mcrypt extension (ported from
   mcrypt_filter). (Stas)    mcrypt_filter). (Stas)
 - Added full_special_chars filter to ext/filter. (Rasmus)  - Added full_special_chars filter to ext/filter. (Rasmus)
 - Added backlog socket context option for stream_socket_server(). (Mike)  - Added backlog socket context option for stream_socket_server(). (Mike)
Line 1724  PHP                                                    Line 2753  PHP                                                   
   Made implicit use of NULL IV a warning. (Sara)    Made implicit use of NULL IV a warning. (Sara)
 - Added openssl_cipher_iv_length(). (Sara)  - Added openssl_cipher_iv_length(). (Sara)
 - Added FastCGI Process Manager (FPM) SAPI. (Tony)  - Added FastCGI Process Manager (FPM) SAPI. (Tony)
- Added recent Windows versions to php_uname and fix undefined windows - Added recent Windows versions to php_uname and fix undefined windows
   version support. (Pierre)    version support. (Pierre)
 - Added Berkeley DB 5 support to the DBA extension. (Johannes, Chris Jones)  - Added Berkeley DB 5 support to the DBA extension. (Johannes, Chris Jones)
- Added support for copy to/from array/file for pdo_pgsql extension. - Added support for copy to/from array/file for pdo_pgsql extension.
   (Denis Gasparin, Ilia)    (Denis Gasparin, Ilia)
 - Added inTransaction() method to PDO, with specialized support for Postgres.  - Added inTransaction() method to PDO, with specialized support for Postgres.
   (Ilia, Denis Gasparin)    (Ilia, Denis Gasparin)
Line 1747  PHP                                                    Line 2776  PHP                                                   
   Reported by Stefan Esser. (Andrey)    Reported by Stefan Esser. (Andrey)
 - Fixed very rare memory leak in mysqlnd, when binding thousands of columns.  - Fixed very rare memory leak in mysqlnd, when binding thousands of columns.
   (Andrey)    (Andrey)
- Fixed a crash when calling an inexistent method of a class that inherits - Fixed a crash when calling an inexistent method of a class that inherits
   PDOStatement if instantiated directly instead of doing by the PDO methods.    PDOStatement if instantiated directly instead of doing by the PDO methods.
   (Felipe)    (Felipe)
   
Line 1766  PHP                                                    Line 2795  PHP                                                   
   (Dmitry)    (Dmitry)
 - Fixed a possible memory corruption in pack(). Reported by Stefan Esser.  - Fixed a possible memory corruption in pack(). Reported by Stefan Esser.
   (Dmitry)    (Dmitry)
- Fixed a possible memory corruption in substr_replace(). Reported by Stefan    - Fixed a possible memory corruption in substr_replace(). Reported by Stefan
   Esser. (Dmitry)    Esser. (Dmitry)
- Fixed a possible memory corruption in addcslashes(). Reported by Stefan    - Fixed a possible memory corruption in addcslashes(). Reported by Stefan
   Esser. (Dmitry)    Esser. (Dmitry)
- Fixed a possible stack exhaustion inside fnmatch(). Reported by Stefan    - Fixed a possible stack exhaustion inside fnmatch(). Reported by Stefan
   Esser. (Ilia)    Esser. (Ilia)
 - Fixed a possible dechunking filter buffer overflow. Reported by Stefan Esser.  - Fixed a possible dechunking filter buffer overflow. Reported by Stefan Esser.
   (Pierre)    (Pierre)
- Fixed a possible arbitrary memory access inside sqlite extension. Reported - Fixed a possible arbitrary memory access inside sqlite extension. Reported
   by Mateusz Kocielski. (Ilia)    by Mateusz Kocielski. (Ilia)
 - Fixed string format validation inside phar extension. Reported by Stefan  - Fixed string format validation inside phar extension. Reported by Stefan
   Esser. (Ilia)    Esser. (Ilia)
Line 1797  PHP                                                    Line 2826  PHP                                                   
 - Fixed bug #52193 (converting closure to array yields empty array). (Felipe)  - Fixed bug #52193 (converting closure to array yields empty array). (Felipe)
 - Fixed bug #52183 (Reflectionfunction reports invalid number of arguments for  - Fixed bug #52183 (Reflectionfunction reports invalid number of arguments for
   function aliases). (Felipe)    function aliases). (Felipe)
- Fixed bug #52162 (custom request header variables with numbers are removed). - Fixed bug #52162 (custom request header variables with numbers are removed).
   (Sriram Natarajan)    (Sriram Natarajan)
 - Fixed bug #52160 (Invalid E_STRICT redefined constructor error). (Felipe)  - Fixed bug #52160 (Invalid E_STRICT redefined constructor error). (Felipe)
 - Fixed bug #52138 (Constants are parsed into the ini file for section names).  - Fixed bug #52138 (Constants are parsed into the ini file for section names).
Line 1809  PHP                                                    Line 2838  PHP                                                   
 - Fixed bug #52082 (character_set_client & character_set_connection reset after  - Fixed bug #52082 (character_set_client & character_set_connection reset after
   mysqli_change_user()). (Andrey)    mysqli_change_user()). (Andrey)
 - Fixed bug #52043 (GD doesn't recognize latest libJPEG versions).  - Fixed bug #52043 (GD doesn't recognize latest libJPEG versions).
  (php at group dot apple dot com, Pierre)   (php at group dot apple dot com, Pierre)
 - Fixed bug #52041 (Memory leak when writing on uninitialized variable returned  - Fixed bug #52041 (Memory leak when writing on uninitialized variable returned
   from function). (Dmitry)    from function). (Dmitry)
 - Fixed bug #52060 (Memory leak when passing a closure to method_exists()).  - Fixed bug #52060 (Memory leak when passing a closure to method_exists()).
   (Felipe)    (Felipe)
 - Fixed bug #52057 (ReflectionClass fails on Closure class). (Felipe)  - Fixed bug #52057 (ReflectionClass fails on Closure class). (Felipe)
- Fixed bug #52051 (handling of case sensitivity of old-style constructors - Fixed bug #52051 (handling of case sensitivity of old-style constructors
   changed in 5.3+). (Felipe)    changed in 5.3+). (Felipe)
- Fixed bug #52037 (Concurrent builds fail in install-programs). (seanius at - Fixed bug #52037 (Concurrent builds fail in install-programs). (seanius at
   debian dot org, Kalle)    debian dot org, Kalle)
 - Fixed bug #52019 (make lcov doesn't support TESTS variable anymore). (Patrick)  - Fixed bug #52019 (make lcov doesn't support TESTS variable anymore). (Patrick)
 - Fixed bug #52010 (open_basedir restrictions mismatch on vacuum command).  - Fixed bug #52010 (open_basedir restrictions mismatch on vacuum command).
Line 1825  PHP                                                    Line 2854  PHP                                                   
 - Fixed bug #52001 (Memory allocation problems after using variable variables).  - Fixed bug #52001 (Memory allocation problems after using variable variables).
   (Dmitry)    (Dmitry)
 - Fixed bug #51991 (spl_autoload and *nix support with namespace). (Felipe)  - Fixed bug #51991 (spl_autoload and *nix support with namespace). (Felipe)
- Fixed bug #51943 (AIX: Several files are out of ANSI spec). (Kalle, - Fixed bug #51943 (AIX: Several files are out of ANSI spec). (Kalle,
   coreystup at gmail dot com)    coreystup at gmail dot com)
 - Fixed bug #51911 (ReflectionParameter::getDefaultValue() memory leaks with  - Fixed bug #51911 (ReflectionParameter::getDefaultValue() memory leaks with
   constant array). (Felipe)    constant array). (Felipe)
Line 1890  PHP                                                    Line 2919  PHP                                                   
 - Fixed bug #51435 (Missing ifdefs / logic bug in crypt code cause compile  - Fixed bug #51435 (Missing ifdefs / logic bug in crypt code cause compile
   errors). (Felipe)    errors). (Felipe)
 - Fixed bug #51424 (crypt() function hangs after 3rd call). (Pierre, Sriram)  - Fixed bug #51424 (crypt() function hangs after 3rd call). (Pierre, Sriram)
- Fixed bug #51394 (Error line reported incorrectly if error handler throws an - Fixed bug #51394 (Error line reported incorrectly if error handler throws an
   exception). (Stas)    exception). (Stas)
 - Fixed bug #51393 (DateTime::createFromFormat() fails if format string contains  - Fixed bug #51393 (DateTime::createFromFormat() fails if format string contains
   timezone). (Adam)    timezone). (Adam)
Line 1909  PHP                                                    Line 2938  PHP                                                   
 - Fixed bug #51242 (Empty mysql.default_port does not default to 3306 anymore,  - Fixed bug #51242 (Empty mysql.default_port does not default to 3306 anymore,
   but 0). (Adam)    but 0). (Adam)
 - Fixed bug #51237 (milter SAPI crash on startup). (igmar at palsenberg dot com)  - Fixed bug #51237 (milter SAPI crash on startup). (igmar at palsenberg dot com)
- Fixed bug #51213 (pdo_mssql is trimming value of the money column). (Ilia, - Fixed bug #51213 (pdo_mssql is trimming value of the money column). (Ilia,
   alexr at oplot dot com)    alexr at oplot dot com)
- Fixed bug #51190 (ftp_put() returns false when transfer was successful).  - Fixed bug #51190 (ftp_put() returns false when transfer was successful).
   (Ilia)    (Ilia)
 - Fixed bug #51183 (ext/date/php_date.c fails to compile with Sun Studio).  - Fixed bug #51183 (ext/date/php_date.c fails to compile with Sun Studio).
   (Sriram Natarajan)    (Sriram Natarajan)
 - Fixed bug #51176 (Static calling in non-static method behaves like $this->).  - Fixed bug #51176 (Static calling in non-static method behaves like $this->).
   (Felipe)    (Felipe)
- Fixed bug #51171 (curl_setopt() doesn't output any errors or warnings when    - Fixed bug #51171 (curl_setopt() doesn't output any errors or warnings when
   an invalid option is provided). (Ilia)    an invalid option is provided). (Ilia)
 - Fixed bug #51128 (imagefill() doesn't work with large images). (Pierre)  - Fixed bug #51128 (imagefill() doesn't work with large images). (Pierre)
 - Fixed bug #51096 ('last day' and 'first day' are handled incorrectly when  - Fixed bug #51096 ('last day' and 'first day' are handled incorrectly when
Line 1937  PHP                                                    Line 2966  PHP                                                   
   if defined in WSDL). (mephius at gmail dot com)    if defined in WSDL). (mephius at gmail dot com)
 - Fixed bug #50731 (Inconsistent namespaces sent to functions registered with  - Fixed bug #50731 (Inconsistent namespaces sent to functions registered with
   spl_autoload_register). (Felipe)    spl_autoload_register). (Felipe)
- Fixed bug #50563 (removing E_WARNING from parse_url). (ralph at smashlabs dot - Fixed bug #50563 (removing E_WARNING from parse_url). (ralph at smashlabs dot
   com, Pierre)    com, Pierre)
 - Fixed bug #50578 (incorrect shebang in phar.phar). (Fedora at FamilleCollet  - Fixed bug #50578 (incorrect shebang in phar.phar). (Fedora at FamilleCollet
   dot com)    dot com)
Line 1986  PHP                                                    Line 3015  PHP                                                   
   (vincent at optilian dot com)    (vincent at optilian dot com)
 - Fixed bug #43233 (sasl support for ldap on Windows). (Pierre)  - Fixed bug #43233 (sasl support for ldap on Windows). (Pierre)
 - Fixed bug #35673 (formatOutput does not work with saveHTML). (Rob)  - Fixed bug #35673 (formatOutput does not work with saveHTML). (Rob)
- Fixed bug #33210 (getimagesize() fails to detect width/height on certain - Fixed bug #33210 (getimagesize() fails to detect width/height on certain
   JPEGs). (Ilia)    JPEGs). (Ilia)
   
 04 Mar 2010, PHP 5.3.2  04 Mar 2010, PHP 5.3.2
Line 2009  PHP                                                    Line 3038  PHP                                                   
   setting it to 0. (Rasmus)    setting it to 0. (Rasmus)
 - Changed tidyNode class to disallow manual node creation. (Pierrick)  - Changed tidyNode class to disallow manual node creation. (Pierrick)
   
- Removed automatic file descriptor unlocking happening on shutdown and/or - Removed automatic file descriptor unlocking happening on shutdown and/or
   stream close (on all OSes). (Tony, Ilia)    stream close (on all OSes). (Tony, Ilia)
   
 - Added libpng 1.4.0 support. (Pierre)  - Added libpng 1.4.0 support. (Pierre)
Line 2067  PHP                                                    Line 3096  PHP                                                   
   versions). (Derick)    versions). (Derick)
 - Fixed bug #50907 (X-PHP-Originating-Script adding two new lines in *NIX).  - Fixed bug #50907 (X-PHP-Originating-Script adding two new lines in *NIX).
   (Ilia)    (Ilia)
- Fixed bug #50859 (build fails with openssl 1.0 due to md2 deprecation).   - Fixed bug #50859 (build fails with openssl 1.0 due to md2 deprecation).
   (Ilia, hanno at hboeck dot de)    (Ilia, hanno at hboeck dot de)
 - Fixed bug #50847 (strip_tags() removes all tags greater then 1023 bytes  - Fixed bug #50847 (strip_tags() removes all tags greater then 1023 bytes
   long). (Ilia)    long). (Ilia)
Line 2102  PHP                                                    Line 3131  PHP                                                   
   and DomDocument). (Dmitry)    and DomDocument). (Dmitry)
 - Fixed bug #50508 (compile failure: Conflicting HEADER type declarations).  - Fixed bug #50508 (compile failure: Conflicting HEADER type declarations).
   (Jani)    (Jani)
- Fixed bug #50496 (Use of <stdbool.h> is valid only in a c99 compilation - Fixed bug #50496 (Use of <stdbool.h> is valid only in a c99 compilation
   environment. (Sriram)    environment. (Sriram)
 - Fixed bug #50464 (declare encoding doesn't work within an included file).  - Fixed bug #50464 (declare encoding doesn't work within an included file).
   (Felipe)    (Felipe)
Line 2124  PHP                                                    Line 3153  PHP                                                   
   (Ilia, Pierrick)    (Ilia, Pierrick)
 - Fixed bug #50285 (xmlrpc does not preserve keys in encoded indexed arrays).  - Fixed bug #50285 (xmlrpc does not preserve keys in encoded indexed arrays).
   (Felipe)    (Felipe)
- Fixed bug #50282 (xmlrpc_encode_request() changes object into array in - Fixed bug #50282 (xmlrpc_encode_request() changes object into array in
   calling function). (Felipe)    calling function). (Felipe)
 - Fixed bug #50267 (get_browser(null) does not use HTTP_USER_AGENT). (Jani)  - Fixed bug #50267 (get_browser(null) does not use HTTP_USER_AGENT). (Jani)
 - Fixed bug #50266 (conflicting types for llabs). (Jani)  - Fixed bug #50266 (conflicting types for llabs). (Jani)
Line 2144  PHP                                                    Line 3173  PHP                                                   
   (tcallawa at redhat dot com)    (tcallawa at redhat dot com)
 - Fixed bug #50207 (segmentation fault when concatenating very large strings on  - Fixed bug #50207 (segmentation fault when concatenating very large strings on
   64bit linux). (Ilia)    64bit linux). (Ilia)
- Fixed bug #50196 (stream_copy_to_stream() produces warning when source is - Fixed bug #50196 (stream_copy_to_stream() produces warning when source is
   not file). (Stas)    not file). (Stas)
 - Fixed bug #50195 (pg_copy_to() fails when table name contains schema. (Ilia)  - Fixed bug #50195 (pg_copy_to() fails when table name contains schema. (Ilia)
 - Fixed bug #50185 (ldap_get_entries() return false instead of an empty array  - Fixed bug #50185 (ldap_get_entries() return false instead of an empty array
Line 2172  PHP                                                    Line 3201  PHP                                                   
 - Fixed bug #49990 (SNMP3 warning message about security level printed twice).  - Fixed bug #49990 (SNMP3 warning message about security level printed twice).
   (Jani)    (Jani)
 - Fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted  - Fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted
  transaction). (ben dot pineau at gmail dot com, Ilia, Matteo)    transaction). (ben dot pineau at gmail dot com, Ilia, Matteo)
 - Fixed bug #49938 (Phar::isBuffering() returns inverted value). (Greg)  - Fixed bug #49938 (Phar::isBuffering() returns inverted value). (Greg)
 - Fixed bug #49936 (crash with ftp stream in php_stream_context_get_option()).  - Fixed bug #49936 (crash with ftp stream in php_stream_context_get_option()).
   (Pierrick)    (Pierrick)
Line 2180  PHP                                                    Line 3209  PHP                                                   
 - Fixed bug #49866 (Making reference on string offsets crashes PHP). (Dmitry)  - Fixed bug #49866 (Making reference on string offsets crashes PHP). (Dmitry)
 - Fixed bug #49855 (import_request_variables() always returns NULL). (Ilia,  - Fixed bug #49855 (import_request_variables() always returns NULL). (Ilia,
   sjoerd at php dot net)    sjoerd at php dot net)
- Fixed bug #49851, #50451 (http wrapper breaks on 1024 char long headers). - Fixed bug #49851, #50451 (http wrapper breaks on 1024 char long headers).
   (Ilia)    (Ilia)
 - Fixed bug #49800 (SimpleXML allow (un)serialize() calls without warning).  - Fixed bug #49800 (SimpleXML allow (un)serialize() calls without warning).
   (Ilia, wmeler at wp-sa dot pl)    (Ilia, wmeler at wp-sa dot pl)
Line 2230  PHP                                                    Line 3259  PHP                                                   
 - Upgraded bundled sqlite to version 3.6.19. (Scott)  - Upgraded bundled sqlite to version 3.6.19. (Scott)
 - Updated timezone database to version 2009.17 (2009q). (Derick)  - Updated timezone database to version 2009.17 (2009q). (Derick)
   
- Changed ini file directives [PATH=](on Win32) and [HOST=](on all) to be case - Changed ini file directives [PATH=](on Win32) and [HOST=](on all) to be case
   insensitive. (garretts)    insensitive. (garretts)
   
 - Restored shebang line check to CGI sapi (not checked by scanner anymore).  - Restored shebang line check to CGI sapi (not checked by scanner anymore).
Line 2245  PHP                                                    Line 3274  PHP                                                   
 - Added support for ACL on Windows for thread safe SAPI (Apache2 for example)  - Added support for ACL on Windows for thread safe SAPI (Apache2 for example)
   and fix its support on NTS. (Pierre)    and fix its support on NTS. (Pierre)
   
- Improved symbolic, mounted volume and junctions support for realpath on - Improved symbolic, mounted volume and junctions support for realpath on
   Windows. (Pierre)    Windows. (Pierre)
 - Improved readlink on Windows, suppress \??\ and use the drive syntax only.  - Improved readlink on Windows, suppress \??\ and use the drive syntax only.
   (Pierre)    (Pierre)
Line 2257  PHP                                                    Line 3286  PHP                                                   
   API. (Scott)    API. (Scott)
   
 - Fixed crash in com_print_typeinfo when an invalid typelib is given. (Pierre)  - Fixed crash in com_print_typeinfo when an invalid typelib is given. (Pierre)
- Fixed a safe_mode bypass in tempnam() identified by Grzegorz Stachowiak.  - Fixed a safe_mode bypass in tempnam() identified by Grzegorz Stachowiak.
   (Rasmus)    (Rasmus)
- Fixed a open_basedir bypass in posix_mkfifo() identified by Grzegorz - Fixed a open_basedir bypass in posix_mkfifo() identified by Grzegorz
   Stachowiak.  (Rasmus)    Stachowiak.  (Rasmus)
 - Fixed certificate validation inside php_openssl_apply_verification_policy  - Fixed certificate validation inside php_openssl_apply_verification_policy
   (Ryan Sleevi, Ilia)    (Ryan Sleevi, Ilia)
Line 2281  PHP                                                    Line 3310  PHP                                                   
   (Maksymilian Arciemowicz, Stas)    (Maksymilian Arciemowicz, Stas)
 - Fixed signature generation/validation for zip archives in ext/phar. (Greg)  - Fixed signature generation/validation for zip archives in ext/phar. (Greg)
 - Fixed memory leak in stream_is_local(). (Felipe, Tony)  - Fixed memory leak in stream_is_local(). (Felipe, Tony)
- Fixed BC break in mime_content_type(), removes the content encoding. (Scott) - Fixed BC break in mime_content_type(), removes the content encoding. (Scott)
   
 - Fixed PECL bug #16842 (oci_error return false when NO_DATA_FOUND is raised).  - Fixed PECL bug #16842 (oci_error return false when NO_DATA_FOUND is raised).
   (Chris Jones)    (Chris Jones)
Line 2314  PHP                                                    Line 3343  PHP                                                   
   fclose). (Ilia)    fclose). (Ilia)
 - Fixed bug #49470 (FILTER_SANITIZE_EMAIL allows disallowed characters).  - Fixed bug #49470 (FILTER_SANITIZE_EMAIL allows disallowed characters).
   (Ilia)    (Ilia)
- Fixed bug #49447 (php engine need to correctly check for socket API - Fixed bug #49447 (php engine need to correctly check for socket API
   return status on windows). (Sriram Natarajan)    return status on windows). (Sriram Natarajan)
 - Fixed bug #49391 (ldap.c utilizing deprecated ldap_modify_s). (Ilia)  - Fixed bug #49391 (ldap.c utilizing deprecated ldap_modify_s). (Ilia)
 - Fixed bug #49372 (segfault in php_curl_option_curl). (Pierre)  - Fixed bug #49372 (segfault in php_curl_option_curl). (Pierre)
Line 2349  PHP                                                    Line 3378  PHP                                                   
 - Fixed bug #49074 (private class static fields can be modified by using  - Fixed bug #49074 (private class static fields can be modified by using
   reflection). (Jani)    reflection). (Jani)
 - Fixed bug #49072 (feof never returns true for damaged file in zip). (Pierre)  - Fixed bug #49072 (feof never returns true for damaged file in zip). (Pierre)
- Fixed bug #49065 ("disable_functions" php.ini option does not work on - Fixed bug #49065 ("disable_functions" php.ini option does not work on
   Zend extensions). (Stas)    Zend extensions). (Stas)
 - Fixed bug #49064 (--enable-session=shared does not work: undefined symbol:  - Fixed bug #49064 (--enable-session=shared does not work: undefined symbol:
   php_url_scanner_reset_vars). (Jani)    php_url_scanner_reset_vars). (Jani)
Line 2372  PHP                                                    Line 3401  PHP                                                   
   in a chunk). (andreas dot streichardt at globalpark dot com, Ilia)    in a chunk). (andreas dot streichardt at globalpark dot com, Ilia)
 - Fixed bug #49012 (phar tar signature algorithm reports as Unknown (0) in  - Fixed bug #49012 (phar tar signature algorithm reports as Unknown (0) in
   getSignature() call). (Greg)    getSignature() call). (Greg)
- Fixed bug #49000 (PHP CLI in Interactive mode (php -a) crashes - Fixed bug #49000 (PHP CLI in Interactive mode (php -a) crashes
   when including files from function). (Stas)    when including files from function). (Stas)
 - Fixed bug #48994 (zlib.output_compression does not output HTTP headers when  - Fixed bug #48994 (zlib.output_compression does not output HTTP headers when
   set to a string value). (Jani)    set to a string value). (Jani)
Line 2401  PHP                                                    Line 3430  PHP                                                   
 - Fixed bug #48783 (make install will fail saying phar file exists). (Greg)  - Fixed bug #48783 (make install will fail saying phar file exists). (Greg)
 - Fixed bug #48774 (SIGSEGVs when using curl_copy_handle()).  - Fixed bug #48774 (SIGSEGVs when using curl_copy_handle()).
   (Sriram Natarajan)    (Sriram Natarajan)
- Fixed bug #48771 (rename() between volumes fails and reports no error on - Fixed bug #48771 (rename() between volumes fails and reports no error on
   Windows). (Pierre)    Windows). (Pierre)
 - Fixed bug #48768 (parse_ini_*() crash with INI_SCANNER_RAW). (Jani)  - Fixed bug #48768 (parse_ini_*() crash with INI_SCANNER_RAW). (Jani)
- Fixed bug #48763 (ZipArchive produces corrupt archive). (dani dot church at - Fixed bug #48763 (ZipArchive produces corrupt archive). (dani dot church at
   gmail dot com, Pierre)    gmail dot com, Pierre)
 - Fixed bug #48762 (IPv6 address filter still rejects valid address). (Felipe)  - Fixed bug #48762 (IPv6 address filter still rejects valid address). (Felipe)
 - Fixed bug #48757 (ReflectionFunction::invoke() parameter issues). (Kalle)  - Fixed bug #48757 (ReflectionFunction::invoke() parameter issues). (Kalle)
Line 2421  PHP                                                    Line 3450  PHP                                                   
   files that have been opened with r+). (Ilia)    files that have been opened with r+). (Ilia)
 - Fixed bug #48719 (parse_ini_*(): scanner_mode parameter is not checked for  - Fixed bug #48719 (parse_ini_*(): scanner_mode parameter is not checked for
   sanity). (Jani)    sanity). (Jani)
- Fixed bug #48718 (FILTER_VALIDATE_EMAIL does not allow numbers in domain  - Fixed bug #48718 (FILTER_VALIDATE_EMAIL does not allow numbers in domain
   components). (Ilia)    components). (Ilia)
 - Fixed bug #48681 (openssl signature verification for tar archives broken).  - Fixed bug #48681 (openssl signature verification for tar archives broken).
   (Greg)    (Greg)
Line 2444  PHP                                                    Line 3473  PHP                                                   
 - Fixed bug #48189 (ibase_execute error in return param). (Kalle)  - Fixed bug #48189 (ibase_execute error in return param). (Kalle)
 - Fixed bug #48182 (ssl handshake fails during asynchronous socket connection).  - Fixed bug #48182 (ssl handshake fails during asynchronous socket connection).
   (Sriram Natarajan)    (Sriram Natarajan)
- Fixed bug #48116 (Fixed build with Openssl 1.0). (Pierre, - Fixed bug #48116 (Fixed build with Openssl 1.0). (Pierre,
   Al dot Smith at aeschi dot ch dot eu dot org)    Al dot Smith at aeschi dot ch dot eu dot org)
 - Fixed bug #48057 (Only the date fields of the first row are fetched, others  - Fixed bug #48057 (Only the date fields of the first row are fetched, others
   are empty). (info at programmiernutte dot net)    are empty). (info at programmiernutte dot net)
Line 2469  PHP                                                    Line 3498  PHP                                                   
   com, Kalle)    com, Kalle)
 - Fixed bug #40013 (php_uname() does not return nodename on Netware (Guenter  - Fixed bug #40013 (php_uname() does not return nodename on Netware (Guenter
   Knauf)    Knauf)
- Fixed bug #38091 (Mail() does not use FQDN when sending SMTP helo). - Fixed bug #38091 (Mail() does not use FQDN when sending SMTP helo).
   (Kalle, Rick Yorgason)    (Kalle, Rick Yorgason)
 - Fixed bug #28038 (Sent incorrect RCPT TO commands to SMTP server) (Garrett)  - Fixed bug #28038 (Sent incorrect RCPT TO commands to SMTP server) (Garrett)
- Fixed bug #27051 (Impersonation with FastCGI does not exec process as - Fixed bug #27051 (Impersonation with FastCGI does not exec process as
   impersonated user). (Pierre)    impersonated user). (Pierre)
   
   
Line 2596  PHP                                                    Line 3625  PHP                                                   
     value. (Hannes)      value. (Hannes)
   
 - Improved Windows support:  - Improved Windows support:
  . Update all libraries to their latest stable version. (Pierre, Rob, Liz,   . Update all libraries to their latest stable version. (Pierre, Rob, Liz,
     Garrett).      Garrett).
   . Added Windows support for stat(), touch(), filemtime(), filesize() and    . Added Windows support for stat(), touch(), filemtime(), filesize() and
     related functions. (Pierre)      related functions. (Pierre)
   . Re-added socket_create_pair() for Windows in sockets extension. (Kalle)    . Re-added socket_create_pair() for Windows in sockets extension. (Kalle)
  . Added inet_pton() and inet_ntop() also for Windows platforms.   . Added inet_pton() and inet_ntop() also for Windows platforms.
     (Kalle, Pierre)      (Kalle, Pierre)
   . Added mcrypt_create_iv() for Windows platforms. (Pierre)    . Added mcrypt_create_iv() for Windows platforms. (Pierre)
   . Added ACL Cache support on Windows.    . Added ACL Cache support on Windows.
     (Kanwaljeet Singla, Pierre, Venkat Raman Don)      (Kanwaljeet Singla, Pierre, Venkat Raman Don)
  . Added constants based on Windows' GetVersionEx information.   . Added constants based on Windows' GetVersionEx information.
     PHP_WINDOWS_VERSION_* and PHP_WINDOWS_NT_*. (Pierre)      PHP_WINDOWS_VERSION_* and PHP_WINDOWS_NT_*. (Pierre)
   . Added support for ACL (is_writable, is_readable, reports now correct    . Added support for ACL (is_writable, is_readable, reports now correct
     results) on Windows. (Pierre, Venkat Raman Don, Kanwaljeet Singla)      results) on Windows. (Pierre, Venkat Raman Don, Kanwaljeet Singla)
Line 2794  PHP                                                    Line 3823  PHP                                                   
     DateInterval on each iteration, up to an end date or limited by maximum      DateInterval on each iteration, up to an end date or limited by maximum
     number of occurences.      number of occurences.
   
- Added compatibility mode in GD, imagerotate, image(filled)ellipse - Added compatibility mode in GD, imagerotate, image(filled)ellipse
   imagefilter, imageconvolution and imagecolormatch are now always enabled.    imagefilter, imageconvolution and imagecolormatch are now always enabled.
   (Pierre)    (Pierre)
 - Added array_replace() and array_replace_recursive() functions. (Matt)  - Added array_replace() and array_replace_recursive() functions. (Matt)
Line 2836  PHP                                                    Line 3865  PHP                                                   
 - Added support for CP850 encoding in mbstring extension.  - Added support for CP850 encoding in mbstring extension.
   (Denis Giffeler, Moriyoshi)    (Denis Giffeler, Moriyoshi)
 - Added stream_cast() and stream_set_options() to user-space stream wrappers,  - Added stream_cast() and stream_set_options() to user-space stream wrappers,
  allowing stream_select(), stream_set_blocking(), stream_set_timeout() and   allowing stream_select(), stream_set_blocking(), stream_set_timeout() and
   stream_set_write_buffer() to work with user-space stream wrappers. (Arnaud)    stream_set_write_buffer() to work with user-space stream wrappers. (Arnaud)
 - Added header_remove() function. (chsc at peytz dot dk, Arnaud)  - Added header_remove() function. (chsc at peytz dot dk, Arnaud)
 - Added stream_context_get_params() function. (Arnaud)  - Added stream_context_get_params() function. (Arnaud)
 - Added optional parameter "new" to sybase_connect(). (Timm)  - Added optional parameter "new" to sybase_connect(). (Timm)
- Added parse_ini_string() function. (grange at lemonde dot fr, Arnaud) - Added parse_ini_string() function. (grange at lemonde dot fr, Arnaud)
 - Added str_getcsv() function. (Sara)  - Added str_getcsv() function. (Sara)
 - Added openssl_random_pseudo_bytes() function. (Scott)  - Added openssl_random_pseudo_bytes() function. (Scott)
 - Added ability to send user defined HTTP headers with SOAP request.  - Added ability to send user defined HTTP headers with SOAP request.
Line 2918  PHP                                                    Line 3947  PHP                                                   
   prepending functions). (Scott)    prepending functions). (Scott)
 - Fixed bug #48215 (Calling a method with the same name as the parent class  - Fixed bug #48215 (Calling a method with the same name as the parent class
   calls the constructor). (Scott)    calls the constructor). (Scott)
- Fixed bug #48200 (compile failure with mbstring.c when - Fixed bug #48200 (compile failure with mbstring.c when
   --enable-zend-multibyte is used). (Jani)    --enable-zend-multibyte is used). (Jani)
 - Fixed bug #48188 (Cannot execute a scrollable cursors twice with PDO_PGSQL).  - Fixed bug #48188 (Cannot execute a scrollable cursors twice with PDO_PGSQL).
   (Matteo)    (Matteo)
Line 3050  PHP                                                    Line 4079  PHP                                                   
 - Fixed bug #46042 (memory leaks with reflection of mb_convert_encoding()).  - Fixed bug #46042 (memory leaks with reflection of mb_convert_encoding()).
   (Ilia)    (Ilia)
 - Fixed bug #46039 (ArrayObject iteration is slow). (Arnaud)  - Fixed bug #46039 (ArrayObject iteration is slow). (Arnaud)
- Fixed bug #46033 (Direct instantiation of SQLite3stmt and SQLite3result cause - Fixed bug #46033 (Direct instantiation of SQLite3stmt and SQLite3result cause
   a segfault.) (Scott)    a segfault.) (Scott)
 - Fixed bug #45991 (Ini files with the UTF-8 BOM are treated as invalid).  - Fixed bug #45991 (Ini files with the UTF-8 BOM are treated as invalid).
   (Scott)    (Scott)
Line 3126  PHP                                                    Line 4155  PHP                                                   
 - Added support for Sun CC (FR #46595 and FR #46513). (David Soria Parra)  - Added support for Sun CC (FR #46595 and FR #46513). (David Soria Parra)
   
 - Changed default value of array_unique()'s optional sorting type parameter  - Changed default value of array_unique()'s optional sorting type parameter
  back to SORT_STRING to fix backwards compatibility breakage introduced in   back to SORT_STRING to fix backwards compatibility breakage introduced in
   PHP 5.2.9. (Moriyoshi)    PHP 5.2.9. (Moriyoshi)
   
 - Fixed memory corruptions while reading properties of zip files. (Ilia)  - Fixed memory corruptions while reading properties of zip files. (Ilia)
Line 3159  PHP                                                    Line 4188  PHP                                                   
   files). (Pierre)    files). (Pierre)
 - Fixed bug #48359 (Script hangs on snmprealwalk if OID is not increasing).  - Fixed bug #48359 (Script hangs on snmprealwalk if OID is not increasing).
   (Ilia, simonov at gmail dot com)    (Ilia, simonov at gmail dot com)
- Fixed bug #48336 (ReflectionProperty::getDeclaringClass() does not work - Fixed bug #48336 (ReflectionProperty::getDeclaringClass() does not work
   with redeclared property).    with redeclared property).
   (patch by Markus dot Lidel at shadowconnect dot com)    (patch by Markus dot Lidel at shadowconnect dot com)
 - Fixed bug #48326 (constant MSG_DONTWAIT not defined). (Arnaud)  - Fixed bug #48326 (constant MSG_DONTWAIT not defined). (Arnaud)
Line 3204  PHP                                                    Line 4233  PHP                                                   
 - Fixed bug #47969 (ezmlm_hash() returns different values depend on OS). (Ilia)  - Fixed bug #47969 (ezmlm_hash() returns different values depend on OS). (Ilia)
 - Fixed bug #47946 (ImageConvolution overwrites background). (Ilia)  - Fixed bug #47946 (ImageConvolution overwrites background). (Ilia)
 - Fixed bug #47940 (memory leaks in imap_body). (Pierre, Jake Levitt)  - Fixed bug #47940 (memory leaks in imap_body). (Pierre, Jake Levitt)
- Fixed bug #47937 (system() calls sapi_flush() regardless of output - Fixed bug #47937 (system() calls sapi_flush() regardless of output
   buffering). (Ilia)    buffering). (Ilia)
 - Fixed bug #47903 ("@" operator does not work with string offsets). (Felipe)  - Fixed bug #47903 ("@" operator does not work with string offsets). (Felipe)
 - Fixed bug #47893 (CLI aborts on non blocking stdout). (Arnaud)  - Fixed bug #47893 (CLI aborts on non blocking stdout). (Arnaud)
Line 3278  PHP                                                    Line 4307  PHP                                                   
 - Fixed bug #45092 (header HTTP context option not being used when compiled  - Fixed bug #45092 (header HTTP context option not being used when compiled
   using --with-curlwrappers). (Jani)    using --with-curlwrappers). (Jani)
 - Fixed bug #44996 (xmlrpc_decode() ignores time zone on iso8601.datetime).  - Fixed bug #44996 (xmlrpc_decode() ignores time zone on iso8601.datetime).
  (Ilia, kawai at apache dot org)   (Ilia, kawai at apache dot org)
 - Fixed bug #44827 (define() is missing error checks for class constants).  - Fixed bug #44827 (define() is missing error checks for class constants).
   (Ilia)    (Ilia)
 - Fixed bug #44214 (Crash using preg_replace_callback() and global variables).  - Fixed bug #44214 (Crash using preg_replace_callback() and global variables).
Line 3303  PHP                                                    Line 4332  PHP                                                   
 - Added optional sorting type flag parameter to array_unique(). Default is  - Added optional sorting type flag parameter to array_unique(). Default is
   SORT_REGULAR. (Andrei)    SORT_REGULAR. (Andrei)
   
- Fixed a crash on extract in zip when files or directories entry names contain - Fixed a crash on extract in zip when files or directories entry names contain
   a relative path. (Pierre)    a relative path. (Pierre)
 - Fixed error conditions handling in stream_filter_append(). (Arnaud)  - Fixed error conditions handling in stream_filter_append(). (Arnaud)
 - Fixed zip filename property read. (Pierre)  - Fixed zip filename property read. (Pierre)
Line 3405  PHP                                                    Line 4434  PHP                                                   
 - Added logging option for error_log to send directly to SAPI. (Stas)  - Added logging option for error_log to send directly to SAPI. (Stas)
 - Added PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION,  - Added PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION,
   PHP_EXTRA_VERSION, PHP_VERSION_ID, PHP_ZTS and PHP_DEBUG constants. (Pierre)    PHP_EXTRA_VERSION, PHP_VERSION_ID, PHP_ZTS and PHP_DEBUG constants. (Pierre)
- Added "PHP_INI_SCAN_DIR" environment variable which can be used to - Added "PHP_INI_SCAN_DIR" environment variable which can be used to
   either disable or change the compile time ini scan directory (FR #45114).    either disable or change the compile time ini scan directory (FR #45114).
   (Jani)    (Jani)
   
- Fixed missing initialization of BG(page_uid) and BG(page_gid), - Fixed missing initialization of BG(page_uid) and BG(page_gid),
   reported by Maksymilian Arciemowicz. (Stas)    reported by Maksymilian Arciemowicz. (Stas)
 - Fixed memory leak inside sqlite_create_aggregate(). (Felipe)  - Fixed memory leak inside sqlite_create_aggregate(). (Felipe)
 - Fixed memory leak inside PDO sqlite's sqliteCreateAggregate() method.  - Fixed memory leak inside PDO sqlite's sqliteCreateAggregate() method.
Line 3425  PHP                                                    Line 4454  PHP                                                   
 - Fixed a bug inside dba_replace() that could cause file truncation  - Fixed a bug inside dba_replace() that could cause file truncation
   withinvalid keys. (Ilia)    withinvalid keys. (Ilia)
 - Fixed memory leak inside readline_callback_handler_install() function.(Ilia)  - Fixed memory leak inside readline_callback_handler_install() function.(Ilia)
- Fixed memory leak inside readline_completion_function() function. (Felipe) - Fixed memory leak inside readline_completion_function() function. (Felipe)
 - Fixed stream_get_contents() when using $maxlength and socket is notclosed.  - Fixed stream_get_contents() when using $maxlength and socket is notclosed.
   indeyets [at] php [dot] net on #46049. (Arnaud)    indeyets [at] php [dot] net on #46049. (Arnaud)
 - Fixed stream_get_line() to behave as documented on non-blocking streams.  - Fixed stream_get_line() to behave as documented on non-blocking streams.
Line 3554  PHP                                                    Line 4583  PHP                                                   
 - Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause  - Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause
   an error). (Felipe)    an error). (Felipe)
 - Fixed bug #45751 (Using auto_prepend_file crashes (out of scope stack address  - Fixed bug #45751 (Using auto_prepend_file crashes (out of scope stack address
  use)). (basant dot kukreja at sun dot com)   use)). (basant dot kukreja at sun dot com)
 - Fixed bug #45722 (mb_check_encoding() crashes). (Moriyoshi)  - Fixed bug #45722 (mb_check_encoding() crashes). (Moriyoshi)
 - Fixed bug #45705 (rfc822_parse_adrlist() modifies passed address parameter).  - Fixed bug #45705 (rfc822_parse_adrlist() modifies passed address parameter).
   (Jani)    (Jani)
Line 3704  PHP                                                    Line 4733  PHP                                                   
   
 01 May 2008, PHP 5.2.6  01 May 2008, PHP 5.2.6
 - Fixed two possible crashes inside posix extension (Tony)  - Fixed two possible crashes inside posix extension (Tony)
- Fixed incorrect heredoc handling when label is used within the block. - Fixed incorrect heredoc handling when label is used within the block.
   (Matt)    (Matt)
 - Fixed possible stack buffer overflow in FastCGI SAPI. (Andrei Nigmatulin)  - Fixed possible stack buffer overflow in FastCGI SAPI. (Andrei Nigmatulin)
 - Fixed sending of uninitialized paddings which may contain some information. (Andrei Nigmatulin)  - Fixed sending of uninitialized paddings which may contain some information. (Andrei Nigmatulin)

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>