This is Asinius library module allows PHP applications to properly daemonize themselves. Yes, be horrified, that is a proper natural reaction.
The code here was imported from an older personal library but appears to be fairly complete.
It needs documentation, like most of Asinius.
All of the Asinius project and its related modules are being released under the MIT License. See LICENSE.