mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
2e1990f644
commit
ec82614b46
1 changed files with 14 additions and 11 deletions
|
@ -12,26 +12,29 @@
|
|||
<example>
|
||||
<title>Ways of escaping from HTML</title>
|
||||
<programlisting>
|
||||
1. <? echo ("this is the simplest, an SGML processing instruction\n"); ?>
|
||||
1. <? echo ("this is the simplest, an SGML processing instruction\n"); ?>
|
||||
|
||||
2. <?php echo("if you want to serve XML documents, do like this\n"); ?>
|
||||
2. <?php echo("if you want to serve XML documents, do like this\n"); ?>
|
||||
|
||||
3. <script language="php">
|
||||
3. <script language="php">
|
||||
echo ("some editors (like FrontPage) don't
|
||||
like processing instructions");
|
||||
</script>
|
||||
</script>
|
||||
|
||||
4. <% echo ("You may optionally use ASP-style tags"); %>
|
||||
<%= $variable; # This is a shortcut for "<%echo .." %>
|
||||
4. <% echo ("You may optionally use ASP-style tags"); %>
|
||||
<%= $variable; # This is a shortcut for "<%echo .." %>
|
||||
</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
|
||||
|
|
Loading…
Reference in a new issue