cvs: phpdoc /en/language operators.xml
| From: | Friedhelm Betz | Date: | Tue, 28 May 2002 21:31:56 +0000 |
| Subject: | cvs: phpdoc /en/language operators.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969345957@lists.php.net to get a copy of this message | ||
betz Tue May 28 17:31:56 2002 EDT
Modified files:
/phpdoc/en/language operators.xml
Log:
some programmlisting corrections, (I hope) and some entity corrections
Index: phpdoc/en/language/operators.xml
diff -u phpdoc/en/language/operators.xml:1.35 phpdoc/en/language/operators.xml:1.36
--- phpdoc/en/language/operators.xml:1.35 Fri Apr 19 15:48:18 2002
+++ phpdoc/en/language/operators.xml Tue May 28 17:31:56 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.35 $ -->
+<!-- $Revision: 1.36 $ -->
<chapter id="language.operators">
<title>Operators</title>
<simpara>
@@ -241,7 +241,7 @@
</simpara>
<para>
<informalexample>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
<?php
echo 12 ^ 9; // Outputs '5'
@@ -349,7 +349,7 @@
<entry>&true; if $a is not equal to $b.</entry>
</row>
<row>
- <entry>$a <> $b</entry>
+ <entry>$a <> $b</entry>
<entry>Not equal</entry>
<entry>&true; if $a is not equal to $b.</entry>
</row>
@@ -388,7 +388,7 @@
Another conditional operator is the "?:" (or ternary) operator,
which operates as in C and many other languages.
<informalexample>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
(expr1) ? (expr2) : (expr3);
]]>
@@ -536,7 +536,7 @@
<programlisting role="php">
<![CDATA[
<?php
-echo "<h3>Postincrement</h3>";
+echo "<h3>Postincrement</h3>";
$a = 5;
echo "Should be 5: " . $a++ . "<br>\n";
echo "Should be 6: " . $a . "<br>\n";