for($i = 0; $i < 1; $i++){
  if ($sorgukorx){
    break;
  } elseif (($koyx - $kayitx) < 190{
    ...
  }
}