com php-langspec: Use variable in list-or-variable: spec/10-expressions.md spec/19-grammar.md

From: Date: Tue, 19 Sep 2017 03:36:34 +0000
Subject: com php-langspec: Use variable in list-or-variable: spec/10-expressions.md spec/19-grammar.md
Groups: php.standards.cvs 
Request: Send a blank email to standards--cvs+get-385@lists.php.net to get a copy of this message
Commit: 32fe82511d7ea4c6d73ae6279edd3e24fada5aff Author: Nikita Popov <nikic@php.net> Tue, 19 Sep 2017 05:36:34 +0200 Parents: 11b13919b0f7d8b4f7b4ba40d48d497f480b6a64 Branches: master Link: http://git.php.net/?p=php-langspec.git;a=commitdiff;h=32fe82511d7ea4c6d73ae6279edd3e24fada5aff Log: Use variable in list-or-variable Changed paths: M spec/10-expressions.md M spec/19-grammar.md Diff: diff --git a/spec/10-expressions.md b/spec/10-expressions.md index 6c80272..880d6a2 100644 --- a/spec/10-expressions.md +++ b/spec/10-expressions.md @@ -603,7 +603,7 @@ keyed-list-expression-list: list-or-variable: list-intrinsic - expression + variable --> <pre> @@ -625,7 +625,7 @@ list-or-variable: <i id="grammar-list-or-variable">list-or-variable:</i> <i><a href="#grammar-list-intrinsic">list-intrinsic</a></i> - <i><a href="#grammar-expression">expression</a></i> + <i><a href="#grammar-variable">variable</a></i> </pre> **Constraints** @@ -635,7 +635,7 @@ list-or-variable: operand must be an expression that designates an array or object implementing the ArrayAccess interface (called the *source array*). -Each *expression* in *list-or-variable* must designate a variable (called +Each *variable* in *list-or-variable* must designate a writable variable (called the *target variable*). At least one of the elements of the *list-expression-list* must be non-empty. diff --git a/spec/19-grammar.md b/spec/19-grammar.md index a16a8c9..b5a5921 100644 --- a/spec/19-grammar.md +++ b/spec/19-grammar.md @@ -437,7 +437,7 @@ The grammar notation is described in [Grammars section](09-lexical-structure.md# <i id="grammar-list-or-variable">list-or-variable:</i> <i><a href="#grammar-list-intrinsic">list-intrinsic</a></i> - <i><a href="#grammar-expression">expression</a></i> + <i><a href="#grammar-variable">variable</a></i> <i id="grammar-print-intrinsic">print-intrinsic:</i> print <i><a href="#grammar-expression">expression</a></i>

« previous php.standards.cvs (#385) next »