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

/PHP_5_6/ext/spl/internal/
H A Dsplfileobject.inc30 private $enclosure= '"';
74 * @param enclosure end of
77 function fgetcsv($delimiter = NULL, $enclosure = NULL)
86 $enclosure = $this->enclosure;
91 return fgetcsv($this->fp, $this->max_len, $delimiter, $enclosure);
95 * Set the delimiter and enclosure character used in fgetcsv
98 * @param enclosure new enclosure, defaults to '"'
100 function setCsvControl($delimiter = ';', $enclosure
[all...]
/PHP_5_6/ext/spl/
H A Dspl_directory.h101 char enclosure; member in struct:_spl_filesystem_object::__anon215::__anon217
H A Dspl_directory.c315 intern->u.file.enclosure = '"';
652 stmp[0] = intern->u.file.enclosure;
653 pnstr = spl_gen_private_prop_name(spl_ce_SplFileObject, "enclosure", sizeof("enclosure")-1, &pnlen TSRMLS_CC);
2157 static int spl_filesystem_file_read_csv(spl_filesystem_object *intern, char delimiter, char enclosure, char escape, zval *return_value TSRMLS_DC) /* {{{ */ argument
2174 php_fgetcsv(intern->u.file.stream, delimiter, enclosure, escape, buf_len, buf, intern->u.file.current_zval TSRMLS_CC);
2200 return spl_filesystem_file_read_csv(intern, intern->u.file.delimiter, intern->u.file.enclosure, intern->u.file.escape, NULL TSRMLS_CC);
2600 /* {{{ proto array SplFileObject::fgetcsv([string delimiter [, string enclosure [, escape = '\\']]])
2605 char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure, escap local
2652 char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure, escape = intern->u.file.escape; local
2689 char delimiter = ',', enclosure = '"', escape='\\\\'; local
2732 char delimiter[2], enclosure[2]; local
[all...]
/PHP_5_6/ext/standard/
H A Dfile.h82 PHPAPI void php_fgetcsv(php_stream *stream, char delimiter, char enclosure, char escape_char, size_t buf_len, char *buf, zval *return_value TSRMLS_DC);
83 PHPAPI int php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char TSRMLS_DC);
H A Dfile.c1818 /* {{{ proto int fputcsv(resource fp, array fields [, string delimiter [, string enclosure [, string escape_char]]])
1823 char enclosure = '"'; /* allow this to be set as parameter */ local
1853 php_error_docref(NULL TSRMLS_CC, E_WARNING, "enclosure must be a character");
1856 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "enclosure must be a single character");
1859 enclosure = *enclosure_str;
1875 ret = php_fputcsv(stream, fields, delimiter, enclosure, escape_char TSRMLS_CC);
1880 /* {{{ PHPAPI int php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char TSRMLS_DC) */
1881 PHPAPI int php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char TSRMLS_DC) argument
1898 /* enclose a field that contains a delimiter, an enclosure character, or a newline */
1900 FPUTCSV_FLD_CHK(enclosure) ||
1954 char enclosure = '"'; /* allow this to be set as parameter */ local
2049 php_fgetcsv(php_stream *stream, char delimiter, char enclosure, char escape_char, size_t buf_len, char *buf, zval *return_value TSRMLS_DC) argument
[all...]
H A Dbasic_functions.c1208 ZEND_ARG_INFO(0, enclosure)
1215 ZEND_ARG_INFO(0, enclosure)
2384 ZEND_ARG_INFO(0, enclosure)

Completed in 19 milliseconds