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

/PHP_TRUNK/ext/standard/
H A Dstring.c880 zend_long linelength = 75; local
884 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S|lsb", &text, &linelength, &breakchar, &breakchar_len, &docut) == FAILURE) {
897 if (linelength == 0 && docut) {
912 if (current - laststart >= linelength) {
917 } else if (current - laststart >= linelength && laststart != lastspace) {
926 if (linelength > 0) {
927 chk = (size_t)(text->len/linelength + 1);
942 alloced += (size_t) (((text->len - current + 1)/linelength + 1) * breakchar_len) + 1;
944 chk = (size_t) ((text->len - current)/linelength) + 1;
960 if (current - laststart >= linelength) {
[all...]

Completed in 5 milliseconds