Home
last modified time | relevance | path

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

/php-src/ext/standard/
H A Dstring.c713 zend_string *newtext; in PHP_FUNCTION() local
740 newtext = zend_string_init(ZSTR_VAL(text), ZSTR_LEN(text), 0); in PHP_FUNCTION()
748 ZSTR_VAL(newtext)[current] = breakchar[0]; in PHP_FUNCTION() local
753 ZSTR_VAL(newtext)[lastspace] = breakchar[0]; in PHP_FUNCTION() local
758 RETURN_NEW_STR(newtext); in PHP_FUNCTION()
778 newtext = zend_string_extend(newtext, alloced, 0); in PHP_FUNCTION()
812 memcpy(ZSTR_VAL(newtext) + newtextlen, breakchar, breakchar_len); in PHP_FUNCTION()
824 memcpy(ZSTR_VAL(newtext) + newtextlen, breakchar, breakchar_len); in PHP_FUNCTION()
837 ZSTR_VAL(newtext)[newtextlen] = '\0'; in PHP_FUNCTION() local
839 newtext = zend_string_truncate(newtext, newtextlen, 0); in PHP_FUNCTION()
[all …]

Completed in 15 milliseconds