note 101943 rejected from gearman.examples-reverse by thiago

From: Date: Wed, 19 Jan 2011 16:42:10 +0000
Subject: note 101943 rejected from gearman.examples-reverse by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-175900@lists.php.net to get a copy of this message
Note Submitter: cunning3 at gmail dot com ---- <?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.

« previous php.notes (#175900) next »