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

/PHP_TRUNK/ext/standard/
H A Dstring.c876 char *breakchar = "\n"; local
884 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S|lsb", &text, &linelength, &breakchar, &breakchar_len, &docut) == FAILURE) {
909 if (text->val[current] == breakchar[0]) {
913 newtext->val[current] = breakchar[0];
918 newtext->val[lastspace] = breakchar[0];
948 if (text->val[current] == breakchar[0]
950 && !strncmp(text->val+current, breakchar, breakchar_len)) {
963 memcpy(newtext->val + newtextlen, breakchar, breakchar_len);
977 memcpy(newtext->val + newtextlen, breakchar, breakchar_len);
989 memcpy(newtext->val + newtextlen, breakchar, breakchar_le
[all...]

Completed in 8 milliseconds