-
__construct($json, $section = null, $options = false); Constructor.
$jsonshould be either a valid JSON string, or refer to a valid filesystem location containing a JSON configuration file.$section, if specified, indicates a specific section of the configuration file to use.$optionsis discussed in the options section.-
setIgnoreConstants($flag); This static function may be used to globally override the default settings for how constants found in JSON strings are handled. By default, constant names are replaced with the appropriate constant values; passing a boolean
truevalue to this method will override that behavior. (You can override it per-instance via theignore_constantsoption as well.)-
ignoreConstants(); This static method gives you the current setting for the
ignore_constantsflag.




