Re: User defined session serialize handler

From: Date: Sat, 24 Jan 2015 16:36:01 +0000
Subject: Re: User defined session serialize handler
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-81080@lists.php.net to get a copy of this message
Hi all, On Sun, Jan 25, 2015 at 1:20 AM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote: > However, once user serialize handler is implemented, overhead of user > serialize handler is calling 2 PHP functions. i.e. serialize/unserialize > functions whatever module provides. Users may compress/encrypt session data > whatever methods also. If user wants serialize/compress/encrypt, 6 PHP > functions calls are required. It would be reasonably fast. User serialize > handler provides much freedom than now I forgot about session_set_serialize_handler() call. So there is an additional PHP function call. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#81080) next »