5.2.1RC1 out!
だそうで(1・2・3)。
5.2.0から5.2.1RC1までの修正状況は以下の通り。エントリが100近いってのも凄いね。
中には「Zend Memory Manager Improvements」等もあるので重要な修正も含まれています。
--- NEWS 2006/10/30 23:07:28 1.2027.2.547.2.316 +++ NEWS 2006/12/15 01:21:36 1.2027.2.547.2.430 @@ -1,5 +1,193 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +14 Dec 2006, PHP 5.2.1RC1 +- Added a meta tag to phpinfo() output to prevent search engines from indexing + the page. (Ilia) +- Added new function, sys_get_temp_dir(). (Hartmut) +- Added missing object support to file_put_contents(). (Ilia) +- Changed double-to-string utilities to use BSD implementation. (Dmitry, Tony) +- Updated bundled libcURL to version 7.16.0 in the Windows distro. (Edin) +- Updated timezone database to version 2006.16. (Derick) +- cgi.* and fastcgi.* directives are moved to INI subsystem. + The new directive cgi.check_shebang_line can be used to ommiting checnk + for "#! /usr/bin/php" line. (Dmitry). +- Windows related optimizations (Dmitry, Stas) + . COM initialization/deinitialization are done only if necessary + . removed unnecessary checks for ISREG file and corresponding stat() calls + . opendir() is reimplemented using GetFistFile/GetNextFile those are faster + then _findfirst/_findnext + . implemented registry cache that prevent registry lookup on each request. + In case of modification of corresponding registry-tree PHP will reload + it automatic + . start timeout thread only if necessary + . stat() is reimplemented using using GetFileAttributesEx(). + The new implementation is faster then implementation in MS VC CRT, but + it doesn't support Windows 95. +- Streams optimization (Dmitry) + . removed unnecessary ftell() calls (one call for each included PHP file) + . disabled calls to read() after EOF +- Optimized array functions utilizing php_splice(). (Ilia) +- VCWD_REALPATH() is improved to use realpath cache without VIRTUAL_DIR. + (Dmitry) +- ext/bcmath intialization code is moved from request startup to module + startup. (Dmitry) +- Zend Memory Manager Improvements (Dmitry) + . use HeapAlloc() instead of VirtualAlloc() + . use "win32" storage manager (instead of "malloc") on Windows by default +- Zip Extension Improvements (Pierre) + . Fixed leak in statName and stateIndex + . Fixed return setComment (Hannes) + . Added addEmptyDir method +- Filter Extension Improvements (Ilia, Pierre) + . Fixed a bug when callback function returns a non-modified value. + . Added filter support for $_SERVER in cgi/apache2 sapis. + . Make sure PHP_SELF is filtered in Apache 1 sapi. + . Fixed bug #39358 (INSTALL_HEADERS contains incorrect reference to + php_filter.h). + . Added "default" option that allows a default value to be set for + an invalid or missing value. + . Invalid filters fails instead of returning unsafe value +- Fixed FastCGI impersonation for persistent connections on Windows. (Dmitry) +- Fixed wrong signature initialization in imagepng (Takeshi Abe) +- Added optimization for imageline with horizontal and vertial lines (Pierre) +- Fixed bug #39816 (apxs2filter ignores httpd.conf & .htaccess php config + settings). (Ilia) +- Fixed bug #39797 (virtual() does not reset changed INI settings). (Ilia) +- Fixed bug #39795 (build fails on AIX because crypt_r() uses different data + struct). (Tony) +- Fixed bug #39791 (Crash in strtotime() on overly long relative date + multipliers). (Ilia) +- Fixed bug #39787 (PHP doesn't work with Apache 2.3). (mv at binarysec dot + com). +- Fixed bug #39782 (setTime() on a DateTime constructed with a Weekday + yields incorrect results). (Ilia) +- Fixed bug #39780 (PNG image with CRC/data error raises fatal error) (Pierre) +- Fixed bug #39775 ("Indirect modification ..." message is not shown). (Dmitry) +- Fixed bug #39763 (magic quotes are applied twice by ext/filter in + parse_str()). (Ilia) +- Fixed bug #39759 (Can't use stored procedures fetching multiple result + sets in pdo_mysql). (Ilia) +- Fixed bug #39754 (Some POSIX extension functions not thread safe). + (Ilia, wharmby at uk dot ibm dot com) +- Fixed bug #39751 (putenv crash on Windows). (KevinJohnHoffman at gmail.com) +- Fixed bug #39732 (oci_bind_array_by_name doesn't work on Solaris 64bit). + (Tony) +- Fixed bug #39724 (Broken build due to spl/filter usage of pcre extension). + (Tony, Ilia) +- Fixed bug #39718 (possible crash if assert.callback is set in ini). (Ilia) +- Fixed bug #39702 (php crashes in the allocator on linux-m68k). (Dmitry) +- Fixed bug #39673 (file_get_contents causes bus error on certain offsets). + (Tony) +- Fixed bug #39663 (Memory leak in pg_get_notify() and a possible memory + corruption on Windows in pgsql and pdo_pgsql extensions). (Ilia, matteo at + beccati dot com) +- Fixed bug #39662 (Segfault when calling asXML() of a cloned SimpleXMLElement). + (Rob, Tony) +- Fixed bug #39656 (crash when calling fetch() on a PDO statment object + after closeCursor()). (Ilia, Tony) +- Fixed bug #39653 (ext/dba doesn't check for db-4.5 and db-4.4 when db4 + support is enabled). (Tony) +- Fixed bug #39652 (Wrong negative results from memory_get_usage()). (Dmitry) +- Fixed bug #39648 (Implementation of PHP functions chown() and chgrp() are not + thread safe). (Ilia, wharmby at uk dot ibm dot com) +- Fixed bug #39640 (Segfault with "Allowed memory size exhausted"). (Dmitry) +- Fixed bug #39625 (Apache crashes on importStylesheet call). (Rob) +- Fixed bug #39623 (thread safety fixes on *nix for putenv() & mime_magic). + (Ilia, wharmby at uk dot ibm dot com) +- Fixed bug #39621 (str_replace() is not binary safe on strings with equal + length). (Tony) +- Fixed bug #39613 (Possible segfault in imap initialization due to missing + module dependency). (wharmby at uk dot ibm dot com, Tony) +- Fixed bug #39606 (Use of com.typelib_file in PHP.ini STILL causes A/V). (Rob) +- Fixed bug #39602 (Invalid session.save_handler crashes PHP). (Dmitry) +- Fixed bug #39583 (ftp_put() does not change transfer mode to ASCII). (Tony) +- Fixed bug #39576 (array_walk() doesn't separate userdata zval). (Tony) +- Fixed bug #39571 (timeout ssl:// connections). (Ilia) +- Fixed bug #39564 (PDO::errorInfo() returns inconsistent information when + sqlite3_step() fails). (Tony) +- Fixed bug #39548 (ZMSG_LOG_SCRIPT_NAME not routed to OutputDebugString() + on Windows). (Dmitry) +- Fixed bug #39538 (fgetcsv can't handle starting newlines and trailing odd + number of backslashes). (David Soria Parra, Pierre) +- Fixed bug #39534 (Error in maths to calculate of + ZEND_MM_ALIGNED_MIN_HEADER_SIZE). (wharmby at uk dot ibm dot com, Dmitry) +- Fixed bug #39527 (Failure to retrieve results when multiple unbuffered, + prepared statements are used in pdo_mysql). (Ilia) +- Fixed bug #39508 (imagefill crashes with small images 3 pixels or less) + (Pierre) +- Fixed bug #39483 (Problem with handling of \ char in prepared statements). + (Ilia, suhachov at gmail dot com) +- Fixed bug #39458 (ftp_nlist() returns false on empty dirs). (Nuno) +- Fixed bug #39454 (Returning a SOAP array segfaults PHP). (Dmitry) +- Fixed bug #39445 (Calling debug_backtrace() in the __toString() function + produces a crash). (Dmitry) +- Fixed bug #39438 (Fatal error: Out of memory). (Dmitry) +- Fixed bug #39414 (Syntax error while compiling with Sun Workshop Complier). + (Johannes) +- Fixed bug #39398 (Booleans are not automatically translated to integers). + (Ilia) +- Fixed bug #39366 (imagerotate does not use alpha with angle > 45A^°) (Pierre) +- Fixed bug #39364 (Removed warning on empty haystack inside mb_strstr()). + (Ilia) +- Fixed bug #39362 (Added an option to imap_open/imap_reopen to control the + number of connection retries). (Ilia) +- Fixed bug #39354 (Allow building of curl extension against libcurl 7.16.0) + (Ilia) +- Fixed bug #39350 (crash with implode("\n", array(false))). (Ilia) +- Fixed bug #39344 (Unnecessary calls to OnModify callback routine for + an extension INI directive). (wharmby at uk dot ibm dot com, Dmitry) +- Fixed bug #39320 (ZEND_HASH_APPLY_STOP causes deletion). (Marcus) +- Fixed bug #39313 (spl_autoload triggers Fatal error). (Marcus) +- Fixed bug #39300 (make install fails if wget is not available). (Tony) +- Fixed bug #39297 (Memory corruption because of indirect modification + of overloaded array). (Dmitry) +- Fixed bug #39286 (misleading error message when invalid dimensions are + given) (Pierre) +- Fixed bug #39265 (Fixed path handling inside mod_files.sh). + (michal dot taborsky at gmail dot com, Ilia) +- Fixed bug #39273 (imagecopyresized may ignore alpha channel) (Pierre) +- Fixed bug #39217 (serialNumber might be -1 when the value is too large) + (Pierre, Tony) +- Fixed bug #39215 (Inappropriate close of stdin/stdout/stderr). (Wez,Ilia) +- Fixed bug #39201 (Possible crash in Apache 2 with 413 ErrorHandler). + (Ilia) +- Fixed bug #39151 (Parse error in recursiveiteratoriterator.php). (Marcus) +- Fixed bug #39121 (Incorrect return array handling in non-wsdl soap client). + (Dmitry) +- Fixed bug #39090 (DirectoryFilterDots doxygen docs and example is wrong). + (Marcus) +- Fixed bug #38770 (unpack() broken with longs on 64 bit machines). (Ilia, + David Soria Parra). +- Fixed bug #38698 (for some keys cdbmake creates corrupted db and cdb can't + read valid db). (Marcus) +- Fixed bug #38680 (Added missing handling of basic types in json_decode). + (Ilia) +- Fixed bug #38602 (header( "HTTP/1.0 ..." ) does not change proto version). + (Ilia) +- Fixed bug #38536 (SOAP returns an array of values instead of an object). + (Dmitry) +- Fixed bug #38456 (Apache2 segfaults when virtual() is called in .php + ErrorDocument). (Ilia) +- Fixed bug #38319 (Remove bogus warnings from persistent PDO connections). + (Ilia) +- Fixed bug #38274 (Memlimit fatal error sent to "wrong" stderr when using + fastcgi). (Dmitry) +- Fixed bug #38252 (Incorrect PDO error message on invalid default fetch + mode). (Ilia) +- Fixed bug #37773 (iconv_substr() gives "Unknown error" when string length = 1"). + (Ilia) +- Fixed bug #37627 (session save_path check checks the parent directory). + (Ilia) +- Fixed bug #36975 (natcasesort() causes array_pop() to misbehave). (Hannes) +- Fixed bug #36812 (pg_execute() modifies input array). (Ilia) +- Fixed bug #36798 (Error parsing named parameters with queries containing + high-ascii chars). (Ilia) +- Fixed bug #36644 (possible crash in variant_date_from_timestamp()). (Ilia) +- Fixed bug #33282 (Re-assignment by reference does not clear the is_ref flag) + (Ilia,Dmitry, Matt Wilmas) +- Fixed bug #29840 (is_executable() does not honor safe_mode_exec_dir + setting). (Ilia) + 02 Nov 2006, PHP 5.2.0 - Updated bundled OpenSSL to version 0.9.8d in the Windows distro. (Edin) - Updated Postgresql client libraries to 8.1.4 in the Windows distro. (Edin) @@ -167,6 +355,7 @@ being applied when RAW filter is used. (Ilia) - Fixed memory leaks in openssl streams context options. (Pierre) - Fixed handling of extremely long paths inside tempnam() function. (Ilia) +- Fixed bug #39721 (Runtime inheritance causes data corruption). (Dmitry) - Fixed bug #39304 (Segmentation fault with list unpacking of string offset). (Dmitry) - Fixed bug #39192 (Not including nsapi.h properly with SJSWS 7). This will