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

search for in the

shmop_delete> <Funciones de memoria compartida
[edit] Last updated: Fri, 07 Jun 2013

view this page in

shmop_close

(PHP 4 >= 4.0.4, PHP 5)

shmop_closeCerrar un segmento de memoria compartida

Descripción

void shmop_close ( int $shmid )

shmop_close() se utiliza para cerrar un segmento de memoria compartida.

Parámetros

shmid

El identificador del segmento de memoria compartida creado por shmop_open()

Valores devueltos

No devuelve ningún valor.

Ejemplos

Ejemplo #1 Cerrando segmento de memoria compartida

<?php
shmop_close
($shm_id);
?>

Este ejemplo cierra un segmento de memoria compartida identificado por $shm_id.

Ver también

  • shmop_open() - Crea o abre un segmento de memoria compartida



add a note add a note User Contributed Notes shmop_close - [1 notes]
up
0
slavapl at mailandnews dot com
12 years ago
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 | stats | sitemap | contact | advertising | mirror sites