Home
last modified time | relevance | path

Searched refs:fputcsv (Results 1 – 25 of 43) sorted by path

12

/PHP-5.5/
H A DNEWS775 . Fixed bug #68479 (Added escape parameter to SplFileObject::fputcsv). (Salathe)
1590 . Improved fputcsv() to allow specifying escape character.
7317 - Fixed bug #41865 (fputcsv(): 2nd parameter is not optional). (Jani)
9106 . fputcsv() (David Sklar)
9241 - Fixed fgetcsv() and fputcsv() inconsistency. (Dmitry)
H A DUPGRADING194 - Since 5.5.4, fputcsv() has fifth parameter escape_char, allowing to
/PHP-5.5/ext/spl/
H A Dspl_directory.c2623 SPL_METHOD(SplFileObject, fputcsv) in SPL_METHOD() argument
3007 SPL_ME(SplFileObject, fputcsv, arginfo_file_object_fputcsv, ZEND_ACC_PUBLIC)
/PHP-5.5/ext/spl/tests/
H A DSplFileObject_fgetcsv_basic.phpt6 fputcsv($fp, array(
H A DSplFileObject_fgetcsv_delimiter_basic.phpt6 fputcsv($fp, array(
H A DSplFileObject_fgetcsv_delimiter_error.phpt6 fputcsv($fp, array(
H A DSplFileObject_fgetcsv_enclosure_basic.phpt6 fputcsv($fp, array(
H A DSplFileObject_fgetcsv_enclosure_error.phpt6 fputcsv($fp, array(
H A DSplFileObject_fputcsv.phpt2 SplFileObject::fputcsv(): functionality tests
32 $fo->fputcsv(explode(',', $v));
H A DSplFileObject_fputcsv_002.phpt2 SplFileObject::fputcsv(): Checking data after calling the function
9 $fo->fputcsv($data);
H A DSplFileObject_fputcsv_error.phpt2 SplFileObject::fputcsv(): error conditions
9 echo "-- Testing fputcsv() with zero argument --\n";
10 var_dump( $fo->fputcsv() );
13 echo "-- Testing fputcsv() with more than expected number of arguments --\n";
18 var_dump( $fo->fputcsv($fields, $delim, $enclosure, $escape, $fo) );
28 -- Testing fputcsv() with zero argument --
30 Warning: SplFileObject::fputcsv() expects at least 1 parameter, 0 given in %s on line %d
32 -- Testing fputcsv() with more than expected number of arguments --
34 Warning: SplFileObject::fputcsv() expects at most 4 parameters, 5 given in %s on line %d
H A DSplFileObject_fputcsv_variation1.phpt2 Test fputcsv() : usage variations - with all parameters specified
6 /* Testing fputcsv() to write to a file when all its parameters are provided */
8 echo "*** Testing fputcsv() : with all parameters specified ***\n";
50 var_dump( $fo->fputcsv($csv_field, $delimiter, $enclosure) );
68 *** Testing fputcsv() : with all parameters specified ***
H A DSplFileObject_fputcsv_variation10.phpt2 SplFileObject::fputcsv(): Usage variations -- with line without any CSV fields
6 /* Testing fputcsv() to write to a file when the field has no CSV format */
8 echo "*** Testing fputcsv() : with no CSV format in the field ***\n";
42 var_dump( $fo->fputcsv($csv_field) );
61 *** Testing fputcsv() : with no CSV format in the field ***
H A DSplFileObject_fputcsv_variation11.phpt2 SplFileObject::fputcsv(): Usage variations -- with default enclosure value
6 /* Testing fputcsv() to write to a file when default enclosure value is provided */
8 echo "*** Testing fputcsv() : with default enclosure value ***\n";
50 var_dump( $fo->fputcsv($csv_field, $delimiter) );
68 *** Testing fputcsv() : with default enclosure value ***
H A DSplFileObject_fputcsv_variation12.phpt2 SplFileObject::fputcsv(): Usage variations -- with default enclosure and different delimiter
6 /* Testing fputcsv() to write to a file when default enclosure value and delimiter value
9 echo "*** Testing fputcsv() : with default enclosure and different delimiter value ***\n";
51 var_dump( $fo->fputcsv($csv_field, '+') );
69 *** Testing fputcsv() : with default enclosure and different delimiter value ***
H A DSplFileObject_fputcsv_variation13.phpt2 Test fputcsv() : usage variations - with default enclosure & delimiter of two chars
6 /* Testing fputcsv() to write to a file when default enclosure value and delimiter
9 echo "*** Testing fputcsv() : with default enclosure & delimiter of two chars ***\n";
13 var_dump($fo->fputcsv(array('water', 'fruit'), ',,', '"'));
25 *** Testing fputcsv() : with default enclosure & delimiter of two chars ***
27 Warning: SplFileObject::fputcsv(): delimiter must be a character in %s on line %d
H A DSplFileObject_fputcsv_variation14.phpt2 Test fputcsv() : usage variations - with enclosure & delimiter of two chars
6 /* Testing fputcsv() to write to a file when default enclosure value and delimiter
9 echo "*** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode …
13 var_dump($fo->fputcsv(array('water', 'fruit'), ',,', '""'));
25 *** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode ***
27 Warning: SplFileObject::fputcsv(): enclosure must be a character in %s on line %d
H A DSplFileObject_fputcsv_variation5.phpt2 Test fputcsv() : usage variations - with default arguments value
6 /* Testing fputcsv() to write to a file when default arguments values are considered */
8 echo "*** Testing fputcsv() : with default arguments value ***\n";
50 var_dump( $fo->fputcsv($csv_field) );
68 *** Testing fputcsv() : with default arguments value ***
H A DSplFileObject_fputcsv_variation6.phpt2 Test fputcsv() : usage variations - with different delimiter and enclosure
7 Testing fputcsv() to write to a file when delimiter are different from those
11 echo "*** Testing fputcsv() : with different delimiter and enclosure ***\n";
53 var_dump( $fo->fputcsv($csv_field, '+', '%') );
71 *** Testing fputcsv() : with different delimiter and enclosure ***
H A DSplFileObject_fputcsv_variation7.phpt2 Test fputcsv() : usage variations - with different delimiter and same enclosure
7 Testing fputcsv() to write to a file when enclosure is same but delimiter is different from those
11 echo "*** Testing fputcsv() : with different delimiter and same enclosure ***\n";
53 var_dump( $fo->fputcsv($csv_field, '+', $enclosure) );
71 *** Testing fputcsv() : with different delimiter and same enclosure ***
H A DSplFileObject_fputcsv_variation8.phpt2 Test fputcsv() : usage variations - with same delimiter and different enclosure
7 Testing fputcsv() to write to a file when delimiter is same but enclosure is different from those
11 echo "*** Testing fputcsv() : with same delimiter and different enclosure ***\n";
53 var_dump( $fo->fputcsv($csv_field, $delimiter, '+') );
71 *** Testing fputcsv() : with same delimiter and different enclosure ***
H A Dbug68479.phpt2 Bug #68479 (Escape parameter missing from SplFileObject::fputcsv)
6 $method = new ReflectionMethod('SplFileObject', 'fputcsv');
/PHP-5.5/ext/standard/
H A Dbasic_functions.c3142 PHP_FE(fputcsv, arginfo_fputcsv)
H A Dfile.c1818 PHP_FUNCTION(fputcsv) in PHP_FUNCTION() argument
H A Dfile.h42 PHP_FUNCTION(fputcsv);

Completed in 86 milliseconds

12