Configuration file can allow several keys with the same name in one section. Use the constants below to define which value you are looking for. You can search for the next value only if you are looking for the same section and key as in the previous search. If you specify INI_GET_NEXT_VALUE but the section or key is different from the values that were used in the previous search the value will be ignored and the function will act as if INI_GET_FIRST_VALUE is specified. This functionality allows creating an attribute list and actually fetching every value including duplicate values in a single loop.
◆ INI_GET
Enumeration of parsing errors.
Enumerator |
---|
INI_GET_FIRST_VALUE | Get the first value (default).
|
INI_GET_NEXT_VALUE | Look for the next value in the section
|
INI_GET_LAST_VALUE | Look for the last value in the section
|