Updating per XHTML/XML discussions on php-dev

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@37666 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Ron Chmara 2000-12-13 04:59:39 +00:00
parent 6e8112625b
commit 2e12d6719e

View file

@ -14,7 +14,7 @@
<programlisting>
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"); ?&gt;
2. &lt;?php echo("if you want to serve XHTML or XML documents, do like this\n"); ?&gt;
3. &lt;script language="php"&gt;
echo ("some editors (like FrontPage) don't
@ -36,6 +36,11 @@
--enable-short-tags option to <command>configure</command>.
</para>
<para>
The second way is the generally preferred method, as it allows for the
next generation of XHTML to be easily implemented with PHP.
</para>
<para>
The fourth way is only available if ASP-style tags have been
enabled using the <link linkend="ini.asp-tags">asp_tags</link>
@ -92,7 +97,7 @@
end of the line or the current block of PHP code, whichever
comes first.</simpara>
<informalexample><programlisting>
&lt;h1>This is an &lt;?# echo "simple";?> example.&lt;/h1>
&lt;h1>This is an &lt;?php # echo "simple";?> example.&lt;/h1>
&lt;p>The header above will say 'This is an example'.
</programlisting></informalexample>