Searched defs:is_xhtml (Results 1 - 1 of 1) sorted by relevance

/PHP_5_4/ext/standard/
H A Dstring.c4287 /* {{{ proto string nl2br(string str [, bool is_xhtml])
4297 zend_bool is_xhtml = 1; local
4299 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &str, &str_len, &is_xhtml) == FAILURE) {
4329 size_t repl_len = is_xhtml ? (sizeof("<br />") - 1) : (sizeof("<br>") - 1);
4343 if (is_xhtml) {

Completed in 56 milliseconds