read the contents of an ini file

read the contents of an ini file

The contents of the ini file are listed below

[settings1]
text1 = "hello"
text2 = "world"

[settings2]
number1 = 4
number2 = 8

//print out all of the contents of the test.ini file

<?php
$ini_array = parse_ini_file("test.ini");
print_r($ini_array);
?>