main() { $myName = "Avnish alok"; getAccess($myName); } function getAccess($name) { ($name == "Avnish alok") ? "all access" : askPassword(); }