<?php


function doAThing($followable, $comment_settings) {
  $interaction_settings = 0;
  if ($followable) {
    $interaction_settings |= 0x100;
  }
  if ($comment_settings !== null) {
    $interaction_settings |= $comment_settings;
  }

  return $interaction_settings;
}

doAThing(1, '2');
echo "done\n";
