Hi,
On Wed, 2010-04-21 at 01:27 +0000, Kalle Sommer Nielsen wrote:
> Modified: php/php-src/trunk/ext/session/session.c
> ===================================================================
> --- php/php-src/trunk/ext/session/session.c 2010-04-21 01:18:19
> UTC (rev 298240)
> +++ php/php-src/trunk/ext/session/session.c 2010-04-21 01:27:22
> UTC (rev 298241)
> @@ -131,76 +131,18 @@
[...]
> IF_SESSION_VARS() {
> - if (PS(bug_compat) && !PG(register_globals)) {
> + if (PS(bug_compat)) {
> HashTable *ht =
> Z_ARRVAL_P(PS(http_session_vars));
> HashPosition pos;
> zval **val;
> @@ -564,7 +492,7 @@
> }
>
> if (do_warn && PS(bug_compat_warn)) {
I think this compat thing can be completely drop along with r_g.
Additionally: I think one might refactor the serialization logic.
Currently each variable is serialized individually. Might be nicer to
serialize($_SESSION) as one. This breaks the session files, which should
be acceptable, but gives a bit cleaner code.
johannes
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php