Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Converts a string from UTF-8 to ISO-8859-1, replacing invalid or unrepresentable characters
<?php utf8_decode(string $string): string
<?php     $report = $flareClient->createReport($exception);



    $report->group('bad-utf8', [

        'name' => 'JohnDoe'.utf8_decode('ø'),

    ]);



    $model = new ErrorPageViewModel($exception, new IgnitionConfig([]), $report, []);