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

/PHP_TRUNK/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_TRUNK/ext/spl/
H A Dspl_directory.h100 char enclosure; member in struct:_spl_filesystem_object::__anon220::__anon222
H A Dspl_directory.c313 intern->u.file.enclosure = '"';
649 stmp[0] = intern->u.file.enclosure;
650 pnstr = spl_gen_private_prop_name(spl_ce_SplFileObject, "enclosure", sizeof("enclosure")-1);
2121 static int spl_filesystem_file_read_csv(spl_filesystem_object *intern, char delimiter, char enclosure, char escape, zval *return_value) /* {{{ */ argument
2139 php_fgetcsv(intern->u.file.stream, delimiter, enclosure, escape, buf_len, buf, &intern->u.file.current_zval);
2164 return spl_filesystem_file_read_csv(intern, intern->u.file.delimiter, intern->u.file.enclosure, intern->u.file.escape, NULL);
2572 /* {{{ proto array SplFileObject::fgetcsv([string delimiter [, string enclosure [, escape = '\\']]])
2577 char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure, escap local
2624 char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure, escape = intern->u.file.escape; local
2669 char delimiter = ',', enclosure = '"', escape='\\\\'; local
2712 char delimiter[2], enclosure[2]; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dfile.h84 PHPAPI void php_fgetcsv(php_stream *stream, char delimiter, char enclosure, char escape_char, size_t buf_len, char *buf, zval *return_value);
85 PHPAPI size_t php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char);
H A Dbasic_functions.c1193 ZEND_ARG_INFO(0, enclosure)
1200 ZEND_ARG_INFO(0, enclosure)
2390 ZEND_ARG_INFO(0, enclosure)
H A Dfile.c1805 /* {{{ proto int fputcsv(resource fp, array fields [, string delimiter [, string enclosure [, string escape_char]]])
1810 char enclosure = '"'; /* allow this to be set as parameter */ local
1840 php_error_docref(NULL, E_WARNING, "enclosure must be a character");
1843 php_error_docref(NULL, E_NOTICE, "enclosure must be a single character");
1846 enclosure = *enclosure_str;
1862 ret = php_fputcsv(stream, fields, delimiter, enclosure, escape_char);
1867 /* {{{ PHPAPI size_t php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char) */
1868 PHPAPI size_t php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char) argument
1879 /* enclose a field that contains a delimiter, an enclosure character, or a newline */
1881 FPUTCSV_FLD_CHK(enclosure) ||
1931 char enclosure = '"'; /* allow this to be set as parameter */ local
2025 php_fgetcsv(php_stream *stream, char delimiter, char enclosure, char escape_char, size_t buf_len, char *buf, zval *return_value) argument
[all...]

Completed in 18 milliseconds