shmop_close
(PHP 4 >= 4.0.4)
shmop_close -- Close shared memory block
Description
int shmop_close ( int shmid)
shmop_close() is used to close a shared memory block.
shmop_close() takes the shmid, which is the shared memory
block identifier created by shmop_open().
Example 1. Closing shared memory block
<?php
shmop_close($shm_id);
?>
This example will close shared memory block identified by
$shm_id.
shmop_delete
(PHP 4 >= 4.0.4)
shmop_delete -- Delete shared memory block
Description
int shmop_delete ( int shmid)
shmop_delete() is used to delete a shared memory block.
shmop_delete() takes the shmid, which is the shared memory
block identifier created by shmop_open(). On success 1 is
returned, on failure 0 is returned.
Example 1. Deleting shared memory block
<?php
shmop_delete($shm_id);
?>
This example will delete shared memory block identified
by $shm_id.
|