com doc/zh: 翻译了未翻 译段: language/basic-syntax.xml
[email protected] (Bole Chen) Sat, 20 Feb 2021 08:46:07 +0000
| Newsgroups | php.doc.zh |
|---|---|
| Message-ID | <[email protected]> |
Commit: b79b6df0e5ecca61e0f404fd1b05695ebc329970=0AAuthor: Pencil <pe= [email protected]> Sat, 20 Feb 2021 16:35:48 +0800=0ACommitter: Bole= Chen <[email protected]> Sat, 20 Feb 2021 16:46:07 +0800=0AParents: e= 387d5dc2b9a1c3c709b5c4df791957be362db82=0ABranches: master=0A=0ALink: = http://git.php.net/?p=3Ddoc/zh.git;a=3Dcommitdiff;h=3Db79b6df0e5ecca61e0f= 404fd1b05695ebc329970=0A=0ALog:=0A=E7=BF=BB=E8=AF=91=E4=BA=86=E6=9C=AA= =E7=BF=BB=E8=AF=91=E6=AE=B5=0A=0AChanged paths:=0A M language/basic-synta= x.xml=0A=0A=0ADiff:=0Adiff --git a/language/basic-syntax.xml b/language/bas= ic-syntax.xml=0Aindex 56d03497..6e7b58ff 100644=0A--- a/language/basic-synt= ax.xml=0A+++ b/language/basic-syntax.xml=0A@@ -39,18 +39,16 @@=0A </para= >=0A =0A <para>=0A- Short tags (example three) are available by defau= lt but can be disabled=0A- either via the <link linkend=3D"ini.short-ope= n-tag">short_open_tag</link>=0A- &php.ini; configuration file directive,= or are disabled by default if=0A- PHP is built with the <option>--disab= le-short-tags</option> configuration.=0A+ =E7=9F=AD=E6=A0=87=E8=AE=B0 (= =E7=AC=AC=E4=B8=89=E4=B8=AA=E4=BE=8B=E5=AD=90) =E6=98=AF=E8=A2=AB=E9=BB= =98=E8=AE=A4=E5=BC=80=E5=90=AF=E7=9A=84=EF=BC=8C=E4=BD=86=E6=98=AF=E4=B9= =9F=E5=8F=AF=E4=BB=A5=E9=80=9A=E8=BF=87=0A+ <link linkend=3D"ini.short-o= pen-tag">short_open_tag</link>=0A+ &php.ini; =E6=9D=A5=E7=9B=B4=E6=8E= =A5=E7=A6=81=E7=94=A8=E3=80=82=E5=A6=82=E6=9E=9CPHP=E5=9C=A8=E8=A2=AB= =E5=AE=89=E8=A3=85=E6=97=B6=E4=BD=BF=E7=94=A8=E4=BA=86 <option>--disable-sh= ort-tags</option> =0A+ =E7=9A=84=E9=85=8D=E7=BD=AE=EF=BC=8C=E8=AF=A5= =E5=8A=9F=E8=83=BD=E5=88=99=E6=98=AF=E8=A2=AB=E9=BB=98=E8=AE=A4=E7=A6=81= =E7=94=A8=E7=9A=84=E3=80=82=0A </para>=0A =0A <para>=0A <note>= =0A <para>=0A- As short tags can be disabled it is recommened to = only use the normal=0A- tags (<code><?php ?></code> and <code>&l= t;?=3D ?></code>) to=0A- maximise compatibility.=0A+ =E5=9B= =A0=E4=B8=BA=E7=9F=AD=E6=A0=87=E8=AE=B0=E5=8F=AF=E4=BB=A5=E8=A2=AB=E7=A6= =81=E7=94=A8=EF=BC=8C=E6=89=80=E4=BB=A5=E5=BB=BA=E8=AE=AE=E4=BD=BF=E7=94= =A8=E6=99=AE=E9=80=9A=E6=A0=87=E8=AE=B0 (<code><?php ?></code> = =E5=92=8C <code><?=3D ?></code>) =E6=9D=A5=E6=9C=80=E5=A4=A7=E5=8C= =96=E5=85=BC=E5=AE=B9=E6=80=A7=E3=80=82=0A </para>=0A </note>=0A = </para>=0A@@ -137,7 +135,7 @@=0A =0A <para>=0A <example>=0A- <= title>Example showing the closing tag encompasing the trailing newline</tit= le>=0A+ <title>=E5=8C=85=E5=90=AB=E6=9C=AB=E5=B0=BE=E6=8D=A2=E8=A1= =8C=E7=AC=A6=E7=9A=84=E7=BB=93=E6=9D=9F=E6=A0=87=E8=AE=B0=E7=9A=84=E4=BE= =8B=E5=AD=90</title>=0A <programlisting role=3D"php">=0A <![CDATA[=0A = <?php echo "Some text"; ?>=0A@@ -156,7 +154,7 @@ But newline now=0A </pa= ra>=0A =0A <para>=0A- Examples of entering and exiting the PHP parser= :=0A+ =E8=BF=9B=E5=85=A5=E5=92=8C=E9=80=80=E5=87=BAPHP=E8=A7=A3=E6=9E= =90=E7=9A=84=E4=BE=8B=E5=AD=90=0A =0A <informalexample>=0A <programl= isting role=3D"php">=0A