<?php function f($check, $interval=null) { if ($check == 'Recurring Alarm' && empty($interval)) return false; return true; } $result = f('Recurring Alarm'); var_dump($result);
You have javascript disabled. You will not be able to edit any code.