private function mergeLoadedConfig(array $loadedConfig, array $iniConfig)
    {
        $content = '';

        foreach ($loadedConfig as $name => $value) {
            // Value will either be null, string or array (HHVM only)
            if (!is_string($value)
                || strpos($name, 'xdebug') === 0
                || $name === 'apc.mmap_file_mask') {
                continue;
            }

            if (!isset($iniConfig[$name]) || $iniConfig[$name] !== $value) {
                // Double-quote escape each value
                $content .= $name.'="'.addcslashes($value, '\\"').'"'.PHP_EOL;
            }
        }

        return $content;
    }
private function mergeLoadedConfig(array $loadedConfig, array $iniConfig)
    {
        $content = '';

        foreach ($loadedConfig as $name => $value) {
            // Value will either be null, string or array (HHVM only)
            if (!is_string($value)
                || strpos($name, 'xdebug') === 0
                || $name === 'apc.mmap_file_mask') {
                continue;
            }

            if (!isset($iniConfig[$name]) || $iniConfig[$name] !== $value) {
                // Double-quote escape each value
                $content .= $name.'="'.addcslashes($value, '\\"').'"'.PHP_EOL;
            }
        }

        return $content;
    }
private function mergeLoadedConfig ( array $ loadedConfig , array $ iniConfig ) { $ content = '' ; foreach ( $ loadedConfig as $ name => $ value ) { // Value will either be null, string or array (HHVM only) if ( ! is_string ( $ value ) || strpos ( $ name , 'xdebug' ) === 0 || $ name === 'apc.mmap_file_mask' ) { continue ; } if ( ! isset ( $ iniConfig [ $ name ] ) || $ iniConfig [ $ name ] !== $ value ) { // Double-quote escape each value $ content .= $ name . '="' . addcslashes ( $ value , '\\"' ) . '"' . PHP_EOL ; } } return $ content ; }
Returns default, changed and command-line ini settings

@param array $loadedConfig All current ini settings
@param array $iniConfig Settings from user ini files

@return string
Returns default changed and command - line ini settings