SimpleSHM is a simple and small abstraction layer for shared memory manipulation using PHP. It makes use of the SHMOP functions, built into most PHP packages.
BSD 3-Clause "New" or "Revised" License
136
stars
46
forks
source link
Use consistent IPC key instead of random integer as id #6
Currently the data stored into shared memory is not accessible between requests unless you specify the id manually. This PR addresses the issue by using consistent IPC key generated with ftok() function.
Currently the data stored into shared memory is not accessible between requests unless you specify the
id
manually. This PR addresses the issue by using consistent IPC key generated with ftok() function.Also fixes bug #3.