version 1.1.1.3, 2013/07/22 01:32:05
|
version 1.1.1.4, 2013/10/14 08:02:35
|
Line 1581 PHP_FUNCTION(pathinfo)
|
Line 1581 PHP_FUNCTION(pathinfo)
|
const char *p; |
const char *p; |
int idx; |
int idx; |
|
|
/* Have we alrady looked up the basename? */ | /* Have we already looked up the basename? */ |
if (!have_basename && !ret) { |
if (!have_basename && !ret) { |
php_basename(path, path_len, NULL, 0, &ret, &ret_len TSRMLS_CC); |
php_basename(path, path_len, NULL, 0, &ret, &ret_len TSRMLS_CC); |
} |
} |
Line 3253 static void php_similar_str(const char *txt1, int len1
|
Line 3253 static void php_similar_str(const char *txt1, int len1
|
static int php_similar_char(const char *txt1, int len1, const char *txt2, int len2) |
static int php_similar_char(const char *txt1, int len1, const char *txt2, int len2) |
{ |
{ |
int sum; |
int sum; |
int pos1, pos2, max; | int pos1 = 0, pos2 = 0, max; |
|
|
php_similar_str(txt1, len1, txt2, len2, &pos1, &pos2, &max); |
php_similar_str(txt1, len1, txt2, len2, &pos1, &pos2, &max); |
if ((sum = max)) { |
if ((sum = max)) { |
Line 4613 PHPAPI size_t php_strip_tags_ex(char *rbuf, int len, i
|
Line 4613 PHPAPI size_t php_strip_tags_ex(char *rbuf, int len, i
|
char *tbuf, *buf, *p, *tp, *rp, c, lc; |
char *tbuf, *buf, *p, *tp, *rp, c, lc; |
int br, i=0, depth=0, in_q = 0; |
int br, i=0, depth=0, in_q = 0; |
int state = 0, pos; |
int state = 0, pos; |
char *allow_free; | char *allow_free = NULL; |
|
|
if (stateptr) |
if (stateptr) |
state = *stateptr; |
state = *stateptr; |