PHP Classes

Parse INI: Parse INI files and get values into arrays

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 409 All time: 6,493 This week: 206Up
Version License PHP version Categories
parse-ini-file 1.0The PHP License5PHP 5, Configuration


This class can parse INI files and get values into arrays.

It can parse a given configuration file in the .INI format and builds associative arrays with the list of properties separated by section.

Sections that have names with colons are treated as sub-sections of parent sections without colons.

Picture of Marko Schulz
Name: Marko Schulz <contact>
Classes: 6 packages by
Country: Germany Germany
Age: 52
All time rank: 58938 in Germany Germany
Week rank: 305 Up15 in Germany Germany Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.ini Data Example INI File
Accessible without login Plain text file example.php Example Example Script
Plain text file parseini.class.php Class Class File

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,493
This week:206Up
User Comments (1)
Simple, clear and efficient, not bad ;)
11 years ago (Molliné)