array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.shmop-delete.php', 1 => 'shmop_delete', ), 'up' => array ( 0 => 'ref.shmop.php', 1 => 'Shared Memory 函数', ), 'prev' => array ( 0 => 'function.shmop-close.php', 1 => 'shmop_close', ), 'next' => array ( 0 => 'function.shmop-open.php', 1 => 'shmop_open', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/shmop/functions/shmop-delete.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8)
shmop_delete — Delete shared memory block
示例 #1 Deleting shared memory block
<?php
shmop_delete($shm_id);
?>
This example will delete shared memory block identified by
$shm_id
.