Re: session_reset() and session_abort() to send errors

From: Date: Thu, 20 Mar 2014 23:57:59 +0000
Subject: Re: session_reset() and session_abort() to send errors
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-73350@lists.php.net to get a copy of this message
Hi Julien, On Fri, Mar 21, 2014 at 1:01 AM, Julien Pauli <jpauli@php.net> wrote: > I was just reviewing the new code and functions in 5.6 for session module. > > I noticed that session_reset() and session_abort() came in. > > I would suggest those functions to throw errors when the session is not > initialized. > > This is already done for all other session related functions > (session_reset_id(), session_regenerate_id(), session_destroy()). > > Thoughts ? > I agree and they should. I'll take care of them or anyone else? It will be few days later. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#73350) next »