Searched refs:newtext (Results 1 – 1 of 1) sorted by relevance
/PHP-8.2/ext/standard/ |
H A D | string.c | 853 zend_string *newtext; in PHP_FUNCTION() local 880 newtext = zend_string_init(ZSTR_VAL(text), ZSTR_LEN(text), 0); in PHP_FUNCTION() 888 ZSTR_VAL(newtext)[current] = breakchar[0]; in PHP_FUNCTION() local 893 ZSTR_VAL(newtext)[lastspace] = breakchar[0]; in PHP_FUNCTION() local 898 RETURN_NEW_STR(newtext); in PHP_FUNCTION() 918 newtext = zend_string_extend(newtext, alloced, 0); in PHP_FUNCTION() 952 memcpy(ZSTR_VAL(newtext) + newtextlen, breakchar, breakchar_len); in PHP_FUNCTION() 964 memcpy(ZSTR_VAL(newtext) + newtextlen, breakchar, breakchar_len); in PHP_FUNCTION() 977 ZSTR_VAL(newtext)[newtextlen] = '\0'; in PHP_FUNCTION() local 979 newtext = zend_string_truncate(newtext, newtextlen, 0); in PHP_FUNCTION() [all …]
|
Completed in 15 milliseconds