$sem->release(inc, [$var])
sem
inc
var
Releases a semaphore and increments the count by the amount specified in inc. The last count (before the increment) is returned in the $var variable, if provided.