techtonik               Sat Nov 20 18:35:40 2004 EDT

  Modified files:              
    /phpdoc/scripts     genfuncindex.php 
  Log:
  do something with function names actually (that means lowercase them) =)
  
http://cvs.php.net/diff.php/phpdoc/scripts/genfuncindex.php?r1=1.12&r2=1.13&ty=u
Index: phpdoc/scripts/genfuncindex.php
diff -u phpdoc/scripts/genfuncindex.php:1.12 
phpdoc/scripts/genfuncindex.php:1.13
--- phpdoc/scripts/genfuncindex.php:1.12        Fri Nov 19 06:07:43 2004
+++ phpdoc/scripts/genfuncindex.php     Sat Nov 20 18:35:39 2004
@@ -16,7 +16,7 @@
   | Authors:    Hartmut Holzgraefe <[EMAIL PROTECTED]>                    |
   +----------------------------------------------------------------------+
  
-  $Id: genfuncindex.php,v 1.12 2004/11/19 11:07:43 techtonik Exp $
+  $Id: genfuncindex.php,v 1.13 2004/11/20 23:35:39 techtonik Exp $
 */
 echo "<" . "?xml version='1.0' encoding='iso-8859-1'?" . ">\n";
 ?>
@@ -32,8 +32,8 @@
 foreach ( $functions as $funcentry ) {
     list($function,$description) = explode(" - ",$funcentry);
 
-    if (!ereg("::|->",$function)) {
-        strtolower(trim($function));
+    if (!ereg("::|->", $function)) {
+        $function = strtolower(trim($function));
     }
     if (!ereg("^[[:alnum:]]",$function)) continue;
 

Reply via email to