Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50126 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47696 invoked from network); 8 Nov 2010 13:28:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Nov 2010 13:28:14 -0000 Authentication-Results: pb1.pair.com header.from=verbitsky_alexandr@mail.by; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=verbitsky_alexandr@mail.by; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain mail.by designates 193.232.92.17 as permitted sender) X-PHP-List-Original-Sender: verbitsky_alexandr@mail.by X-Host-Fingerprint: 193.232.92.17 post.open.by Received: from [193.232.92.17] ([193.232.92.17:56345] helo=post.open.by) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FC/E1-29528-9EAF7DC4 for ; Mon, 08 Nov 2010 08:28:10 -0500 Received: from [192.168.121.75] (account verbitsky_alexandr@mail.by HELO [192.168.121.75]) by post.open.by (CommuniGate Pro SMTP 4.3.12) with ESMTPA id 96757726 for internals@lists.php.net; Mon, 08 Nov 2010 15:28:02 +0200 Message-ID: <4CD7FC0F.7010304@mail.by> Date: Mon, 08 Nov 2010 15:33:03 +0200 User-Agent: Thunderbird 2.0.0.22 (X11/20090605) MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Bug #52477 From: verbitsky_alexandr@mail.by (Alexandr Verbitsky) Hi all. I am investigate in the reason Bug #52477 (http://bugs.php.net/52477) and found that it appear because in PHP 5.2.14 there are two constant PS_DELIMITER and PS_UNDEF_MARKER. The value it's constants not allow to use in the root key of SESSION elements. Also in the version 5.2.0 was Bug #40274 (http://bugs.php.net/40274). For its decision the code has been added in PS_ENCODE_LOOP to pass elements with numerical keys. I not understand for what is necessary special algorithm for serialize roots elements. Why dont using php_get_session_var and php_var_unserialize functions for PS(http_session_vars) directly? Where i can read about it in manual?