DrewM\Morse\Morse::populateDisabledFunctionsList PHP Method

populateDisabledFunctionsList() private static method

Populates the internal memory cache of functions that have been disabled in the current environment
private static populateDisabledFunctionsList ( ) : void
return void
    private static function populateDisabledFunctionsList()
    {
        if (function_exists('ini_get')) {
            $disabled = ini_get('disable_functions');
            $blacklist = ini_get('suhosin.executor.func.blacklist');
            if ("{$disabled}{$blacklist}") {
                self::$disabledFunctions = preg_split('/,\\s*/', "{$disabled},{$blacklist}");
                return;
            }
        }
        self::$disabledFunctions = array();
        return;
    }