ZF-6876: Zend_Config and quotes (write right, read wrong)
Description
When i use the Zend_Config with string that contains quotes, it returns a wrong value with the escape chars. Ex: some.ini
[production] text = "SOMETHING"
Using Zend_Config: $config = new Zend_Config_Ini('/path/to/ini/some.ini', 'production'); echo $config->text;
Expected: SOMETHING
Returned: SOMETHING
Comments
Posted by Rob Allen (rob) on 2009-11-17T08:09:47.000+0000
Zend_Config_Ini uses parse_ini_file to read the ini file from disk. This function doesn't support escaping double quotes.