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

/PHP_TRUNK/ext/standard/
H A Dstring.c883 zend_long linelength = 75; local
887 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S|lsb", &text, &linelength, &breakchar, &breakchar_len, &docut) == FAILURE) {
900 if (linelength == 0 && docut) {
915 if (current - laststart >= linelength) {
920 } else if (current - laststart >= linelength && laststart != lastspace) {
929 if (linelength > 0) {
930 chk = (size_t)(text->len/linelength + 1);
945 alloced += (size_t) (((text->len - current + 1)/linelength + 1) * breakchar_len) + 1;
947 chk = (size_t) ((text->len - current)/linelength) + 1;
963 if (current - laststart >= linelength) {
[all...]

Completed in 5 milliseconds