svn: /phpdoc/en/trunk/reference/gmp/ examples.xml
| From: | Peter Cowburn | Date: | Tue, 07 May 2013 07:14:49 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/gmp/ examples.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-11230@lists.php.net to get a copy of this message | ||
salathe Tue, 07 May 2013 07:14:49 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=330181
Log:
Corrected example listing per comment by rks at rks dot org
--
Provided by anonymous #26427 ()
Bug: https://bugs.php.net/26427 (Not a bug) fopen text-mode
does not play nicely with heredoc
Changed paths:
U phpdoc/en/trunk/reference/gmp/examples.xml
Modified: phpdoc/en/trunk/reference/gmp/examples.xml
===================================================================
--- phpdoc/en/trunk/reference/gmp/examples.xml 2013-05-07 07:13:05 UTC (rev 330180)
+++ phpdoc/en/trunk/reference/gmp/examples.xml 2013-05-07 07:14:49 UTC (rev 330181)
@@ -11,7 +11,7 @@
function fact($x)
{
$return = 1;
- for ($i=2; $i < $x; $i++) {
+ for ($i=2; $i <= $x; $i++) {
$return = gmp_mul($return, $i);
}
return $return;