소스 검색

Removed the count_chars funtion (not in use, and exists in PHP4.0b4)

pallo 25 년 전
부모
커밋
b650a80da1
1개의 변경된 파일0개의 추가작업 그리고 16개의 파일을 삭제
  1. 0 16
      functions/strings.php

+ 0 - 16
functions/strings.php

@@ -153,20 +153,4 @@
    function replace_escaped_spaces ($string) {
       return str_replace(" ", " ", $string);
    }
-
-   function count_chars($string) {
-      for ($i = 0; $i < strlen($string); $i++) {
-         $ch = substr($string, $i, 1);
-         $size++;
-         if ($ch == "\\") {
-            $i++;   
-            $ch = substr($string, $i, 1);
-            if ($ch == "n")
-               $i--;
-            if ($ch == "r")
-               $i--;
-         }   
-      }   
-      return $size;
-   }
 ?>