http://pear.php.net/
pear-webmaster@lists.php.netpear-webmaster@lists.php.neten-usLatest releases of fileThe latest releases for the package fileFile 1.4.1
http://pear.php.net/package/File/download/1.4.1/
QA release<br />
Fix tests<br />
<br />
Bug #19371 error during installation with pyrus
2012-04-06T07:17:35-05:00doconnorFile 1.4.0
http://pear.php.net/package/File/download/1.4.0/
Re-release of 1.4.0<br />
Original release of 1.4.0 was released as alpha instead of stable.
2011-03-19T18:17:57-05:00dufuzFile 1.4.0alpha1
http://pear.php.net/package/File/download/1.4.0alpha1/
- Split File_CSV from File into it's own package<br />
- Split File_Util from File into it's own package
2008-10-26T17:09:12-05:00dufuzFile 1.3.0
http://pear.php.net/package/File/download/1.3.0/
No code changes in this release
2007-06-01T17:31:45-05:00dufuzFile 1.3.0RC1
http://pear.php.net/package/File/download/1.3.0RC1/
No code changes in this release
2007-05-20T08:32:21-05:00dufuzFile 1.3.0a1
http://pear.php.net/package/File/download/1.3.0a1/
* Fixed Bug #5045 File::stripTrailingSeparators should not rtrim the path "/" on linux (mike)<br />
* Fixed Bug #5464 fwrite returns false but file checks for -1 (mike)<br />
* Request #6316 File_CSV doesn't allow to read data from a file and after write data to the same file (helgi)<br />
* Request #7559 File_Util::isIncludable() (file exists within include_path) (mike)<br />
* Fixed Bug #7789 File::_getFilePointer() cannot return a reference (mike)<br />
* Added more CSV tests (helgi)<br />
* Moving the PHP dep to 4.3 to follow PEAR, adding dep on PEAR 1.5.0 to be sure people run proper PEAR version (helgi)<br />
* File_CSV: add b mode to fopen in disoverFormat for portability (http://www.php.net/fopen)<br />
* Fixed Bug #6447 Package will not install (helgi)<br />
* Fixed Bug #5553 File_CSV should detect an occurance of delimeter in field and escape (helgi)<br />
* Fixed Bug #4792 File_CSV: Last column keeps line breaks (helgi)<br />
* Fixed Bug #10721 File_CSV: discoverFormat() can't handle large files (ieure)<br />
* Fixed Bug #10883 Test 019 mislabeled<br />
* Fixed Bug #10882 Tests fail (helgi / cipri)<br />
* File_CSV: discoverFormat now uses the first 30 lines of the file. (helgi)<br />
* File_CSV: supports reading ="" quoting, i.e. Excel only way of being smart with items starting with 00 and spaces and such (helgi)<br />
* File_CSV: Now handles headers, pass header = true in the config for it to process it, we recommend reading like this:<br />
$data = array();<br />
File_CSV::read($file, $conf);<br />
while ($res = File_CSV::read($file, $conf)) {<br />
$data[] = $res;<br />
}<br />
<br />
Note the first read call outside the while loop, it's because we don't want to include the header in the final data since<br />
the first read gives that back just in case someone needs to do something else with those headers.<br />
Passing this csv and the correct config:<br />
header,body,foot<br />
I'm a little header,this is my teapot,can't be!<br />
<br />
Will give you this:<br />
Array<br />
(<br />
[0] => Array<br />
(<br />
[header] => I'm a little header<br />
[body] => this is my teapot<br />
[foot] => can't be!<br />
)<br />
<br />
)<br />
<br />
detection of headers will never be added since CSV has no standard for defining what is a header and what is not (helgi)
2007-05-13T11:31:07-05:00dufuzFile 1.2.2
http://pear.php.net/package/File/download/1.2.2/
* Fixed bug #5071 install File throws XML error (helgi)
2005-09-10T08:20:34-05:00dufuzFile 1.2.1
http://pear.php.net/package/File/download/1.2.1/
* Fixed bug in File::close() on Windows (mike)<br />
* Fixed bug #4835 - File::readLine() causes memory exhaustion (mike)<br />
* Fixed bug #4911 - Bad test in File_Util::isAbsolute() (mike)<br />
* Fixed bug #5032 - Reverted File::buildPath() to original implementation (mike)<br />
* Fixed bug #4334 - File_CSV::discoverFormat does not detect quotes in single column (helgi) (thanks to luke_richards_99 at yahoo dot co dot uk)<br />
* Fixed bug #4559 - Wrong PHP version check in File_CSV (helgi)<br />
* Fixed bug #4295 - resetPointer method added to allow for reseting the file pointer to the beginning (helgi)<br />
+ added test for bug #4334 (helgi)
2005-08-09T04:24:41-05:00mikeFile 1.2.0
http://pear.php.net/package/File/download/1.2.0/
* Fixed package.xml for PEAR 1.4 (dufuz)<br />
+ added FILE_SORT_RANDOM mode (mike)<br />
+ added File_Util::switchExt() (mike)
2005-03-30T13:38:19-05:00mikeFile 1.1.0
http://pear.php.net/package/File/download/1.1.0/
* Fixed bug in File_Util::sortFiles() (mike, Demian Turner)<br />
* Fixed infinity loop in readQuoted (File_CSV) when fields are more then expected (dufuz)<br />
* Fixed File_CSV tests (dufuz)
2005-02-21T08:02:50-05:00mike