com php-langspec: Fixed the leftwards diagram arrows from < to <.: spec/04-basic-concepts.md
[email protected] (Christoph Michael Becker) Sun, 15 Mar 2020 11:22:54 +0000
| Newsgroups | php.standards.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: 694b0290a6ec0722820d2db848cc510104623e5d=0AAuthor: Rodion Efr= emov <[email protected]> Sat, 15 Jun 2019 15:16:14 +0300=0ACommit= ter: Christoph M. Becker <[email protected]> Sun, 15 Mar 2020 12:22:54= +0100=0AParents: ab19cb01fd935c7d40a7250b551156cf273b61d5=0ABranches: m= aster=0A=0ALink: http://git.php.net/?p=3Dphp-langspec.git;a=3Dcommitd= iff;h=3D694b0290a6ec0722820d2db848cc510104623e5d=0A=0ALog:=0AFixed the left= wards diagram arrows from < to <.=0A=0ASome arrow diagrams are rendered = as `<--` instead of `<--`.=0A=0AChanged paths:=0A M spec/04-basic-conc= epts.md=0A=0A=0ADiff:=0Adiff --git a/spec/04-basic-concepts.md b/spec/04-ba= sic-concepts.md=0Aindex bdb84eb..bfc81b6 100644=0A--- a/spec/04-basic-conce= pts.md=0A+++ b/spec/04-basic-concepts.md=0A@@ -516,12 +516,12 @@ We can rem= ove all these handles using `$a =3D NULL` and `$b =3D NULL`:=0A ```=0A [VSl= ot $a *]-->[VStore null] [HStore Point [VSlot $x *] [VSlot $y *] (dead)]= =0A | |= =0A-[VSlot $b *]-->[VStore null] [VStore int 2 (dead)]<--+ = V=0A+[VSlot $b *]-->[VStore null] [VStore int 2 (dead)]<--+ = V=0A [VStore int = 1 (dead)]=0A =0A [HStore Point [VSlot $x *]= [VSlot $y *] (dead)]=0A = | |=0A- [VStore int 4 (dead= )]<--+ V=0A+ [VStore int 4 (de= ad)]<--+ V=0A = [VStore int 6 (dead)]=0A ```=0A =0A@@ -750,7 +750,7 @@ assignment of = other types. Recall the `Point` class from [the examples](#value-a=0A = V V=0A = [VStore int 10] [VStore Obj *]= =0A = |=0A- [HStore Point [VSlot $x *] [VSlo= t $y *]]<----+=0A+ [HStore Point [VSlot $= x *] [VSlot $y *]]<----+=0A = | |=0A = V V=0A [VSto= re int 1] [VStore int 3]=0A@@ -782,7 +782,7 @@ the value assignment `$b = =3D $a`:=0A | | = |=0A +---------+ +---------+ = |=0A V V = |=0A-[VStore int 10] [VStore object *]= -->[HStore Point [VSlot $x *] [VSlot $y *]]<---+=0A+[VStore int 10] [VSt= ore object *]-->[HStore Point [VSlot $x *] [VSlot $y *]]<---+=0A = | |=0A = V V=0A = [VStore int 1] [VStore int 3]= =0A@@ -830,7 +830,7 @@ implementation. Here is the first possible outcome:= =0A ```=0A [VSlot $a *]---->[VStore array *]---->[HStore Array [VSlot 0 *]]= =0A |=0A-[VSlo= t $x *]-------------------------+ [VStore array *]<---+=0A+[VSlot $x *= ]-------------------------+ [VStore array *]<---+=0A = | |=0A [VSlot $b *]-->[VStore array *] = | V=0A | | [HStore Ar= ray [VSlot 0 *][VSlot 1 *]]=0A@@ -852,7 +852,7 @@ Here is the second possib= le outcome:=0A ```=0A [VSlot $a *]---->[VStore array *]---->[HStore Array [= VSlot 0 *]]=0A = |=0A-[VSlot $x *]-------------------------+ [VStore array *]<----+=0A+= [VSlot $x *]-------------------------+ [VStore array *]<----+=0A = | |=0A [VSlot $b *]-->[VStore ar= ray *] | V=0A | | [= HStore Array [VSlot 0 *] [VSlot 1 *]]=0A@@ -939,7 +939,7 @@ $b =3D $a;=0A `= ``=0A [VSlot $a *]--->[VStore array *]--->[HStore Array [VSlot 0 *]]=0A = ^ |=0A- = | [VStore array *]<--+=0A+ = | [VStore array *]<--+=0A [VSlot $b *]--->[VStore Arr-D *]-= -----+ |=0A = V=0A [HStore Array [VSlot 0 *]= [VSlot 1 *]]=0A@@ -1036,7 +1036,7 @@ possible outcome:=0A ```=0A [VSlot $a= *]---->[VStore array *]---->[HStore Array [VSlot 0 *]]=0A = |=0A-[VSlot $b *]-->[VStore ar= ray *] [VStore array *]<---+=0A+[VSlot $b *]-->[VStore array *]= [VStore array *]<---+=0A | = |=0A V = V=0A [HStore Array [VSlot 0 *] [VSlot 1 *]] [HStore Array [VSlot 0 *] [V= Slot 1 *]]=0A@@ -1057,8 +1057,8 @@ Here is the third possible outcome:=0A = =0A ```=0A [VSlot $a *]---->[VStore array *-]---->[HStore Array [VSlot 0 *]= ]=0A- |=0A-[VSlo= t $b *]-->[VStore array *] [VStore array *]<---+=0A+ = |=0A+[VSlot $b *]-->[VS= tore array *] [VStore array *]<---+=0A = | |=0A V = V=0A [HStore Array [VSlot 0 *] [VSlot 1 *]] [HStore Array= [VSlot 0 *] [VSlot 1 *]]=0A@@ -1204,7 +1204,7 @@ Will result in:=0A = | | = |=0A V = V |=0A [= VStore int 1] [VStore int 3] |=0A-[VSlot $b *]---------------->[VStore= int 123]<---------------------------------------+=0A+[VSlot $b *]------= ---------->[VStore int 123]<---------------------------------------+=0A ```= =0A =0A ### Argument Passing=0A@@ -1267,7 +1267,7 @@ some type(s) or to an = instance of some other type.=0A = V V=0A = [VStore int 10] [VStore object *]=0A = |=0A- = [HStore ...]<---------+=0A+ = [HStore ...]<---------+=0A ```= =0A =0A Let us consider the result of `$b =3D clone $a`:=0A@@ -1279,7 +1279= ,7 @@ Let us consider the result of `$b =3D clone $a`:=0A = | [VStore int 10] [VStore object *]=0A +-= ----------------------+ |= =0A V = |=0A- [HStore Widget [VSlot $p1 *] [VSlot $p2 *]] +-= -->[HStore ...]<-+=0A+ [HStore Widget [VSlot $p1 *] [VSlot $p2 *]] = +--->[HStore ...]<-+=0A | = | |=0A V V = |=0A [VStore int 10] [VStore object *]----------+= =0A