function someFunc($arg = null) {
  if (!empty($arg))
    return anyValue;
  else
    return anotherValue;
}function someFunc($arg = null) {
  if (!empty($arg))
    return anyValue;
  return anotherValue;
}
  
  function someFunc($arg = null) {
 return !empty($arg) ? $anyValue : $anotherValue;
}