summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2002-12-18 23:08:22 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2002-12-18 23:08:22 +0000
commit07391c8f283e266405ad0a6d2701444ca0d142b2 (patch)
tree38239cbc59d3a22b8a070da6a12570e877fefeef
parent90741703de9dd8a7c067c6f649500bc43df37fc1 (diff)
downloadphp-git-07391c8f283e266405ad0a6d2701444ca0d142b2.tar.gz
MFH
-rw-r--r--ext/standard/tests/file/bug12556.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/tests/file/bug12556.phpt b/ext/standard/tests/file/bug12556.phpt
index cac77e5f2b..6d8763245f 100644
--- a/ext/standard/tests/file/bug12556.phpt
+++ b/ext/standard/tests/file/bug12556.phpt
@@ -6,6 +6,7 @@ Bug #12556: fgetcvs ignores lengths when quotes not closed
<?php
$fp = fopen(dirname(__FILE__)."/test.csv", "r");
while($line = fgetcsv($fp, 24)) {
+ $line = str_replace("\x0d\x0a", "\x0a", $line);
var_dump($line);
}
fclose($fp);