Posted by Rasmus Lerdorf on 01/06/05 20:52
William Lovaton wrote:
> El jue, 06-01-2005 a las 08:23 -0800, Rasmus Lerdorf escribió:
>>On Thu, 6 Jan 2005, William Lovaton wrote:
>>>This is great. In my high performance web app I created a PHP library
>>>that abstracted this to use several backends. For instance I have a
>>>File backend and a SHM backend that uses the functions provided by the
>>>sysvshm PHP module. With this functions, do they need to
>>>serialize/unserialize every time I put/get something in/from the cache??
>>If you are doing this in user-space PHP, then yes, you will have to
>>From my PHP library I use shm_put_var() and shm_get_var(). If
> serialization is done this way then it is implicit... right?
Yes, these functions serialize/unserialize behing the scenes.
[Back to original message]