summaryrefslogtreecommitdiffstats
path: root/examples/writing.php
diff options
context:
space:
mode:
authorIgnace Nyamagana Butera <nyamsprod@gmail.com>2015-02-16 16:56:58 +0100
committerIgnace Nyamagana Butera <nyamsprod@gmail.com>2015-02-16 16:56:58 +0100
commit2a53469f6d6d07293de4ac1e91fba941590dd7d2 (patch)
tree4112c8a8ae1d1d5e4a4168027fd2b8b6d67c94c0 /examples/writing.php
parent269f03d0a7db2c9c66b4ff5fb463ca1aab1ae2a7 (diff)
downloadcsv-2a53469f6d6d07293de4ac1e91fba941590dd7d2.zip
csv-2a53469f6d6d07293de4ac1e91fba941590dd7d2.tar.gz
csv-2a53469f6d6d07293de4ac1e91fba941590dd7d2.tar.bz2
update examples directory
Diffstat (limited to 'examples/writing.php')
-rwxr-xr-xexamples/writing.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/writing.php b/examples/writing.php
index c297f9b..e4ac6c6 100755
--- a/examples/writing.php
+++ b/examples/writing.php
@@ -8,7 +8,6 @@ $writer = Writer::createFromFileObject(new SplTempFileObject()); //the CSV file
$writer->setDelimiter("\t"); //the delimiter will be the tab character
$writer->setNewline("\r\n"); //use windows line endings for compatibility with some csv libraries
$writer->setEncodingFrom("utf-8");
-$writer->setNullHandlingMode(Writer::NULL_AS_EMPTY); //if a null content cell is encountered it will be converted into a empty content
$headers = ["position" , "team", "played", "goals difference", "points"];
$writer->insertOne($headers);