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

/PHP_5_6/ext/standard/
H A Dstring.c874 const char *text, *breakchar = "\n"; local
882 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lsb", &text, &textlen, &linelength, &breakchar, &breakcharlen, &docut) == FAILURE) {
907 if (text[current] == breakchar[0]) {
911 newtext[current] = breakchar[0];
916 newtext[lastspace] = breakchar[0];
946 if (text[current] == breakchar[0]
948 && !strncmp(text+current, breakchar, breakcharlen)) {
961 memcpy(newtext+newtextlen, breakchar, breakcharlen);
975 memcpy(newtext+newtextlen, breakchar, breakcharlen);
987 memcpy(newtext+newtextlen, breakchar, breakcharle
[all...]

Completed in 7 milliseconds