Edit report at http://bugs.php.net/bug.php?id=53959&edit=1
ID: 53959 Updated by: rquadl...@php.net Reported by: robbert at persc dot nl Summary: feature or something old? -Status: Bogus +Status: Re-Opened -Type: Documentation Problem +Type: Bug -Package: Unknown/Other Function +Package: Reflection related PHP Version: Irrelevant Block user comment: N Private report: N New Comment: There is a bug here with the reflection of fgetcsv. php -n --rf fgetcsv shows ... Function [ <internal:standard> function fgetcsv ] { - Parameters [4] { Parameter #0 [ <required> $fp ] Parameter #1 [ <optional> $length ] Parameter #2 [ <optional> $delimiter ] Parameter #3 [ <optional> $enclosure ] } } The attached patch fixes the reflection. Previous Comments: ------------------------------------------------------------------------ [2011-02-08 16:37:04] sala...@php.net As documented on that page, there are five parameters and the fifth parameter "escape" was added with PHP 5.3.0 (see the Changelog section). ------------------------------------------------------------------------ [2011-02-08 16:06:35] robbert at persc dot nl Description: ------------ --- >From manual page: http://www.php.net/function.fgetcsv#Description --- The documentation says you can use 5 different parameters, but there are only 4 allowed. So is this a feature or something from an older php version? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53959&edit=1