cvs: php4 /ext/standard/tests/file bug12556.phpt
| From: | Moriyoshi Koizumi | Date: | Wed, 18 Dec 2002 23:06:27 +0000 |
| Subject: | cvs: php4 /ext/standard/tests/file bug12556.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17267@lists.php.net to get a copy of this message | ||
moriyoshi Wed Dec 18 18:06:27 2002 EDT
Modified files:
/php4/ext/standard/tests/file bug12556.phpt
Log:
Prevented test failure caused by LF code variety
Index: php4/ext/standard/tests/file/bug12556.phpt
diff -u php4/ext/standard/tests/file/bug12556.phpt:1.2
php4/ext/standard/tests/file/bug12556.phpt:1.3
--- php4/ext/standard/tests/file/bug12556.phpt:1.2 Thu Dec 5 15:01:19 2002
+++ php4/ext/standard/tests/file/bug12556.phpt Wed Dec 18 18:06:27 2002
@@ -6,6 +6,7 @@
<?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);