From: Felipe Pena Date: Sun, 10 Feb 2008 03:55:39 +0000 (+0000) Subject: New test X-Git-Tag: RELEASE_2_0_0a1~550 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6420454991f66dff9e6cb455fbf5b6c6d92b0b65;p=php New test --- diff --git a/ext/standard/tests/file/bug42229.phpt b/ext/standard/tests/file/bug42229.phpt new file mode 100644 index 0000000000..1603deaf7b --- /dev/null +++ b/ext/standard/tests/file/bug42229.phpt @@ -0,0 +1,26 @@ +--TEST-- +Bug #42229 (fgetcsv() behaves differently for a file containing '\n' with php5 and php6) +--FILE-- + +--EXPECT-- +array(1) { + [0]=> + string(2) "\n" +} +--UEXPECT-- +array(1) { + [0]=> + unicode(2) "\n" +}