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/spl/
H A Dspl_directory.h99 char delimiter; member in struct:_spl_filesystem_object::__anon220::__anon222
H A Dspl_directory.c312 intern->u.file.delimiter = ',';
644 stmp[0] = intern->u.file.delimiter;
645 pnstr = spl_gen_private_prop_name(spl_ce_SplFileObject, "delimiter", sizeof("delimiter")-1);
2123 static int spl_filesystem_file_read_csv(spl_filesystem_object *intern, char delimiter, char enclosure, char escape, zval *return_value) /* {{{ */ argument
2140 php_fgetcsv(intern->u.file.stream, delimiter, enclosure, escape, buf_len, buf, &intern->u.file.current_zval);
2166 return spl_filesystem_file_read_csv(intern, intern->u.file.delimiter, intern->u.file.enclosure, intern->u.file.escape, NULL);
2567 /* {{{ proto array SplFileObject::fgetcsv([string delimiter [, string enclosure [, escape = '\\']]])
2572 char delimiter = intern->u.file.delimiter, enclosur local
2619 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...]
/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.c1191 ZEND_ARG_INFO(0, delimiter)
1198 ZEND_ARG_INFO(0, delimiter)
2376 ZEND_ARG_INFO(0, delimiter)
H A Dfile.c1791 static const char *php_fgetcsv_lookup_trailing_spaces(const char *ptr, size_t len, const char delimiter) /* {{{ */ argument
1831 /* {{{ proto int fputcsv(resource fp, array fields [, string delimiter [, string enclosure [, string escape_char]]])
1835 char delimiter = ','; /* allow this to be set as parameter */ local
1854 php_error_docref(NULL, E_WARNING, "delimiter must be a character");
1857 php_error_docref(NULL, E_NOTICE, "delimiter must be a single character");
1861 delimiter = *delimiter_str;
1888 ret = php_fputcsv(stream, fields, delimiter, enclosure, escape_char);
1893 /* {{{ PHPAPI size_t php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char) */
1894 PHPAPI size_t php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char) argument
1905 /* enclose a field that contains a delimiter, a
1956 char delimiter = ','; /* 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) argument
[all...]
/PHP_TRUNK/ext/ftp/
H A Dftp.c763 char *endptr, delimiter; local
778 delimiter = *++ptr;
780 if (*ptr == delimiter) {
786 if (ptr == endptr || *endptr != delimiter) {
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c1905 Reads the list of mailboxes and returns a full array of objects containing name, attributes, and delimiter */
1940 delim[0] = (char)cur->delimiter;
1942 add_property_string(&mboxob, "delimiter", delim);
1944 add_property_string(&mboxob, "delimiter", cur->delimiter);
2256 delim[0] = (char)cur->delimiter;
2258 add_property_string(&mboxob, "delimiter", delim);
2260 add_property_string(&mboxob, "delimiter", cur->delimiter);
4929 PHP_IMAP_EXPORT void mm_list(MAILSTREAM *stream, DTYPE delimiter, cha argument
4975 mm_lsub(MAILSTREAM *stream, DTYPE delimiter, char *mailbox, long attributes) argument
[all...]
H A Dphp_imap.h84 DTYPE delimiter; member in struct:php_imap_mailbox_struct
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c415 ZEND_ARG_INFO(0, delimiter)
423 ZEND_ARG_INFO(0, delimiter)
4055 /* {{{ proto array pg_copy_to(resource connection, string table_name [, string delimiter [, string null_as]])
4192 /* {{{ proto bool pg_copy_from(resource connection, string table_name , array rows [, string delimiter [, string null_as]])
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c245 char delimiter; local
282 get to the end without encountering a delimiter. */
290 /* Get the delimiter and display a warning if it is alphanumeric
292 delimiter = *p++;
293 if (isalnum((int)*(unsigned char *)&delimiter) || delimiter == '\\') {
298 start_delimiter = delimiter;
299 if ((pp = strchr("([{< )]}> )]}>", delimiter)))
300 delimiter = pp[5];
301 end_delimiter = delimiter;
[all...]

Completed in 40 milliseconds