Use parse_ini_string() to Parse Configuration from a String

Use parse_ini_string() to Parse Configuration from a String

The parse_ini_string() function parses a string in the INI format and returns an associative array. This is useful for loading configuration settings from a string.

← Back to Tips List