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

/PHP_TRUNK/ext/standard/
H A Dstring.c944 char *breakchar = "\n"; local
952 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S|lsb", &text, &linelength, &breakchar, &breakchar_len, &docut) == FAILURE) {
977 if (ZSTR_VAL(text)[current] == breakchar[0]) {
981 ZSTR_VAL(newtext)[current] = breakchar[0];
986 ZSTR_VAL(newtext)[lastspace] = breakchar[0];
1016 if (ZSTR_VAL(text)[current] == breakchar[0]
1018 && !strncmp(ZSTR_VAL(text) + current, breakchar, breakchar_len)) {
1031 memcpy(ZSTR_VAL(newtext) + newtextlen, breakchar, breakchar_len);
1045 memcpy(ZSTR_VAL(newtext) + newtextlen, breakchar, breakchar_len);
1057 memcpy(ZSTR_VAL(newtext) + newtextlen, breakchar, breakchar_le
[all...]

Completed in 7 milliseconds