So… hello!
Looking at upgrading some code from 7.4 to 8.1
$topics = isset($topics) ? $topics : ''; // php7.4, works
// replace with apparently like for like
$topics ??= ''; // php 8.1.28, throws 'syntax error, unexpected '='
Any idea why the error? Looking at the example in point 4 it appears to be correct syntax?