/usr/share/php/.registry/file.reg is in php-file 1.3.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | a:23:{s:7:"attribs";a:6:{s:15:"packagerversion";s:5:"1.6.0";s:7:"version";s:3:"2.0";s:5:"xmlns";s:35:"http://pear.php.net/dtd/package-2.0";s:11:"xmlns:tasks";s:33:"http://pear.php.net/dtd/tasks-1.0";s:9:"xmlns:xsi";s:41:"http://www.w3.org/2001/XMLSchema-instance";s:18:"xsi:schemaLocation";s:147:"http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd";}s:4:"name";s:4:"File";s:7:"channel";s:12:"pear.php.net";s:7:"summary";s:53:"Common file and directory routines, also CSV handling";s:11:"description";s:144:"Provides easy access to read/write to files along with
some common routines to deal with paths.
Also provides interface for handling CSV files.";s:4:"lead";a:4:{i:0;a:4:{s:4:"name";s:13:"Richard Heyes";s:4:"user";s:7:"richard";s:5:"email";s:15:"richard@php.net";s:6:"active";s:2:"no";}i:1;a:4:{s:4:"name";s:8:"Tal Peer";s:4:"user";s:3:"tal";s:5:"email";s:11:"tal@php.net";s:6:"active";s:2:"no";}i:2;a:4:{s:4:"name";s:15:"Michael Wallner";s:4:"user";s:4:"mike";s:5:"email";s:12:"mike@php.net";s:6:"active";s:2:"no";}i:3;a:4:{s:4:"name";s:13:"Helgi Þormar";s:4:"user";s:5:"dufuz";s:5:"email";s:13:"helgi@php.net";s:6:"active";s:3:"yes";}}s:9:"developer";a:2:{i:0;a:4:{s:4:"name";s:14:"Tomas V.V. Cox";s:4:"user";s:3:"cox";s:5:"email";s:15:"cox@idecnet.com";s:6:"active";s:2:"no";}i:1;a:4:{s:4:"name";s:19:"Cipriano Groenendal";s:4:"user";s:5:"cipri";s:5:"email";s:13:"cipri@php.net";s:6:"active";s:3:"yes";}}s:4:"date";s:10:"2007-06-01";s:4:"time";s:8:"22:29:41";s:7:"version";a:2:{s:7:"release";s:5:"1.3.0";s:3:"api";s:5:"1.3.0";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:3:"PHP";}s:5:"notes";s:31:"No code changes in this release";s:8:"contents";a:1:{s:3:"dir";a:2:{s:7:"attribs";a:1:{s:4:"name";s:1:"/";}s:4:"file";a:3:{i:0;a:1:{s:7:"attribs";a:2:{s:4:"name";s:12:"File/CSV.php";s:4:"role";s:3:"php";}}i:1;a:1:{s:7:"attribs";a:2:{s:4:"name";s:13:"File/Util.php";s:4:"role";s:3:"php";}}i:2;a:1:{s:7:"attribs";a:2:{s:4:"name";s:8:"File.php";s:4:"role";s:3:"php";}}}}}s:12:"dependencies";a:1:{s:8:"required";a:4:{s:3:"php";a:1:{s:3:"min";s:5:"4.3.0";}s:13:"pearinstaller";a:1:{s:3:"min";s:7:"1.4.0b1";}s:7:"package";a:3:{s:4:"name";s:4:"PEAR";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:5:"1.5.3";}s:9:"extension";a:1:{s:4:"name";s:4:"pcre";}}}s:10:"phprelease";s:0:"";s:9:"changelog";a:1:{s:7:"release";a:17:{i:0;a:5:{s:4:"date";s:10:"2007-05-20";s:7:"version";a:2:{s:7:"release";s:8:"1.3.0RC1";s:3:"api";s:8:"1.3.0RC1";}s:9:"stability";a:2:{s:7:"release";s:4:"beta";s:3:"api";s:6:"stable";}s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:3:"PHP";}s:5:"notes";s:31:"No code changes in this release";}i:1;a:5:{s:4:"date";s:10:"2007-05-13";s:7:"version";a:2:{s:7:"release";s:7:"1.3.0a1";s:3:"api";s:7:"1.3.0a1";}s:9:"stability";a:2:{s:7:"release";s:5:"alpha";s:3:"api";s:6:"stable";}s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:3:"PHP";}s:5:"notes";s:2131:"* Fixed Bug #5045 File::stripTrailingSeparators should not rtrim the path "/" on linux (mike)
* Fixed Bug #5464 fwrite returns false but file checks for -1 (mike)
* Request #6316 File_CSV doesn't allow to read data from a file and after write data to the same file (helgi)
* Request #7559 File_Util::isIncludable() (file exists within include_path) (mike)
* Fixed Bug #7789 File::_getFilePointer() cannot return a reference (mike)
* Added more CSV tests (helgi)
* 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)
* File_CSV: add b mode to fopen in disoverFormat for portability (http://www.php.net/fopen)
* Fixed Bug #6447 Package will not install (helgi)
* Fixed Bug #5553 File_CSV should detect an occurance of delimeter in field and escape (helgi)
* Fixed Bug #4792 File_CSV: Last column keeps line breaks (helgi)
* Fixed Bug #10721 File_CSV: discoverFormat() can't handle large files (ieure)
* Fixed Bug #10883 Test 019 mislabeled
* Fixed Bug #10882 Tests fail (helgi / cipri)
* File_CSV: discoverFormat now uses the first 30 lines of the file. (helgi)
* File_CSV: supports reading ="" quoting, i.e. Excel only way of being smart with items starting with 00 and spaces and such (helgi)
* File_CSV: Now handles headers, pass header = true in the config for it to process it, we recommend reading like this:
$data = array();
File_CSV::read($file, $conf);
while ($res = File_CSV::read($file, $conf)) {
$data[] = $res;
}
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
the first read gives that back just in case someone needs to do something else with those headers.
Passing this csv and the correct config:
header,body,foot
I'm a little header,this is my teapot,can't be!
Will give you this:
Array
(
[0] => Array
(
[header] => I'm a little header
[body] => this is my teapot
[foot] => can't be!
)
)
detection of headers will never be added since CSV has no standard for defining what is a header and what is not (helgi)";}i:2;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"1.2.2";s:3:"api";s:5:"1.2.2";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2005-08-12";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:3:"PHP";}s:5:"notes";s:55:"* Fixed bug #5071 install File throws XML error (helgi)";}i:3;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"1.2.1";s:3:"api";s:5:"1.2.1";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2005-08-00";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:3:"PHP";}s:5:"notes";s:613:"* Fixed bug in File::close() on Windows (mike)
* Fixed bug #4835 - File::readLine() causes memory exhaustion (mike)
* Fixed bug #4911 - Bad test in File_Util::isAbsolute() (mike)
* Fixed bug #5032 - Reverted File::buildPath() to original implementation (mike)
* 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)
* Fixed bug #4559 - Wrong PHP version check in File_CSV (helgi)
* Fixed bug #4295 - resetPointer method added to allow for reseting the file pointer to the beginning (helgi)
+ added test for bug #4334 (helgi)";}i:4;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"1.2.0";s:3:"api";s:5:"1.2.0";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2005-03-30";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:3:"PHP";}s:5:"notes";s:115:"* Fixed package.xml for PEAR 1.4 (helgi)
+ added FILE_SORT_RANDOM mode (mike)
+ added File_Util::switchExt() (mike)";}i:5;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"1.1.0";s:3:"api";s:5:"1.1.0";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2005-02-21";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:3:"PHP";}s:5:"notes";s:180:"* Fixed bug in File_Util::sortFiles() (mike, Demian Turner)
* Fixed infinity loop in readQuoted (File_CSV) when fields are more then expected (helgi)
* Fixed File_CSV tests (helgi)";}i:6;a:5:{s:7:"version";a:2:{s:7:"release";s:8:"1.1.0RC5";s:3:"api";s:8:"1.1.0RC5";}s:9:"stability";a:2:{s:7:"release";s:4:"beta";s:3:"api";s:4:"beta";}s:4:"date";s:10:"2005-02-02";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:3:"PHP";}s:5:"notes";s:31:"* Bug #3364 fixed, typo (helgi)";}i:7;a:5:{s:7:"version";a:2:{s:7:"release";s:8:"1.1.0RC4";s:3:"api";s:8:"1.1.0RC4";}s:9:"stability";a:2:{s:7:"release";s:4:"beta";s:3:"api";s:4:"beta";}s:4:"date";s:10:"2005-02-02";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:3:"PHP";}s:5:"notes";s:473:"* Required PHP dep now 4.2.0 because of PEAR (helgi)
* Patch from Firman Wandayandi for File_CSV (helgi)
- Fixed bugs: Fields count less nor more than expected handling
- Added Mac EOL support (Only loaded on PHP 4.3.0 and higher)
- Added few tests
* added kind of a filter callback for File_Util::listDir() (mike)
* Fixed Bug #3355 (missing delimiter of preg_quote() in File_Util::buildPath()) (mike)
* Fixed Bug #3357 (infinite loop in File_Util::realPath()) (mike)";}i:8;a:5:{s:7:"version";a:2:{s:7:"release";s:8:"1.1.0RC3";s:3:"api";s:8:"1.1.0RC3";}s:9:"stability";a:2:{s:7:"release";s:4:"beta";s:3:"api";s:4:"beta";}s:4:"date";s:10:"2005-01-13";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:3:"PHP";}s:5:"notes";s:44:"* now really containing the fix for File_CSV";}i:9;a:5:{s:7:"version";a:2:{s:7:"release";s:8:"1.1.0RC2";s:3:"api";s:8:"1.1.0RC2";}s:9:"stability";a:2:{s:7:"release";s:4:"beta";s:3:"api";s:4:"beta";}s:4:"date";s:10:"2005-01-12";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:3:"PHP";}s:5:"notes";s:641:"* added File_Util containing all methods not handling file I/O (mike)
* deprecated methods are now available in File_Util (still in File for BC) (mike)
* fixed bug #2827 (File_CSV::discoverFormat() is unable to discover format in
one column CSV file), allows 1 field per line in discoverFormat as well as
the config overall, with no separator (which is the standard), removed
one error check to fix this issue as well as moving error checking around
in _conf, might give some people issues (can't see how tho), also added a
new param to discoverFormat so one can inject a check for $ as a separator
or something like that (helgi)";}i:10;a:5:{s:7:"version";a:2:{s:7:"release";s:8:"1.1.0RC1";s:3:"api";s:8:"1.1.0RC1";}s:9:"stability";a:2:{s:7:"release";s:4:"beta";s:3:"api";s:4:"beta";}s:4:"date";s:10:"2004-12-17";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:3:"PHP";}s:5:"notes";s:164:"* Fixed Bug #2810 (Can not call readAll two times)
* Fixed file locking
- Code cleanup (vastly)
+ Implemented Request #1542 (File::relativePath(), File::realPath())";}i:11;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"1.0.3";s:3:"api";s:5:"1.0.3";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2003-01-28";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:3:"PHP";}s:5:"notes";s:70:"Fixed handling of paths containing '..' and '~' in File::isAbsolute().";}i:12;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"1.0.2";s:3:"api";s:5:"1.0.2";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2002-05-26";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:3:"PHP";}s:5:"notes";s:69:"Revert to mode specification instead of using _checkAppend() function";}i:13;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"1.0.1";s:3:"api";s:5:"1.0.1";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2002-05-03";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:3:"PHP";}s:5:"notes";s:30:"Bugfix in _checkAppend() usage";}i:14;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"1.0.0";s:3:"api";s:5:"1.0.0";}s:9:"stability";a:2:{s:7:"release";s:6:"stable";s:3:"api";s:6:"stable";}s:4:"date";s:10:"2002-05-02";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:3:"PHP";}s:5:"notes";s:14:"Stable release";}i:15;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"0.9.2";s:3:"api";s:5:"0.9.2";}s:9:"stability";a:2:{s:7:"release";s:4:"beta";s:3:"api";s:4:"beta";}s:4:"date";s:10:"2002-04-24";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:3:"PHP";}s:5:"notes";s:44:"Fixed bug apparent when using fopen wrappers";}i:16;a:5:{s:7:"version";a:2:{s:7:"release";s:5:"0.9.1";s:3:"api";s:5:"0.9.1";}s:9:"stability";a:2:{s:7:"release";s:4:"beta";s:3:"api";s:4:"beta";}s:4:"date";s:10:"2002-04-09";s:7:"license";a:2:{s:7:"attribs";a:1:{s:3:"uri";s:26:"http://www.php.net/license";}s:8:"_content";s:3:"PHP";}s:5:"notes";s:15:"Initial release";}}}s:8:"filelist";a:3:{s:12:"File/CSV.php";a:4:{s:4:"name";s:12:"File/CSV.php";s:4:"role";s:3:"php";s:6:"md5sum";s:32:"59f168bde27f6cad2759fb15411550f7";s:12:"installed_as";s:27:"/usr/share/php/File/CSV.php";}s:13:"File/Util.php";a:4:{s:4:"name";s:13:"File/Util.php";s:4:"role";s:3:"php";s:6:"md5sum";s:32:"95c8e5fcd329193399924078a54da77d";s:12:"installed_as";s:28:"/usr/share/php/File/Util.php";}s:8:"File.php";a:4:{s:4:"name";s:8:"File.php";s:4:"role";s:3:"php";s:6:"md5sum";s:32:"6853dbeae79e28ddb162219b7099a171";s:12:"installed_as";s:23:"/usr/share/php/File.php";}}s:12:"_lastversion";N;s:7:"dirtree";a:2:{s:19:"/usr/share/php/File";b:1;s:14:"/usr/share/php";b:1;}s:3:"old";a:7:{s:7:"version";s:5:"1.3.0";s:12:"release_date";s:10:"2007-06-01";s:13:"release_state";s:6:"stable";s:15:"release_license";s:3:"PHP";s:13:"release_notes";s:31:"No code changes in this release";s:12:"release_deps";a:4:{i:0;a:4:{s:4:"type";s:3:"php";s:3:"rel";s:2:"ge";s:7:"version";s:5:"4.3.0";s:8:"optional";s:2:"no";}i:1;a:6:{s:4:"type";s:3:"pkg";s:7:"channel";s:12:"pear.php.net";s:4:"name";s:4:"PEAR";s:3:"rel";s:2:"ge";s:7:"version";s:7:"1.4.0b1";s:8:"optional";s:2:"no";}i:2;a:6:{s:4:"type";s:3:"pkg";s:7:"channel";s:12:"pear.php.net";s:4:"name";s:4:"PEAR";s:3:"rel";s:2:"ge";s:7:"version";s:5:"1.5.3";s:8:"optional";s:2:"no";}i:3;a:4:{s:4:"type";s:3:"ext";s:4:"name";s:4:"pcre";s:3:"rel";s:3:"has";s:8:"optional";s:2:"no";}}s:11:"maintainers";a:6:{i:0;a:5:{s:4:"name";s:13:"Richard Heyes";s:5:"email";s:15:"richard@php.net";s:6:"active";s:2:"no";s:6:"handle";s:7:"richard";s:4:"role";s:4:"lead";}i:1;a:5:{s:4:"name";s:8:"Tal Peer";s:5:"email";s:11:"tal@php.net";s:6:"active";s:2:"no";s:6:"handle";s:3:"tal";s:4:"role";s:4:"lead";}i:2;a:5:{s:4:"name";s:15:"Michael Wallner";s:5:"email";s:12:"mike@php.net";s:6:"active";s:2:"no";s:6:"handle";s:4:"mike";s:4:"role";s:4:"lead";}i:3;a:5:{s:4:"name";s:13:"Helgi Þormar";s:5:"email";s:13:"helgi@php.net";s:6:"active";s:3:"yes";s:6:"handle";s:5:"dufuz";s:4:"role";s:4:"lead";}i:4;a:5:{s:4:"name";s:14:"Tomas V.V. Cox";s:5:"email";s:15:"cox@idecnet.com";s:6:"active";s:2:"no";s:6:"handle";s:3:"cox";s:4:"role";s:9:"developer";}i:5;a:5:{s:4:"name";s:19:"Cipriano Groenendal";s:5:"email";s:13:"cipri@php.net";s:6:"active";s:3:"yes";s:6:"handle";s:5:"cipri";s:4:"role";s:9:"developer";}}}s:10:"xsdversion";s:3:"2.0";s:13:"_lastmodified";i:1384061106;}
|