PHP-Daemon
PHP-Daemon copied to clipboard
Core_Daemon->getOpt should load console arguments from argv
Using native getopt method from php it doesn`t let you alter the arguments list in order to get the corresponding arguments correctly.
For example, you may access the daemon from a framework, so "php bootstrap.php <daemonName> -d" won`t daemonize the process.