com php-langspec: Remove references to #array: spec/07-variables.md spec/10-expressions.md spec/12-arrays.md
| From: | Nikita Popov | Date: | Tue, 15 Nov 2016 21:33:56 +0000 |
| Subject: | com php-langspec: Remove references to #array: spec/07-variables.md spec/10-expressions.md spec/12-arrays.md | ||
| Groups: | php.standards.cvs | ||
| Request: | Send a blank email to standards--cvs+get-362@lists.php.net to get a copy of this message | ||
Commit: 883396eb050375ad973b25c1142bf015b5e3adb2
Author: Nikita Popov <nikic@php.net> Tue, 15 Nov 2016 22:33:56 +0100
Parents: 9c1e9d1aa1de4f1f82498ab210095d3a76e2521d
Branches: master
Link: http://git.php.net/?p=php-langspec.git;a=commitdiff;h=883396eb050375ad973b25c1142bf015b5e3adb2
Log:
Remove references to #array
Changed paths:
M spec/07-variables.md
M spec/10-expressions.md
M spec/12-arrays.md
Diff:
diff --git a/spec/07-variables.md b/spec/07-variables.md
index 1a2d332..6e59bf4 100644
--- a/spec/07-variables.md
+++ b/spec/07-variables.md
@@ -217,8 +217,7 @@ $l = $k; // a VSlot for $l was created and the value of $k (which is NULL)
**Syntax**
-[Arrays](12-arrays.md#arrays) are created via the [array-creation
operator](10-expressions.md#array-creation-operator) or
-the intrinsic [
array](10-expressions.md#array). At the same time, one or more elements
+[Arrays](12-arrays.md#arrays) are created using the [array-creation
operator](10-expressions.md#array-creation-operator). At the same time, one or more elements
may be created for that array. New elements are inserted into an
existing array via the [simple-assignment operator](10-expressions.md#simple-assignment) in
conjunction with the subscript [operator []](10-expressions.md#subscript-operator).
Elements can be
diff --git a/spec/10-expressions.md b/spec/10-expressions.md
index 55891de..f45286c 100644
--- a/spec/10-expressions.md
+++ b/spec/10-expressions.md
@@ -1017,10 +1017,6 @@ $v2 = new class (100) extends C1 implements I1, I2 {
###Array Creation Operator
-An array is created and initialized by one of two equivalent ways: via
-the array-creation operator [], as described below, or the intrinsic
-[array](#array).
-
**Syntax**
<pre>
diff --git a/spec/12-arrays.md b/spec/12-arrays.md
index d027f19...714686b 100644
--- a/spec/12-arrays.md
+++ b/spec/12-arrays.md
@@ -33,8 +33,8 @@ and there is no concept of consecutive elements of the array occupying physicall
##Array Creation and Initialization
-An array is created and initialized by one of two equivalent ways: via
-the array-creation operator [[]](10-expressions.md#array-creation-operator) or the
[intrinsic array](10-expressions.md#array).
+An array is created and initialized using the
+[array-creation operator](10-expressions.md#array-creation-operator):
##Element Access and Insertion