Edit report at http://bugs.php.net/bug.php?id=53959&edit=1

 ID:                 53959
 Updated by:         cataphr...@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] cataphr...@php.net

Automatic comment from SVN on behalf of cataphract
Revision: http://svn.php.net/viewvc/?view=revision&revision=308127
Log: - Fixed bug #53959 (reflection data for fgetcsv out-of-date).

------------------------------------------------------------------------
[2011-02-08 16:57:45] rquadl...@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] 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

Reply via email to