Bug #14208: shm_put_var problem and new shm functions

From: Date: Sat, 24 Nov 2001 13:57:03 +0000
Subject: Bug #14208: shm_put_var problem and new shm functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-71529@lists.php.net to get a copy of this message
From: duncan@emarketeers.com Operating system: All PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: shm_put_var problem and new shm functions Apologies for posting this here, but I don't know where else to go. shm_put_var has a problem in that when you try to write a variable which already exists, the function will fail if there is not enough free space for the variable and its old value. I have a patch which will simply overwrite the old value if the lengths are the same, and will do more intelligent space checking if they are not. I will submit this when I get back to the office. I also have developed a set of additional shm functions which implement an LRU cache. These functions are handy for eg caching serialized objects which would otherwise have to be fetched from a database. And of course they are shared across the system. My question is: how do I submit these new functions for inclusion in the source? -- Edit bug report at: http://bugs.php.net/?id=14208&edit=1

« previous php.dev (#71529) next »