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

From: Date: Tue, 27 Nov 2001 10:17:08 +0000
Subject: cvs: phpdoc /en/language basic-syntax.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969339315@lists.php.net to get a copy of this message
torben Tue Nov 27 05:17:08 2001 EDT Modified files: /phpdoc/en/language basic-syntax.xml Log: A typo and a formatting fix. Index: phpdoc/en/language/basic-syntax.xml diff -u phpdoc/en/language/basic-syntax.xml:1.21 phpdoc/en/language/basic-syntax.xml:1.22 --- phpdoc/en/language/basic-syntax.xml:1.21 Sun Nov 25 17:08:36 2001 +++ phpdoc/en/language/basic-syntax.xml Tue Nov 27 05:17:08 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.21 $ --> +<!-- $Revision: 1.22 $ --> <chapter id="language.basic-syntax"> <title>Basic syntax</title> @@ -92,7 +92,7 @@ </script> 4. <% echo ("You may optionally use ASP-style tags"); %> - <%= $variable; # This is a shortcut for "&lt;%echo .." %> + <%= $variable; # This is a shortcut for "<% echo . . ." %> ]]> </programlisting> </example> @@ -136,16 +136,15 @@ <programlisting role="php"> <![CDATA[ <?php -if (boolean-expression) { +if ($expression) { ?> -<strong>This is true.</strong> - <?php -} else { + <strong>This is true.</strong> + <?php +} else { ?> -<strong>This is false.</strong> - <?php + <strong>This is false.</strong> + <?php } - ?> ]]> </programlisting> </example>

« previous php.doc (#969339315) next »