[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] [doc-en] master: Fix #879: array_fill() example has wrong parameter names
From:       "Christoph M. Becker" <noreply () php ! net>
Date:       2021-08-25 14:32:43
Message-ID: ABA4U5tlYIlhQ6HR82HCWaRiANQ0Qm9EC7Su4n3m4 () main ! php ! net
[Download RAW message or body]

Author: Christoph M. Becker (cmb69)
Date: 2021-08-25T16:32:58+02:00

Commit: https://github.com/php/doc-en/commit/28ad235028930196e95023f9b41789e1339e7c7e
Raw diff: https://github.com/php/doc-en/commit/28ad235028930196e95023f9b41789e1339e7c7e.diff

Fix #879: array_fill() example has wrong parameter names

Changed paths:
  M  language/functions.xml


Diff:

diff --git a/language/functions.xml b/language/functions.xml
index 1987d3ef86..3b0ecc4655 100644
--- a/language/functions.xml
+++ b/language/functions.xml
@@ -641,7 +641,7 @@ array_fill(start_index: 0, count: 100, value: 50);
      <programlisting role="php">
       <![CDATA[
 <?php
-array_fill(value: 50, num: 100, start_index: 0);
+array_fill(value: 50, count: 100, start_index: 0);
 ?>
 ]]>
      </programlisting>

-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic