PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-?? ??? 2012, PHP 5.4.12
+?? ??? 201?, PHP 5.5.0 Alpha 3
- Core:
- . 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)
- . 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_sqlite:
- . Fixed bug #63916 (PDO::PARAM_INT casts to 32bit int internally even
- on 64bit builds in pdo_sqlite). (srgoogleguy, Lars)
- . 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)
+ . Fixed bug #63980 (object members get trimmed by zero bytes). (Laruence)
-?? ??? 2012, 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)
+- General improvements:
+ . Fixed bug #63874 (Segfault if php_strip_whitespace has heredoc). (Pierrick)
+ . Fixed bug #63822 (Crash when using closures with ArrayAccess).
+ (Nikita Popov)
+ . Add Generator::throw() method. (Nikita Popov)
+ . Bug #23955: allow specifying Max-Age attribute in setcookie() (narfbg, Lars)
+ . Bug #52126: timestamp for mail.log (Martin Jansen, Lars)
-- 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)
+- mysqlnd
+ . Fixed return value of mysqli_stmt_affected_rows() in the time after
+ prepare() and before execute(). (Andrey)
-20 Dec 2012, PHP 5.4.10
+- cURL:
+ . Added new functions curl_escape, curl_multi_setopt, curl_multi_strerror
+ curl_pause, curl_reset, curl_share_close, curl_share_init,
+ curl_share_setopt curl_strerror and curl_unescape. (Pierrick)
+ . Addes new curl options CURLOPT_TELNETOPTIONS, CURLOPT_GSSAPI_DELEGATION,
+ CURLOPT_ACCEPTTIMEOUT_MS, CURLOPT_SSL_OPTIONS, CURLOPT_TCP_KEEPALIVE,
+ CURLOPT_TCP_KEEPIDLE and CURLOPT_TCP_KEEPINTVL. (Pierrick)
-- 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)
+- DateTime
+ . Added DateTimeImmutable - a variant of DateTime that only returns the
+ modified state instead of changing itself. (Derick)
-- Date:
- . Fixed bug #63666 (Poor date() performance). (Paul Taulborg).
- . Fixed bug #63435 (Datetime::format('u') sometimes wrong by 1 microsecond).
- (Remi)
++- FPM:
++ . Fixed bug #63999 (php with fpm fails to build on Solaris 10 or 11). (Adam)
+
-- Imap:
- . Fixed bug #63126 (DISABLE_AUTHENTICATOR ignores array). (Remi)
+- pgsql:
+ . Bug #46408: Locale number format settings can cause pg_query_params to
+ break with numerics. (asmecher, Lars)
-- Json:
- . Fixed bug #63588 (use php_next_utf8_char and remove duplicate
- implementation). (Remi)
+- dba:
+ . Bug #62489: dba_insert not working as expected.
+ (marc-bennewitz at arcor dot de, Lars)
-- MySQLi:
- . Fixed bug #63361 (missing header). (Remi)
+18 Dec 2012, PHP 5.5.0 Alpha 2
-- MySQLnd:
- . Fixed bug #63398 (Segfault when polling closed link). (Laruence)
+- General improvements:
+ . Added systemtap support by enabling systemtap compatible dtrace probes on
+ linux. (David Soria Parra)
+ . Added support for using empty() on the result of function calls and
+ other expressions (https://wiki.php.net/rfc/empty_isset_exprs).
+ (Nikita Popov)
+ . Optimized access to temporary and compiled VM variables. 8% less memory
+ reads. (Dmitry)
+ . The VM stacks for passing function arguments and syntaticaly nested calls
+ were merged into a single stack. The stack size needed for op_array
+ execution is calculated at compile time and preallocated at once. As result
+ all the stack push operatins don't require checks for stack overflow
+ any more. (Dmitry)
+
+- MySQL
+ . This extension is now deprecated, and deprecation warnings will be generated
+ when connections are established to databases via mysql_connect(),
+ mysql_pconnect(), or through implicit connection: use MySQLi or PDO_MySQL
+ instead (https://wiki.php.net/rfc/mysql_deprecation). (Adam)
- Fileinfo:
. Fixed bug #63590 (Different results in TS and NTS under Windows).