Commented out the incorrect phrase that Hojtsy noticed.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@35026 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jesus M. Castagnetto 2000-11-01 23:33:42 +00:00
parent 2e1990f644
commit ec82614b46

View file

@ -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