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

/PHP_TRUNK/ext/standard/
H A Dstring.c948 zend_long linelength = 75; local
952 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S|lsb", &text, &linelength, &breakchar, &breakchar_len, &docut) == FAILURE) {
965 if (linelength == 0 && docut) {
980 if (current - laststart >= linelength) {
985 } else if (current - laststart >= linelength && laststart != lastspace) {
994 if (linelength > 0) {
995 chk = (size_t)(ZSTR_LEN(text)/linelength + 1);
1010 alloced += (size_t) (((ZSTR_LEN(text) - current + 1)/linelength + 1) * breakchar_len) + 1;
1012 chk = (size_t) ((ZSTR_LEN(text) - current)/linelength) + 1;
1028 if (current - laststart >= linelength) {
[all...]

Completed in 6 milliseconds