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

/PHP_TRUNK/ext/standard/
H A Dstring.c4342 /* {{{ proto string nl2br(string str [, bool is_xhtml])
4351 zend_bool is_xhtml = 1; local
4355 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S|b", &str, &is_xhtml) == FAILURE) {
4362 Z_PARAM_BOOL(is_xhtml)
4392 size_t repl_len = is_xhtml ? (sizeof("<br />") - 1) : (sizeof("<br>") - 1);
4407 if (is_xhtml) {

Completed in 12 milliseconds