Figured it out – even though I did PHP syntax check, I had this loop in for testing and commented it out. The widget didn’t like it – wouldn’t save while it was there, did once it was gone.
/*for ( $counter = 1; $counter <= 100; $counter += 1) {
$random_number = (rand(1,2));
echo $random_number;
echo “<br>”;
}*/