tony2001                Tue Jun  5 13:37:05 2007 UTC

  Modified files:              
    /php-src/ext/standard       string.c 
  Log:
  fix folding
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.639&r2=1.640&diff_format=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.639 php-src/ext/standard/string.c:1.640
--- php-src/ext/standard/string.c:1.639 Sun Jun  3 18:53:51 2007
+++ php-src/ext/standard/string.c       Tue Jun  5 13:37:05 2007
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: string.c,v 1.639 2007/06/03 18:53:51 iliaa Exp $ */
+/* $Id: string.c,v 1.640 2007/06/05 13:37:05 tony2001 Exp $ */
 
 /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
 
@@ -212,7 +212,7 @@
 }
 /* }}} */
 
-static void php_spn_common_handler(INTERNAL_FUNCTION_PARAMETERS, int behavior)
+static void php_spn_common_handler(INTERNAL_FUNCTION_PARAMETERS, int behavior) 
/* {{{ */
 {
        void *s1, *s2;
        int len1, len2;
@@ -288,6 +288,7 @@
        }
 
 }
+/* }}} */
 
 /* {{{ proto int strspn(string str, string mask [, start [, len]]) U
    Finds length of initial segment consisting entirely of characters found in 
mask. If start or/and length is provided works like 
strspn(substr($s,$start,$len),$good_chars) */
@@ -1645,7 +1646,6 @@
 }
 /* }}} */
 
-
 /* {{{ proto string strtotitle(string str) U
    Makes a string titlecase */
 PHP_FUNCTION(strtotitle)
@@ -3960,7 +3960,7 @@
 }
 /* }}} */
 
-static HashTable* php_u_strtr_array_prepare_hashtable(HashTable *hash, int 
*minlen_out, int *maxlen_out TSRMLS_DC)
+static HashTable* php_u_strtr_array_prepare_hashtable(HashTable *hash, int 
*minlen_out, int *maxlen_out TSRMLS_DC) /* {{{ */
 {
        HashTable *tmp_hash = emalloc(sizeof(HashTable));
        HashPosition hpos;
@@ -4014,6 +4014,7 @@
        *maxlen_out = maxlen;
        return tmp_hash;
 }
+/* }}} */
 
 /* {{{ php_u_strtr_array
  */
@@ -6516,10 +6517,11 @@
 }
 /* }}} */
 
-PHPAPI size_t php_strip_tags(char *rbuf, int len, int *stateptr, char *allow, 
int allow_len)
+PHPAPI size_t php_strip_tags(char *rbuf, int len, int *stateptr, char *allow, 
int allow_len) /* {{{ */
 {
        return php_strip_tags_ex(rbuf, len, stateptr, allow, allow_len, 0);
 }
+/* }}} */
 
 /* {{{ php_strip_tags
  */
@@ -7391,7 +7393,6 @@
 U_STRING_DECL(u_rot13_from, 
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", sizeof(rot13_from)-1);
 U_STRING_DECL(u_rot13_to, 
"nopqrstuvwxyzabcdefghijklmNOPQRSTUVWXYZABCDEFGHIJKLM", sizeof(rot13_to)-1);
 
-
 /* {{{ proto string str_rot13(string str) U
    Perform the rot13 transform on a string */
 PHP_FUNCTION(str_rot13)
@@ -7422,8 +7423,7 @@
 }
 /* }}} */
 
-
-static void php_string_shuffle(zstr str, int len, zend_uchar str_type 
TSRMLS_DC)
+static void php_string_shuffle(zstr str, int len, zend_uchar str_type 
TSRMLS_DC) /* {{{ */
 {
        int rnd_idx, n_left;
        char temp;
@@ -7455,7 +7455,7 @@
                }
        }
 }
-
+/* }}} */
 
 /* {{{ proto void str_shuffle(string str) U
    Shuffles string. One permutation of all possible is created */

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

Reply via email to