htmlspecialchars

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Convert special characters to HTML entities
<?php htmlspecialchars(    string $string,    int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401,    ?string $encoding = null,    bool $double_encode = true): string
<?php             $this->report->getThrowable()->getTraceAsString()

        );



        return htmlspecialchars($throwableString);

    }



    public function telescopeUrl(): ?string
<?php     public function title(): string

    {

        $message = htmlspecialchars($this->report->getMessage());



        return "🧨 {$message}";

    }