Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: shmop_close - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

shmop_delete" width="11" height="7"/> <共有メモリ関数
Last updated: Fri, 05 Sep 2008

view this page in

shmop_close

(PHP 4 >= 4.0.4, PHP 5)

shmop_close共有メモリブロックを閉じる

説明

void shmop_close ( int $shmid )

shmop_close() は共有メモリブロックを閉じるために 使用されます。

パラメータ

shmid

shmop_open() が作成した共有メモリブロックの識別子。

返り値

値を返しません。

例1 共有メモリブロックを閉じる

<?php
shmop_close
($shm_id);
?>

この例は、$shm_id を ID とする共有メモリブロックを閉じます。

参考



add a note add a note User Contributed Notes
shmop_close
slavapl at mailandnews dot com
03-May-2001 04:31
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).

 
show source | credits | sitemap | contact | advertising | mirror sites