note 101943 added to gearman.examples-reverse
| From: | cunning3 at gmail dot com | Date: | Wed, 19 Jan 2011 16:22:26 +0000 |
| Subject: | note 101943 added to gearman.examples-reverse | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-175898@lists.php.net to get a copy of this message | ||
<?php
echo "Sending status: " . $x + 1 . "/$workload_size complete\n";
?>
The above does not output the "Sending status: " as it is written, but also does not do
the math correctly. However, if you replace the dot before $x with a plus, as in the code sample
found on the Gearman::do documentation page, it will add correctly.
----
Server IP: 192.41.42.26
Probable Submitter: 129.89.116.133
----
Manual Page -- http://www.php.net/manual/en/gearman.examples-reverse.php
Edit -- https://master.php.net/note/edit/101943
Del: integrated -- https://master.php.net/note/delete/101943/integrated
Del: useless -- https://master.php.net/note/delete/101943/useless
Del: bad code -- https://master.php.net/note/delete/101943/bad+code
Del: spam -- https://master.php.net/note/delete/101943/spam
Del: non-english -- https://master.php.net/note/delete/101943/non-english
Del: in docs -- https://master.php.net/note/delete/101943/in+docs
Del: other reasons-- https://master.php.net/note/delete/101943
Reject -- https://master.php.net/note/reject/101943
Search -- https://master.php.net/manage/user-notes.php