com php-langspec: Simplify `print` rule.: spec/10-expressions.md
[email protected] (Nikita Popov) Sat, 12 Nov 2016 14:02:02 +0000
| Newsgroups | php.standards.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: e85e5508ca29872b60a59c7f37684f13d07e4533=0AAuthor: Ivan Ender= lin <[email protected]> Sat, 12 Nov 2016 14:18:04 +0100= =0ACommitter: Nikita Popov <[email protected]> Sat, 12 Nov 2016 15:02:02 += 0100=0AParents: a6ae806a1f4f6ade361d4ffc80b8a4bc1b5d61b7=0ABranches: mas= ter=0A=0ALink: http://git.php.net/?p=3Dphp-langspec.git;a=3Dcommitdif= f;h=3De85e5508ca29872b60a59c7f37684f13d07e4533=0A=0ALog:=0ASimplify `print`= rule.=0A=0A`print 42` is the same than `print(42)`, which is the same than= =0A`print (42)`. Just like `echo`, it is possible to consider that=0Aparent= hesis belong to the expression instead of to the `print`=0Aintrinsic.=0A=0A= Changed paths:=0A M spec/10-expressions.md=0A=0A=0ADiff:=0Adiff --git a/s= pec/10-expressions.md b/spec/10-expressions.md=0Aindex bd1ac0b..5e8af86 100= 644=0A--- a/spec/10-expressions.md=0A+++ b/spec/10-expressions.md=0A@@ -688= ,7 +688,6 @@ list(0 =3D> list($x1, $x2), 1 =3D> list($x2, $y2)) =3D [[1, 2]= , [3, 4]];=0A <pre>=0A <i>print-intrinsic:</i>=0A print <i>expressio= n</i>=0A- print ( <i>expression</i> )=0A </pre>=0A =0A **Defined else= where**=0A