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

From: Date: Wed, 13 Dec 2000 04:59:39 +0000
Subject: cvs: phpdoc /en/language basic-syntax.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969333225@lists.php.net to get a copy of this message
ronabop Tue Dec 12 20:59:39 2000 EDT Modified files: /phpdoc/en/language basic-syntax.xml Log: Updating per XHTML/XML discussions on php-dev Index: phpdoc/en/language/basic-syntax.xml diff -u phpdoc/en/language/basic-syntax.xml:1.3 phpdoc/en/language/basic-syntax.xml:1.4 --- phpdoc/en/language/basic-syntax.xml:1.3 Wed Nov 1 15:33:42 2000 +++ phpdoc/en/language/basic-syntax.xml Tue Dec 12 20:59:39 2000 @@ -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 @@ -37,6 +37,11 @@ </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> configuration setting. @@ -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>

« previous php.doc (#969333225) next »