Test: /ext/standard/tests/file/bug44034.phpt - Version 5.4.0RC8-dev        

Bug #44034 FILE_IGNORE_NEW_LINES in FILE does not work as expected when lines end in \r\n
Submitted: 2008-02-04 08:40:49 Modified: 2010-06-21 00:29:24
From: php Assigned:
Status: Wont fix Package: Filesystem function related
PHP Version: 6CVS-2008-02-04 (snap) OS: Win2K

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
002+
003+ Warning: file(): data:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug44034.php on line 10
004+
005+ Warning: file(data://text/plain,foo
006+ bar
007+ ): failed to open stream: no suitable wrapper could be found in %s/bug44034.php on line 10
008+ bool(false)
002- array(2) {
003- [0]=>
004- %unicode|string%(3) "foo"
005- [1]=>
006- %unicode|string%(3) "bar"
007- }
009- array(3) {
010- [0]=>
011- %unicode|string%(0) ""
012- [1]=>
013- %unicode|string%(3) "foo"
014- [2]=>
015- %unicode|string%(3) "bar"
016- }
010+
011+ Warning: file(): data:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug44034.php on line 10
012+
013+ Warning: file(data://text/plain,
014+ foo
015+ bar
016+ ): failed to open stream: no suitable wrapper could be found in %s/bug44034.php on line 10
017+ bool(false)
018- array(2) {
019- [0]=>
020- %unicode|string%(3) "foo"
021- [1]=>
022- %unicode|string%(3) "bar"
023- }
019+
020+ Warning: file(): data:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug44034.php on line 10
021+
022+ Warning: file(data://text/plain,foo
023+ bar): failed to open stream: no suitable wrapper could be found in %s/bug44034.php on line 10
024+ bool(false)