shmop_close doesn't delete the memory segment, it just detaches from it.
If you have created the block and need to delete it you must call shmop_delete **BEFORE** calling shmop_close (for reasons outlined in shmop_delete help page notes).
shmop_close
(PHP 4 >= 4.0.4, PHP 5)
shmop_close — 共有メモリブロックを閉じる
説明
void shmop_close
( int $shmid
)
shmop_close() は共有メモリブロックを閉じるために 使用されます。
返り値
値を返しません。
例
例1 共有メモリブロックを閉じる
<?php
shmop_close($shm_id);
?>
この例は、$shm_id を ID とする共有メモリブロックを閉じます。
shmop_close
slavapl at mailandnews dot com
03-May-2001 04:31
03-May-2001 04:31