com php-langspec: Added missing $ to &colors.: spec/07-variables.md
[email protected] (Christoph Michael Becker) Sun, 15 Mar 2020 11:25:41 +0000
| Newsgroups | php.standards.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: 8a7e96736ac18cdd159b7af2e7d1e4c666c9c822=0AAuthor: Rodion Efr= emov <[email protected]> Sat, 15 Jun 2019 15:11:13 +0300=0ACommit= ter: Christoph M. Becker <[email protected]> Sun, 15 Mar 2020 12:25:41= +0100=0AParents: 694b0290a6ec0722820d2db848cc510104623e5d=0ABranches: m= aster=0A=0ALink: http://git.php.net/?p=3Dphp-langspec.git;a=3Dcommitd= iff;h=3D8a7e96736ac18cdd159b7af2e7d1e4c666c9c822=0A=0ALog:=0AAdded missing = $ to &colors.=0A=0ALine 257 reads "$b =3D &colors[100];", but should be "$b= =3D &$colors[100];".=0A=0AChanged paths:=0A M spec/07-variables.md=0A=0A= =0ADiff:=0Adiff --git a/spec/07-variables.md b/spec/07-variables.md=0Aindex= cfb17ff..b280fda 100644=0A--- a/spec/07-variables.md=0A+++ b/spec/07-varia= bles.md=0A@@ -254,7 +254,7 @@ echo $colors[100]; // element with offse= t 100 is still undefined and NULL=0A // is used as = substitution value instead. Another=0A // notice is= emitted.=0A =0A-$b =3D &colors[100]; // a VSlot for $b is created whi= ch points to the array=0A+$b =3D &$colors[100]; // a VSlot for $b is cr= eated which points to the array=0A // element with = the offset 100. An array element with=0A // offset = 100 was undefined but implicitly defined=0A // beca= use the assignment is byRef. Thus a VSlot for=0A