|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2002-06-04 18:05 UTC] derick@php.net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 07:00:01 2025 UTC | 
Given an ini file that looks like this (quotes added for emphasis): "[section1]" foo = bar blah = ya "[section2] " fooz = blat ya = John YaYa the resulting array when parsed with parse_ini_file('filename.ini', TRUE) would end up looking much like this: Array ( [section1] = Array ( ( [foo] => bar [blah] => ya [fooz] => blat [ya] => John YaYa ) ) ) Eg section1 and section2 would be merged together under section1 when the line containing marker for section2 did not end with "]"