Code - semaphoreCheck php

CodeIcon
Gets a semaphore and attempts to acquire to prevent code from running more than one time.

- Aborts if the semaphore cannot be retrieved.
- Aborts if the semaphore in use.
- The key must be an integer.

On Github: https://github.com/campsoftware/semaphoreCheck-php

Code - semaphoreCheck php