$min && $val < $max) { return true; } return false; } function endPg($result) { echo $result."\n"; exit; } ?>