com php-langspec: Fix typos in the specification markdown: spec/07-variables.md spec/08-conversions.md spec/13-functions.md spec/14-classes.md

[email protected] (Nikita Popov) Mon, 10 Sep 2018 11:39:18 +0000
Newsgroups php.standards.cvs
Message-ID <[email protected]>
Commit:    8953d961e3fde95fe2bd6f7201be62ed288dd23a=0AAuthor:    Tyson Andr=
e <[email protected]>         Sun, 9 Sep 2018 16:31:15 -0400=0AComm=
itter: Nikita Popov <[email protected]>      Mon, 10 Sep 2018 13:39:18 +=
0200=0AParents:   7d350634b44d0688d8dda9f3599b086ad48ada6f=0ABranches:  mas=
ter=0A=0ALink:       http://git.php.net/?p=3Dphp-langspec.git;a=3Dcommitdif=
f;h=3D8953d961e3fde95fe2bd6f7201be62ed288dd23a=0A=0ALog:=0AFix typos in the=
 specification markdown=0A=0ADetected by https://github.com/client9/misspel=
l=0A=0AChanged paths:=0A  M  spec/07-variables.md=0A  M  spec/08-conversion=
s.md=0A  M  spec/13-functions.md=0A  M  spec/14-classes.md=0A=0A=0ADiff:=0A=
diff --git a/spec/07-variables.md b/spec/07-variables.md=0Aindex 43f6dd0..2=
a441a0 100644=0A--- a/spec/07-variables.md=0A+++ b/spec/07-variables.md=0A@=
@ -344,9 +344,9 @@ function f(){=0A   echo "\$fs =3D $fs\n";  // $fs =3D =
=0A   $fs =3D 5;              // assign 5 to the function static $fs (local=
 variable is not modified)=0A   echo "\$fs =3D $fs\n";  // $fs =3D 5=0A-  g=
lobal $fs;           // define a global variabel with name $fs=0A+  global =
$fs;           // define a global variable with name $fs=0A   echo "\$fs =
=3D $fs\n";  // $fs =3D =0A-  $fs =3D 3;              // assign 3 to the gl=
obal variable $fs (function static and local variabel is not modified=0A+  =
$fs =3D 3;              // assign 3 to the global variable $fs (function st=
atic and local variable is not modified=0A   echo "\$fs =3D $fs\n";  // $fs=
 =3D 3=0A   static $fs; =0A   ++$fs;                // increment function s=
tatic $fs=0Adiff --git a/spec/08-conversions.md b/spec/08-conversions.md=0A=
index 4870b92..e93183d 100644=0A--- a/spec/08-conversions.md=0A+++ b/spec/0=
8-conversions.md=0A@@ -4,7 +4,7 @@=0A =0A Explicit type conversion is perfo=
rmed using the [cast operator](10-expressions.md#cast-operator).=0A If an o=
peration or language construct expects operand of one type and a value of a=
nother type is given,=0A-implict (automatic) conversion will be performed. =
Same will happen with most internal functions, though some=0A+implicit (aut=
omatic) conversion will be performed. Same will happen with most internal f=
unctions, though some=0A functions may do different things depending on arg=
ument type and thus would not perform the conversion.=0A =0A If an expressi=
on is converted to its own type, the type and value of the=0Adiff --git a/s=
pec/13-functions.md b/spec/13-functions.md=0Aindex 6d46b01..75c48d9 100644=
=0A--- a/spec/13-functions.md=0A+++ b/spec/13-functions.md=0A@@ -17,7 +17,7=
 @@ case of an *outer function*, and an *inner function* defined within it.=
=0A Until the outer function is called at least once, its inner function=0A=
 does not exist. Even if the outer function is called, if its runtime logic=
=0A bypasses the definition of the inner function, that inner function stil=
l=0A-does not exist. The conditionally defined function comes into existanc=
e when=0A+does not exist. The conditionally defined function comes into exi=
stence when=0A the execution flow reaches the point where the function is d=
efined.=0A =0A Any function containing [`yield`](10-expressions.md#yield-op=
erator) is a *generator function*.=0Adiff --git a/spec/14-classes.md b/spec=
/14-classes.md=0Aindex 341bfb0..e480e4d 100644=0A--- a/spec/14-classes.md=
=0A+++ b/spec/14-classes.md=0A@@ -1195,7 +1195,7 @@ The *method-modifiers* =
must not contain `static` and must define public visibili=0A =0A If the [dy=
namic property](#dynamic-members) designated by `$name` exists, this=0A ins=
tance method returns `TRUE`; otherwise, `FALSE` is returned. The speficis o=
f=0A-how existance of the dynamic property is determined is left to the imp=
lementor of the method.=0A+how existence of the dynamic property is determi=
ned is left to the implementor of the method.=0A =0A Typically, `__isset` i=
s called implicitly, when the intrinsic [`isset`](10-expressions.md#isset)=
=0A or intrinsic [`empty`](10-expressions.md#empty) is called with an argum=
ent that designates=0A@@ -1997,7 +1997,7 @@ __PHP_Incomplete_Class=0A }=0A =
```=0A =0A-Object of this class can be serialized, however, any attemt to c=
all its method or access its property=0A+Object of this class can be serial=
ized, however, any attempt to call its method or access its property=0A for=
 any other operation except serialization will result in a fatal error.=0A =
=0A ### Class `stdClass`=0A