Re: session_reset() and session_abort() to send errors
| From: | Julien Pauli | Date: | Fri, 21 Mar 2014 10:40:58 +0000 |
| Subject: | Re: session_reset() and session_abort() to send errors | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-73354@lists.php.net to get a copy of this message | ||
On Fri, Mar 21, 2014 at 12:57 AM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
> 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.
>
You can go for it, I have no git connection today :-p
Thank you !
Julien