yohgaki Tue Apr 30 03:21:21 2002 EDT
Modified files:
/phpdoc/en/language basic-syntax.xml
Log:
A little more change to encourage use of <?php ?> tag.
Index: phpdoc/en/language/basic-syntax.xml
diff -u phpdoc/en/language/basic-syntax.xml:1.30
phpdoc/en/language/basic-syntax.xml:1.31
--- phpdoc/en/language/basic-syntax.xml:1.30 Tue Apr 30 03:09:44 2002
+++ phpdoc/en/language/basic-syntax.xml Tue Apr 30 03:21:21 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.30 $ -->
+<!-- $Revision: 1.31 $ -->
<chapter id="language.basic-syntax">
<title>Basic syntax</title>
@@ -99,19 +99,20 @@
</para>
<para>
- The first way is the generally preferred method, as it
+ The first way, <?php. . .?>, is the preferred method, as it
allows for the the use of PHP in XML-conformant code such as
XHTML.
</para>
<para>
- The second way is only available if short tags have been
- enabled. This can be done via the <function>short_tags</function>
- function (PHP 3 only), by enabling the <link
- linkend="ini.short-open-tag">short_open_tag</link> configuration
- setting in the PHP config file, or by compiling PHP with the
- --enable-short-tags option to <command>configure</command>. Even
- if it is enabled by default, use of short tags are discouraged.
+ The second way is not available always. Short tags are available
+ only when they have been enabled. This can be done via the
+ <function>short_tags</function> function (PHP 3 only), by enabling
+ the <link linkend="ini.short-open-tag">short_open_tag</link>
+ configuration setting in the PHP config file, or by compiling PHP
+ with the --enable-short-tags option to
+ <command>configure</command>. Even if it is enabled by default,
+ use of short tags are discouraged.
</para>
<para>