[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] com doc/en: Fix errors in the comments of example number 6: language/types/array.xml
From: Christoph Michael Becker <cmb () php ! net>
Date: 2021-03-22 15:44:17
Message-ID: php-mail-f3c6618db43447b3c252f5aeeeadd1371851834853 () git ! php ! net
[Download RAW message or body]
Commit: 4bf7d10a44468767e7715fdd17f80a4a41478c22
Author: Gabriel Millian <gabrielpl@gmail.com> Sun, 21 Mar 2021 01:34:23 -0300
Committer: Christoph M. Becker <cmbecker69@gmx.de> Mon, 22 Mar 2021 16:44:17 +0100
Parents: fa95dcaee8884142f5a2012703abca9aeb25e2cf
Branches: master
Link: http://git.php.net/?p=doc/en.git;a=commitdiff;h=4bf7d10a44468767e7715fdd17f80a4a41478c22
Log:
Fix errors in the comments of example number 6
Closes GH-500.
Changed paths:
M language/types/array.xml
Diff:
diff --git a/language/types/array.xml b/language/types/array.xml
index caecd46aac..08849aa2c9 100644
--- a/language/types/array.xml
+++ b/language/types/array.xml
@@ -282,10 +282,10 @@ $array = array(
-1 => 'd',
'01' => 'e', // as this is not an integer string it will NOT override the key for 1
'1.5' => 'f', // as this is not an integer string it will NOT override the key for 1
- true => 'g', // the value "c" will be overwritten by "f"
+ true => 'g', // the value "c" will be overwritten by "g"
false => 'h',
'' => 'i',
- null => 'j', // the value "h" will be overwritten by "i"
+ null => 'j', // the value "i" will be overwritten by "j"
'k', // value "k" is assigned the key 2. This is because the largest integer key before that was 1
2 => 'l', // the value "k" will be overwritten by "l"
);
--
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