Skip to content

Commit 2772718

Browse files
committed
fgetcsv accepts null for $length
1 parent b8a871d commit 2772718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/functionMap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2934,7 +2934,7 @@
29342934
'ffmpeg_movie::hasAudio' => ['bool'],
29352935
'ffmpeg_movie::hasVideo' => ['bool'],
29362936
'fgetc' => ['string|false', 'fp'=>'resource'],
2937-
'fgetcsv' => ['list<string>|array{0: null}|false|null', 'fp'=>'resource', 'length='=>'0|positive-int', 'delimiter='=>'string', 'enclosure='=>'string', 'escape='=>'string'],
2937+
'fgetcsv' => ['list<string>|array{0: null}|false|null', 'fp'=>'resource', 'length='=>'0|positive-int|null', 'delimiter='=>'string', 'enclosure='=>'string', 'escape='=>'string'],
29382938
'fgets' => ['string|false', 'fp'=>'resource', 'length='=>'0|positive-int'],
29392939
'fgetss' => ['string|false', 'fp'=>'resource', 'length='=>'0|positive-int', 'allowable_tags='=>'string'],
29402940
'file' => ['list<string>|false', 'filename'=>'string', 'flags='=>'int', 'context='=>'resource'],

0 commit comments

Comments
 (0)