array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.sem-remove.php', 1 => 'sem_remove', ), 'up' => array ( 0 => 'ref.sem.php', 1 => 'Semaphore 函数', ), 'prev' => array ( 0 => 'function.sem-release.php', 1 => 'sem_release', ), 'next' => array ( 0 => 'function.shm-attach.php', 1 => 'shm_attach', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/sem/functions/sem-remove.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)
sem_remove — Remove a semaphore
sem_remove() removes the given semaphore.
After removing the semaphore, it is no longer accessible.
版本 | 说明 |
---|---|
8.0.0 |
semaphore expects a SysvSemaphore
instance now; previously, a resource was expected.
|