Questo codice con PHP 7.4 e PHP 8.0 a me funziona.
Codice PHP:
class Sol
{
function blurb_html($string)
{
return $string;
}
}
$sol = new Sol();
?>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="width:60px">Titolo</td>
<td><input type="text" name="tit1_1" value="<? echo $sol->blurb_html($strillo1[0] ?? ''); ?>" style="width:200px"></td>
</tr>
<tr>
<td>Titolino</td>
<td><input type="text" name="tit1_2" value="<? echo $sol->blurb_html($strillo1[1] ?? ''); ?>" style="width:200px"></td>
</tr>
<tr>
<td>pagina</td>
<td><input type="text" name="tit1_3" value="<? echo $sol->blurb_html($strillo1[2] ?? ''); ?>" style="width:200px"></td>
</tr>
<tr>
<td>URL</td>
<td><input type="text" name="tit1_4" value="<? echo $sol->blurb_html($strillo1[3] ?? ''); ?>" style="width:200px"></td>
</tr>
</table>