PHP Classes

INI File Parser: Parse INI files into an array

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 32%Total: 631 All time: 5,028 This week: 455Up
Version License PHP version Categories
parseini 1.0GNU General Publi...4PHP 5, Files and Folders
Description 

Author

This is a simple class that can be to parse INI files.

It uses regular expressions to extract the names and values of the entries in an INI file.

The results are returned in a bi-dimensional associative array on which the first dimension key is the file section name and the second dimension key is the entry name.

Picture of Roy Cunningham
Name: Roy Cunningham <contact>
Classes: 1 package by
Country: Canada Canada

  Files folder image Files (3)  
File Role Description
Accessible without login Plain text file parseini-sample.php Example a sample script to demonstrate the use of the parseini class.
Plain text file parseini.class.php Class class file - include this to use it.
Accessible without login Plain text file parseini.ini Data sample ini file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:631
This week:0
All time:5,028
This week:455Up
User Ratings User Comments (2)
 All time
Utility:43%StarStarStar
Consistency:43%StarStarStar
Documentation:-
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:32%StarStar
Rank:4283