$firstName = “”; // Replace with actual first name variable $lastName = “”; // Replace with actual last name variable
if ($lastName == “כהן”) { return “לוי”; } else { return “”; }