private function string(string $value): string
    {
        if ($this->callable && is_callable($value)) {
            return sprintf('function %s()', $value);
        }

        return strlen($value) > $this->strlim
            ? $this->quoted(substr($value, 0, $this->strlim) . '...')
            : $this->quoted($value);
    }