jeroen          Sat Jul  7 18:11:17 2001 EDT

  Modified files:              
    /phpdoc/en/functions        array.xml 
    /phpdoc/scripts     tfn.php 
  Log:
  Updated script, fixed error in array.xml
  
  
Index: phpdoc/en/functions/array.xml
diff -u phpdoc/en/functions/array.xml:1.77 phpdoc/en/functions/array.xml:1.78
--- phpdoc/en/functions/array.xml:1.77  Sat Jul  7 17:27:04 2001
+++ phpdoc/en/functions/array.xml       Sat Jul  7 18:11:15 2001
@@ -879,7 +879,7 @@
      the <parameter>array</parameter>, shortening the
      <parameter>array</parameter> by one element. 
      If <parameter>array</parameter> is empty (or is not an array), 
-     <varname>&null;</varname> will be returned.
+     &null; will be returned.
     </para>
     <para>
      <example>
@@ -1136,7 +1136,7 @@
      <parameter>array</parameter> by one element and moving everything
      down.
      If <parameter>array</parameter> is empty (or is not an array), 
-     <varname>&null;</varname> will be returned.
+     &null; will be returned.
     </para>
     <para>
      <example>
Index: phpdoc/scripts/tfn.php
diff -u phpdoc/scripts/tfn.php:1.1 phpdoc/scripts/tfn.php:1.2
--- phpdoc/scripts/tfn.php:1.1  Sat Jul  7 17:19:48 2001
+++ phpdoc/scripts/tfn.php      Sat Jul  7 18:11:16 2001
@@ -1,4 +1,4 @@
-<?php
+<?php // vim: ts=4 sw=4
 
 // For use in process.php
 
@@ -17,9 +17,8 @@
        {
                $active = $active && !ereg('<programlisting',$line);
                $active = $active ||  ereg('</programlisting',$line);
-               if ($active)
-                       $lines[$nr] = preg_replace( $from , $to , $line );
-               
+        if ($active)
+                       $lines[$nr] = substr(preg_replace( $from , $to , $line.' ' 
+),0,-1);
        }
 
        $output = implode("\n",$lines);


Reply via email to