// while the requests are being executed
print "Executing requests";
for ($i = 0; $this->socketPerform(); $i++) {
- $i % 3 or print ".";
+ $i % 10 or print ".";
if (!$this->socketSelect()) {
throw new HttpException("Socket error!");
}
try {
foreach (new Pool as $r) {
- print "Checking ", $r->getUrl(), " reported ", $r->getResponseCode(), "\n";
+ echo "Checking ", $r->getUrl(), " reported ", $r->getResponseCode(), "\n";
}
} catch (HttpException $ex) {
print $e;