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.c318 intern->u.file.enclosure = '"';
655 stmp[0] = intern->u.file.enclosure;
656 pnstr = spl_gen_private_prop_name(spl_ce_SplFileObject, "enclosure", sizeof("enclosure")-1, &pnlen TSRMLS_CC);
2160 static int spl_filesystem_file_read_csv(spl_filesystem_object *intern, char delimiter, char enclosure, char escape, zval *return_value TSRMLS_DC) /* {{{ */ argument
2177 php_fgetcsv(intern->u.file.stream, delimiter, enclosure, escape, buf_len, buf, intern->u.file.current_zval TSRMLS_CC);
2203 return spl_filesystem_file_read_csv(intern, intern->u.file.delimiter, intern->u.file.enclosure, intern->u.file.escape, NULL TSRMLS_CC);
2603 /* {{{ proto array SplFileObject::fgetcsv([string delimiter [, string enclosure [, escape = '\\']]])
2608 char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure, escap local
2655 char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure, escape = intern->u.file.escape; local
2699 char delimiter = ',', enclosure = '"', escape='\\\\'; local
2742 char delimiter[2], enclosure[2]; local
[all...]
H A Dspl_directory.h101 char enclosure; member in struct:_spl_filesystem_object::__anon188::__anon190
/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 Dbasic_functions.c1206 ZEND_ARG_INFO(0, enclosure)
1213 ZEND_ARG_INFO(0, enclosure)
2386 ZEND_ARG_INFO(0, enclosure)
H A Dfile.c1820 /* {{{ proto int fputcsv(resource fp, array fields [, string delimiter [, string enclosure [, string escape_char]]])
1825 char enclosure = '"'; /* allow this to be set as parameter */ local
1855 php_error_docref(NULL TSRMLS_CC, E_WARNING, "enclosure must be a character");
1858 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "enclosure must be a single character");
1861 enclosure = *enclosure_str;
1877 ret = php_fputcsv(stream, fields, delimiter, enclosure, escape_char TSRMLS_CC);
1882 /* {{{ PHPAPI int php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char TSRMLS_DC) */
1883 PHPAPI int php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char TSRMLS_DC) argument
1900 /* enclose a field that contains a delimiter, an enclosure character, or a newline */
1902 FPUTCSV_FLD_CHK(enclosure) ||
1956 char enclosure = '"'; /* allow this to be set as parameter */ local
2051 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...]

Completed in 59 milliseconds