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

From: Date: Wed, 01 Nov 2000 23:33:42 +0000
Subject: cvs: phpdoc /en/language basic-syntax.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969332755@lists.php.net to get a copy of this message
jmcastagnetto Wed Nov 1 15:33:42 2000 EDT Modified files: /phpdoc/en/language basic-syntax.xml Log: Commented out the incorrect phrase that Hojtsy noticed. Index: phpdoc/en/language/basic-syntax.xml diff -u phpdoc/en/language/basic-syntax.xml:1.2 phpdoc/en/language/basic-syntax.xml:1.3 --- phpdoc/en/language/basic-syntax.xml:1.2 Thu Dec 9 16:34:44 1999 +++ phpdoc/en/language/basic-syntax.xml Wed Nov 1 15:33:42 2000 @@ -12,26 +12,29 @@ <example> <title>Ways of escaping from HTML</title> <programlisting> -1. &lt;? echo ("this is the simplest, an SGML processing instruction\n"); ?> +1. &lt;? echo ("this is the simplest, an SGML processing instruction\n"); ?&gt; -2. &lt;?php echo("if you want to serve XML documents, do like this\n"); ?> +2. &lt;?php echo("if you want to serve XML documents, do like this\n"); ?&gt; -3. &lt;script language="php"> +3. &lt;script language="php"&gt; echo ("some editors (like FrontPage) don't like processing instructions"); - &lt;/script> + &lt;/script&gt; -4. &lt;% echo ("You may optionally use ASP-style tags"); %> - &lt;%= $variable; # This is a shortcut for "&lt;%echo .." %> +4. &lt;% echo ("You may optionally use ASP-style tags"); %&gt; + &lt;%= $variable; # This is a shortcut for "&lt;%echo .." %&gt; </programlisting> - </example></para> + </example> + </para> <para> The first way is only available if short tags have been - enabled. This can be done via the <function>short_tags</function> - function, 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>.</para> + enabled. This can be done + <!-- via the <function>short_tags</function> function,--> + 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>. + </para> <para> The fourth way is only available if ASP-style tags have been

« previous php.doc (#969332755) next »