Can you tell me the all rules to declare the variable name

can you tell me the all rules to declare the variable name

Following are the naming rules for variables:

  1. Variable names can be of 1 to 255 characters long.
  2. All variable names must begin with an alphabet or an underscore(_).
  3. After the first initial letter, variable names can also contain letters and numbers.
  4. Variable names are case sensitive.
  5. No spaces or special characters are allowed except underscore(_).

Hope, this would help.