mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
6e8112625b
commit
2e12d6719e
1 changed files with 7 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
|||
<programlisting>
|
||||
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 XHTML or XML documents, do like this\n"); ?>
|
||||
|
||||
3. <script language="php">
|
||||
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>
|
||||
<h1>This is an <?# echo "simple";?> example.</h1>
|
||||
<h1>This is an <?php # echo "simple";?> example.</h1>
|
||||
<p>The header above will say 'This is an example'.
|
||||
</programlisting></informalexample>
|
||||
|
||||
|
|
Loading…
Reference in a new issue