betz            Mon Dec  8 07:00:42 2003 EDT

  Modified files:              
    /phpdoc/en/language operators.xml 
  Log:
  php tags for examples
  
  
Index: phpdoc/en/language/operators.xml
diff -u phpdoc/en/language/operators.xml:1.55 phpdoc/en/language/operators.xml:1.56
--- phpdoc/en/language/operators.xml:1.55       Sun Nov  9 08:25:39 2003
+++ phpdoc/en/language/operators.xml    Mon Dec  8 07:00:42 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.55 $ -->
+<!-- $Revision: 1.56 $ -->
  <chapter id="language.operators">
   <title>Operators</title>
   <simpara>
@@ -228,7 +228,11 @@
     <informalexample>
      <programlisting role="php"> 
 <![CDATA[
+<?php
+
 $a = ($b = 4) + 5; // $a is equal to 9 now, and $b has been set to 4.
+
+?>
 ]]>
      </programlisting>
     </informalexample>
@@ -242,10 +246,14 @@
     <informalexample>
      <programlisting role="php">
 <![CDATA[
+<?php
+
 $a = 3;
 $a += 5; // sets $a to 8, as if we had said: $a = $a + 5;
 $b = "Hello ";
 $b .= "There!"; // sets $b to "Hello There!", just like $b = $b . "There!";
+
+?>
 ]]>
      </programlisting>
     </informalexample>
@@ -531,8 +539,10 @@
     <informalexample>
      <programlisting role="php">
 <![CDATA[
+<?php
 $output = `ls -al`;
 echo "<pre>$output</pre>";
+?>
 ]]>
      </programlisting>
     </informalexample>
@@ -725,11 +735,13 @@
     <informalexample>
      <programlisting role="php">
 <![CDATA[
+<?php
 $a = "Hello ";
 $b = $a . "World!"; // now $b contains "Hello World!"
 
 $a = "Hello ";
 $a .= "World!";     // now $a contains "Hello World!"
+?>
 ]]>
      </programlisting>
     </informalexample>
@@ -752,12 +764,14 @@
     <informalexample>
      <programlisting role="php">
 <![CDATA[
+<?php
 $a = array("a" => "apple", "b" => "banana");
 $b = array("a" =>"pear", "b" => "strawberry", "c" => "cherry");
 
 $c = $a + $b;
 
 var_dump($c);
+?>
 ]]>
      </programlisting>
     </informalexample>

Reply via email to