com php-src: Merge branch 'master' into master-rfc-session-lock4: UPGRADING UPGRADING.INTERNALS ext/session/session.c
| From: | Yasuo Ohgaki | Date: | Thu, 29 Jan 2015 00:55:36 +0000 |
| Subject: | com php-src: Merge branch 'master' into master-rfc-session-lock4: UPGRADING UPGRADING.INTERNALS ext/session/session.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84433@lists.php.net to get a copy of this message | ||
Commit: f90f6108c83da86c8f9df8c610ad570d33c1cf09
Author: Yasuo Ohgaki <yohgaki@php.net> Thu, 29 Jan 2015 09:55:36 +0900
Parents: e71099bc4ef382d08eb10466710e4e44f503f11c 14d68d364138689a9ecab12e1af0bc0bf1081c41
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f90f6108c83da86c8f9df8c610ad570d33c1cf09
Log:
Merge branch 'master' into master-rfc-session-lock4
Conflicts:
UPGRADING
Changed paths:
MM UPGRADING
MM UPGRADING.INTERNALS
MM ext/session/session.c
Diff:
diff --cc UPGRADING
index d13aba7,7cb958f..cb82f99
--- a/UPGRADING
+++ b/UPGRADING
@@@ -78,18 -85,10 +85,22 @@@ PHP X.Y UPGRADE NOTE
. gmp_setbit() and gmp_clrbit() now return FALSE for negative indices, making
them consistent with other GMP functions.
+- Session
+ . session_start() accepts all INI settings as array. e.g.
['cache_limiter'=>'private']
+ sets session.cache_limiter=private. It also supports 'read_and_close' which closes
+ session data immediately after read data.
+ . Save handler accepts validate_sid(), update_timestamp() which validates session
+ ID existence, updates timestamp of session data. Compatibility of old user defined
+ save handler is retained.
+ . SessionUpdateTimestampHandlerInterface is added. validateSid(), updateTimestamp()
+ is defined in the interface.
+ . session.lazy_write(default=On) INI setting enables only write session data when
+ session data is updated.
+
+ - PCRE:
+ . Removed support for /e (PREG_REPLACE_EVAL) modifier. Use
+ preg_reaplace_callback() instead.
+
- Standard:
. Removed string category support in setlocale(). Use the LC_* constants
instead.