protected function formatValue($value)
    {
        if (PHP_VERSION_ID < 50400) {
            return str_replace('\/', '/', json_encode($value));
        }

        return json_encode($value, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
    }
protected function formatValue($value)
    {
        if (PHP_VERSION_ID < 50400) {
            return str_replace('\/', '/', json_encode($value));
        }

        return json_encode($value, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
    }
protected function formatValue ( $ value ) { if ( PHP_VERSION_ID < 50400 ) { return str_replace ( '\/' , '/' , json_encode ( $ value ) ) ; } return json_encode ( $ value , JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE ) ; }
Formats the default value of an argument or an option.

@param mixed $value The default value to format.

@return string The formatted value.
Formats the default value of an argument or an option .