didou           Wed Jul 16 13:06:57 2003 EDT

  Modified files:              
    /phpdoc/en/reference/array/functions        array-diff.xml count.xml 
  Log:
  adding PHP tags in the examples and ws
  
Index: phpdoc/en/reference/array/functions/array-diff.xml
diff -u phpdoc/en/reference/array/functions/array-diff.xml:1.8 
phpdoc/en/reference/array/functions/array-diff.xml:1.9
--- phpdoc/en/reference/array/functions/array-diff.xml:1.8      Sat May 17 22:32:19 
2003
+++ phpdoc/en/reference/array/functions/array-diff.xml  Wed Jul 16 13:06:57 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
 <!-- splitted from ./en/functions/array.xml, last change in rev 1.14 -->
   <refentry id="function.array-diff">
    <refnamediv>
@@ -25,9 +25,11 @@
       <title><function>array_diff</function> example</title>
       <programlisting role="php">
 <![CDATA[
+<?php
 $array1 = array ("a" => "green", "red", "blue", "red");
 $array2 = array ("b" => "green", "yellow", "red");
 $result = array_diff ($array1, $array2);
+?>
 ]]>
       </programlisting>
      </example>
Index: phpdoc/en/reference/array/functions/count.xml
diff -u phpdoc/en/reference/array/functions/count.xml:1.5 
phpdoc/en/reference/array/functions/count.xml:1.6
--- phpdoc/en/reference/array/functions/count.xml:1.5   Fri May 30 14:12:53 2003
+++ phpdoc/en/reference/array/functions/count.xml       Wed Jul 16 13:06:57 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 -->
   <refentry id="function.count">
    <refnamediv>
@@ -58,12 +58,12 @@
       </programlisting>
      </example>
     </para>
-   <note>
-    <para>
-     The <function>sizeof</function> function is an
-     <link linkend="aliases">alias</link> for <function>count</function>.
-    </para>
-   </note>
+    <note>
+     <para>
+      The <function>sizeof</function> function is an
+      <link linkend="aliases">alias</link> for <function>count</function>.
+     </para>
+    </note>
     <para>
      See also <function>is_array</function>,
      <function>isset</function>, and



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to