Re: session_regenerate_id(true) by default

From: Date: Thu, 24 Oct 2013 00:05:27 +0000
Subject: Re: session_regenerate_id(true) by default
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi Rowan,

On Wed, Oct 23, 2013 at 8:55 PM, Rowan Collins <[email protected]>wrote:

> So raise an E_DEPRECATED if you don't pass the parameter, and document
> that passing true will normally be the desired behaviour. Then in some
> future major version, remove the default value, making it an E_ERROR or
> whatever to omit it.


Making the parameter to required parameter works well.
I like your idea!

I have similar proposal for uniqid()'s more entropy parameter.
Raising E_DEPRECATED works well for uniqid(), also.

Regards,

--
Yasuo Ohgaki
[email protected]


Thread (20 messages)

« previous php.internals (#69821) next »