On 12/08/16 10:22, Yasuo Ohgaki wrote:
> Hi Lester,
> 
> On Fri, Aug 12, 2016 at 6:12 PM, Lester Caine <les...@lsces.co.uk> wrote:
>> On 12/08/16 09:23, Yasuo Ohgaki wrote:
>>> I don't think it's framework job to do.
>>
>> This was a little 'tongue in cheek' ... my main thought was simply that
>> you need a variable 'session_id' and other processes may benefit from a
>> similarly constrained variable, so an intelligent variable could be
>> envisaged that has the code for creating that value. In any case if the
>> session code creates the variable, you want to ensure that nothing else
>> modifies it, so $session_id variable should be read_only and blocked
>> from accidentally escaping it, so even though it is generated within the
>> session code it's result needs to follow some rules.
> 
> I see. I think it's good to have intelligent scalar if costs/overheads
> are little.
> 
> Anyway, thank you for the comment. There may be people that thinks
> session_create_id() should be a part of framework or user code.

We are probably on the same sheet. I'd prefer to restore the ADOdb
extension that handled time sensitive code in C but that has not kept
pace with all the other changes to extensions. Everything can be done in
user space but just what would benefit from optimising in C.

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to