The following options may be passed as keys to the third, $options
argument of the constructor.
Zend_Config_Json Options
- allow_modifications/allowModifications
The default behavior of
Zend_Configis to mark the object as immutable once loaded. Passing this flag with a booleantruewill enable modifications to the object.- skip_extends/skipExtends
By default, any time a section extends another,
Zend_Configwill merge the section with the section it extends. Speciying a booleantruevalue to this option will disable this feature, giving you only the configuration defined explicitly in that section.- ignore_constants
-
By default,
Zend_Config_Jsonwill replace constant names found in values with the defined constant value. You map pass a booleantrueto this option to disable this functionality.Please note that ignoring constants can potentially lead to parse errors, particularly if you are using constants for integer, float, or boolean values. The safest practice is to enclose constants within quotes.




