Searched refs:newtext (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dstring.c955 zend_string *newtext; local
978 newtext = zend_string_init(ZSTR_VAL(text), ZSTR_LEN(text), 0);
986 ZSTR_VAL(newtext)[current] = breakchar[0];
991 ZSTR_VAL(newtext)[lastspace] = breakchar[0];
996 RETURN_NEW_STR(newtext);
1001 newtext = zend_string_alloc(chk * breakchar_len + ZSTR_LEN(text), 0);
1006 newtext = zend_string_alloc(ZSTR_LEN(text) * (breakchar_len + 1), 0);
1016 newtext = zend_string_extend(newtext, alloced, 0);
1024 memcpy(ZSTR_VAL(newtext)
[all...]

Completed in 6 milliseconds