Bug #53959 [ReO->Csd]: feature or something old?

From: Date: Tue, 08 Feb 2011 16:29:58 +0000
Subject: Bug #53959 [ReO->Csd]: feature or something old?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-158595@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53959&edit=1 ID: 53959 Updated by: cataphract@php.net Reported by: robbert at persc dot nl Summary: feature or something old? -Status: Re-Opened +Status: Closed Type: Bug Package: Reflection related PHP Version: Irrelevant -Assigned To: +Assigned To: cataphract Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2011-02-08 17:29:36] cataphract@php.net Automatic comment from SVN on behalf of cataphract Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=308127 Log: - Fixed bug #53959 (reflection data for fgetcsv out-of-date). ------------------------------------------------------------------------ [2011-02-08 16:57:45] rquadling@php.net 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. ------------------------------------------------------------------------ [2011-02-08 16:37:04] salathe@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

« previous php.bugs (#158595) next »