Bu yazı daha kısa bir yolu var olacak gibi görünüyor:
if ($action == 'add' || $action == 'update' || $action == 'delete') { // whatever }
var mı?