Searched refs:delimiter (Results 1 - 11 of 11) sorted by relevance

/PHP_TRUNK/ext/spl/internal/
H A Dsplfileobject.inc29 private $delimiter= ',';
73 * @param delimiter character used as field separator
77 function fgetcsv($delimiter = NULL, $enclosure = NULL)
84 $delimiter = $this->delimiter;
91 return fgetcsv($this->fp, $this->max_len, $delimiter, $enclosure);
95 * Set the delimiter and enclosure character used in fgetcsv
97 * @param delimiter new delimiter, defaults to ','
100 function setCsvControl($delimiter
[all...]
/PHP_TRUNK/ext/imap/
H A Dphp_imap.h82 DTYPE delimiter; member in struct:php_imap_mailbox_struct
H A Dphp_imap.c1877 Reads the list of mailboxes and returns a full array of objects containing name, attributes, and delimiter */
1911 delim[0] = (char)cur->delimiter;
1913 add_property_string(&mboxob, "delimiter", delim);
1915 add_property_string(&mboxob, "delimiter", cur->delimiter);
2216 delim[0] = (char)cur->delimiter;
2218 add_property_string(&mboxob, "delimiter", delim);
2220 add_property_string(&mboxob, "delimiter", cur->delimiter);
4867 PHP_IMAP_EXPORT void mm_list(MAILSTREAM *stream, DTYPE delimiter, cha argument
4914 mm_lsub(MAILSTREAM *stream, DTYPE delimiter, char *mailbox, long attributes) argument
[all...]
/PHP_TRUNK/ext/ftp/
H A Dftp.c731 char *endptr, delimiter; local
746 delimiter = *++ptr;
748 if (*ptr == delimiter) {
754 if (ptr == endptr || *endptr != delimiter) {
/PHP_TRUNK/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 size_t php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char TSRMLS_DC);
H A Dfile.c1806 static const char *php_fgetcsv_lookup_trailing_spaces(const char *ptr, size_t len, const char delimiter TSRMLS_DC) /* {{{ */
1846 /* {{{ proto int fputcsv(resource fp, array fields [, string delimiter [, string enclosure [, string escape_char]]])
1850 char delimiter = ','; /* allow this to be set as parameter */ local
1869 php_error_docref(NULL TSRMLS_CC, E_WARNING, "delimiter must be a character");
1872 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "delimiter must be a single character");
1876 delimiter = *delimiter_str;
1903 ret = php_fputcsv(stream, fields, delimiter, enclosure, escape_char TSRMLS_CC);
1908 /* {{{ PHPAPI size_t php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char TSRMLS_DC) */
1909 PHPAPI size_t php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char TSRMLS_DC) argument
1919 /* enclose a field that contains a delimiter, a
1970 char delimiter = ','; /* allow this to be set as parameter */ local
2065 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.c1195 ZEND_ARG_INFO(0, delimiter)
1202 ZEND_ARG_INFO(0, delimiter)
2376 ZEND_ARG_INFO(0, delimiter)
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c233 char delimiter; local
281 get to the end without encountering a delimiter. */
289 /* Get the delimiter and display a warning if it is alphanumeric
291 delimiter = *p++;
292 if (isalnum((int)*(unsigned char *)&delimiter) || delimiter == '\\') {
297 start_delimiter = delimiter;
298 if ((pp = strchr("([{< )]}> )]}>", delimiter)))
299 delimiter = pp[5];
300 end_delimiter = delimiter;
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c309 intern->u.file.delimiter = ',';
639 stmp[0] = intern->u.file.delimiter;
640 pnstr = spl_gen_private_prop_name(spl_ce_SplFileObject, "delimiter", sizeof("delimiter")-1 TSRMLS_CC);
2128 static int spl_filesystem_file_read_csv(spl_filesystem_object *intern, char delimiter, char enclosure, char escape, zval *return_value TSRMLS_DC) /* {{{ */ argument
2145 php_fgetcsv(intern->u.file.stream, delimiter, enclosure, escape, buf_len, buf, &intern->u.file.current_zval TSRMLS_CC);
2171 return spl_filesystem_file_read_csv(intern, intern->u.file.delimiter, intern->u.file.enclosure, intern->u.file.escape, NULL TSRMLS_CC);
2574 /* {{{ proto array SplFileObject::fgetcsv([string delimiter [, string enclosure [, escape = '\\']]])
2579 char delimiter = intern->u.file.delimiter, enclosur local
2626 char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure, escape = intern->u.file.escape; local
2664 char delimiter = ',', enclosure = '"', escape='\\\\'; local
2707 char delimiter[2], enclosure[2]; local
[all...]
H A Dspl_directory.h99 char delimiter; member in struct:_spl_filesystem_object::__anon44::__anon46
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c414 ZEND_ARG_INFO(0, delimiter)
422 ZEND_ARG_INFO(0, delimiter)
3998 /* {{{ proto array pg_copy_to(resource connection, string table_name [, string delimiter [, string null_as]])
4134 /* {{{ proto bool pg_copy_from(resource connection, string table_name , array rows [, string delimiter [, string null_as]])

Completed in 40 milliseconds