note 102644 modified in function.shmop-open by danbrown
[email protected] Fri, 25 Feb 2011 16:56:12 -0800
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
On win xp 32bit php 5.2.6 recreation of shared memory block with the same id but bigger size fails. <?php $shm_key = 0xff3; $shm_id = shmop_open($shm_key, "c", 0666, 128); shmop_delete($shm_id); shmop_close($shm_id); $shm_id = shmop_open($shm_key, "c", 0666, 32); shmop_delete($shm_id); shmop_close($shm_id); $shm_id = shmop_open($shm_key, "c", 0666, 1024); // on win32 fails there shmop_delete($shm_id); shmop_close($shm_id); ?> --was-- On win xp 32bit php 5.2.6 recreation of shared memory block with the same id but bigger size fails. <? $shm_key = 0xff3; $shm_id = shmop_open($shm_key, "c", 0666, 128); shmop_delete($shm_id); shmop_close($shm_id); $shm_id = shmop_open($shm_key, "c", 0666, 32); shmop_delete($shm_id); shmop_close($shm_id); $shm_id = shmop_open($shm_key, "c", 0666, 1024); // on win32 fails there shmop_delete($shm_id); shmop_close($shm_id); ?> http://php.net/manual/en/function.shmop-open.php