diff --git a/reference/sem/functions/sem-get.xml b/reference/sem/functions/sem-get.xml index 01d99641a2a0..861251adc9c7 100644 --- a/reference/sem/functions/sem-get.xml +++ b/reference/sem/functions/sem-get.xml @@ -120,6 +120,15 @@ otherwise PHP will be unable to access the semaphore. + + + If auto_release is enabled, the acquisitions held by a + SysvSemaphore object are also released as soon as the + object is freed, for example when the variable holding it is unset, + overwritten or goes out of scope, not only on request shutdown. Keep a + reference to the object for as long as the semaphore needs to stay acquired. + +