PHP Classes
elePHPant
Icontem

PHP File Array: Store and retrieve values from files as arrays

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2014-08-06 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 221 All time: 7,711 This week: 814Up
Version License PHP version Categories
file-array 1.0Freeware5.0PHP 5, Files and Folders, Data types
Description Author

This class can store and retrieve values from files as if they were arrays.

It provides an ArrayAccess interface so you can store and retrieve values of arbitrary types in files.

Each array entry value is encoded with base64 algorithm and stored with a line break to distinguish from other entries.

The class reads a given number of lines according to the position of the array entry it needs to read and decode from the array file.

Innovation Award
PHP Programming Innovation award nominee
August 2014
Number 12
Files are often used to store information laid out in a sequence.

This class implements the ArrayAccess interface to store information a file using array indexes as sequence numbers.

Manuel Lemos
  Performance   Level  
Name: tobytobs <contact>
Classes: 3 packages by
Country: Mauritius Mauritius
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file FileArray.php Class The FileArray Object class
Accessible without login Plain text file Sample.php Example Sample usage of the filearray class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:221
This week:0
All time:7,711
This week:814Up