From 2e12d6719eb17cb3317aca7d58720d7f691df280 Mon Sep 17 00:00:00 2001 From: Ron Chmara Date: Wed, 13 Dec 2000 04:59:39 +0000 Subject: [PATCH] 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 --- language/basic-syntax.xml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/language/basic-syntax.xml b/language/basic-syntax.xml index 904b1e09dc..3f8e4fc1e9 100644 --- a/language/basic-syntax.xml +++ b/language/basic-syntax.xml @@ -14,7 +14,7 @@ 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 configure. + + The second way is the generally preferred method, as it allows for the + next generation of XHTML to be easily implemented with PHP. + + The fourth way is only available if ASP-style tags have been enabled using the asp_tags @@ -92,7 +97,7 @@ end of the line or the current block of PHP code, whichever comes first. -<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'.