PHP: Best way to check if input is a valid number? PHP: Best way to check if input is a valid number? php php