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

/PHP_5_6/ext/standard/
H A Dstring.c886 int textlen, breakcharlen = 1, newtextlen, chk; local
892 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lsb", &text, &textlen, &linelength, &breakchar, &breakcharlen, &docut) == FAILURE) {
900 if (breakcharlen == 0) {
912 if (breakcharlen == 1 && !docut) {
936 newtext = safe_emalloc(chk, breakcharlen, textlen + 1);
937 alloced = textlen + chk * breakcharlen + 1;
940 alloced = textlen * (breakcharlen + 1) + 1;
941 newtext = safe_emalloc(textlen, (breakcharlen + 1), 1);
950 alloced += (int) (((textlen - current + 1)/linelength + 1) * breakcharlen) + 1;
957 && current + breakcharlen < textle
[all...]

Completed in 5 milliseconds