This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./pecl-manager.php -c config-single.ini -w ./pecl-worker-classes -vvv | |
PID Type Message | |
25968 INFO Loading workers in ./pecl-worker-classes | |
25969 PROC Helper forked | |
25969 INFO Loading workers in ./pecl-worker-classes | |
25968 PROC Started with pid 25968 | |
25970 WORKER Adding server 127.0.0.1 | |
25970 WORKER Adding job Avg | |
25970 WORKER Adding job Sum | |
25968 PROC Started child 25970 (Avg,Sum) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Given two timestamps returns the Y-m-d ranges for each week within the range. | |
* | |
* @param int $start_ts Starting timestamp | |
* @param int $end_ts Ending timestamp | |
* @param bool $full_weeks If true, full weeks will be returned meaning | |
* the start and end will be adjusted to create full weeks | |
* @return array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Given two timestamps and a integer, returns the Y-m-d range, separated by days | |
* of that integer | |
* | |
* @param int $start_ts Starting timestamp | |
* @param int $end_ts Ending timestamp | |
* @return array | |
* | |
* @test |
NewerOlder