Sorry that was not it. Actually, turns out some weird engineering thing I will never understand but this works:
if (!isset($keyword)) {
static $keyword = '';
$keyword = $_REQUEST["${section}_search_keyword"];
}
I cannot see why this could not be one line, but that is that.
Phil