Skip to content

Commit 4a38b62

Browse files
bmewburnisfedorov
authored andcommitted
Change fputcsv $eol default arg from PHP_EOL to "\n"
1 parent dc553ff commit 4a38b62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

standard/standard_6.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ function fputcsv(
663663
string $separator = ",",
664664
string $enclosure = '"',
665665
#[PhpStormStubsElementAvailable(from: '7.0')] string $escape = "\\",
666-
#[PhpStormStubsElementAvailable('8.1')] string $eol = PHP_EOL
666+
#[PhpStormStubsElementAvailable('8.1')] string $eol = "\n"
667667
): int|false {}
668668

669669
/**

0 commit comments

Comments
 (0)