cvs: phpdoc /en/language basic-syntax.xml

From: Date: Tue, 30 Apr 2002 07:21:21 +0000
Subject: cvs: phpdoc /en/language basic-syntax.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969345065@lists.php.net to get a copy of this message
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, &lt;?php. . .?&gt;, 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>

« previous php.doc (#969345065) next »