codeigniter 4 radio button isset

PHP
if (!isset($_POST['myradio'])) {
    $_POST['myradio'] = $myDefaultValue;
} 

Source

Also in PHP: