Re: Strict session?
| From: | Yasuo Ohgaki | Date: | Sun, 04 Dec 2011 08:43:11 +0000 |
| Subject: | Re: Strict session? | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56747@lists.php.net to get a copy of this message | ||
2011/12/4 Yasuo Ohgaki <yohgaki@ohgaki.net>:
> Hi Stats,
>
> 2011/12/4 Stas Malyshev <smalyshev@sugarcrm.com>:
>>> If we care about binary API compatibility, how about make
>>>
>>> PS_MOD_SID2/PS_MOD_FUNCS_SID2
>>>
>>> macros? Then we can forget about ABI.
>>
>>
>> I'm sorry, I don't understand how any macros would help anything. Adding
>> stuff to the structure would break binary compatibility, how the macros
>> would help it?
>
> Since it is just adding new separate structure to session module, but
> PHP itself checks API version number. So users cannot use the same
> binary module anyway. I should have said API, not ABI.
>
> Now it should compile with msession which uses PHP_MOD_SID/PS_MOD_FUNCS_SID.
>
Oops, I was thinking to add new structure, but I forget to do.
Anyway, if we care about ABI, we should add new structure or should
have other solutions.
--
Yasuo Ohgaki