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.c310 intern->u.file.enclosure = '"';
644 stmp[0] = intern->u.file.enclosure;
645 pnstr = spl_gen_private_prop_name(spl_ce_SplFileObject, "enclosure", sizeof("enclosure")-1);
2126 static int spl_filesystem_file_read_csv(spl_filesystem_object *intern, char delimiter, char enclosure, char escape, zval *return_value) /* {{{ */ argument
2143 php_fgetcsv(intern->u.file.stream, delimiter, enclosure, escape, buf_len, buf, &intern->u.file.current_zval);
2169 return spl_filesystem_file_read_csv(intern, intern->u.file.delimiter, intern->u.file.enclosure, intern->u.file.escape, NULL);
2573 /* {{{ proto array SplFileObject::fgetcsv([string delimiter [, string enclosure [, escape = '\\']]])
2578 char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure, escap local
2625 char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure, escape = intern->u.file.escape; local
2670 char delimiter = ',', enclosure = '"', escape='\\\\'; local
2713 char delimiter[2], enclosure[2]; local
[all...]
H A Dspl_directory.h100 char enclosure; member in struct:_spl_filesystem_object::__anon208::__anon210
/PHP_TRUNK/ext/standard/
H A Dfile.c1840 /* {{{ proto int fputcsv(resource fp, array fields [, string delimiter [, string enclosure [, string escape_char]]])
1845 char enclosure = '"'; /* allow this to be set as parameter */ local
1875 php_error_docref(NULL, E_WARNING, "enclosure must be a character");
1878 php_error_docref(NULL, E_NOTICE, "enclosure must be a single character");
1881 enclosure = *enclosure_str;
1897 ret = php_fputcsv(stream, fields, delimiter, enclosure, escape_char);
1902 /* {{{ PHPAPI size_t php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char) */
1903 PHPAPI size_t php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char) argument
1914 /* enclose a field that contains a delimiter, an enclosure character, or a newline */
1916 FPUTCSV_FLD_CHK(enclosure) ||
1966 char enclosure = '"'; /* allow this to be set as parameter */ local
2060 php_fgetcsv(php_stream *stream, char delimiter, char enclosure, char escape_char, size_t buf_len, char *buf, zval *return_value) argument
[all...]
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)
2374 ZEND_ARG_INFO(0, enclosure)

Completed in 18 milliseconds