svn: /phpdoc/en/trunk/reference/array/functions/ range.xml
| From: | Peter Cowburn | Date: | Thu, 16 Dec 2010 11:16:38 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/array/functions/ range.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7536@lists.php.net to get a copy of this message | ||
salathe Thu, 16 Dec 2010 11:16:38 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=306400
Log:
Added $step default value (1) for range(). Fixes doc #53555
Bug: http://bugs.php.net/53555 (Open) A bug in the
description
Changed paths:
U phpdoc/en/trunk/reference/array/functions/range.xml
Modified: phpdoc/en/trunk/reference/array/functions/range.xml
===================================================================
--- phpdoc/en/trunk/reference/array/functions/range.xml 2010-12-16 11:00:01 UTC (rev 306399)
+++ phpdoc/en/trunk/reference/array/functions/range.xml 2010-12-16 11:16:38 UTC (rev 306400)
@@ -11,7 +11,7 @@
<type>array</type><methodname>range</methodname>
<methodparam><type>mixed</type><parameter>low</parameter></methodparam>
<methodparam><type>mixed</type><parameter>high</parameter></methodparam>
- <methodparam
choice="opt"><type>number</type><parameter>step</parameter></methodparam>
+ <methodparam
choice="opt"><type>number</type><parameter>step</parameter><initializer>1</initializer></methodparam>
</methodsynopsis>
<para>
Create an array containing a range of elements.