Fixed an error with concatenation in example

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297100 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mark Skilbeck 2010-03-29 19:38:20 +00:00
parent 2fd3f0c96d
commit a4b3c10745

View file

@ -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);