mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
fixed operator precedence issue in example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297134 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
1f7a574b80
commit
29a9a52e95
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ function reverse_fn($job)
|
|||
# This status loop is not needed, just showing how it works
|
||||
for ($x= 0; $x < $workload_size; $x++)
|
||||
{
|
||||
echo "Sending status: " . $x + 1 . "/$workload_size complete\n";
|
||||
echo "Sending status: " . ($x + 1) . "/$workload_size complete\n";
|
||||
$job->sendStatus($x+1, $workload_size);
|
||||
$job->sendData(substr($workload, $x, 1));
|
||||
sleep(1);
|
||||
|
|
Loading…
Reference in a new issue