WEB BROWSERS TECHNOLOGY
WHAT IS WEB TECHNOLOGY
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
All variable names have a dollar sign ($) in front of them. This tells PHP that it is a variable name.
|
|
Variable names must begin with a letter or an underscore. They cannot begin with a number.
|
|
Variable names can be any length.
|
|
Variable names can include letters, numbers, and underscores only.
|
|
All of the above
|
Detailed explanation-1: -A variable name must start with a letter or an underscore character ( ) A variable name cannot start with a digit. A variable name can only contain alpha-numeric characters and underscores ( a-z, A-Z, 0-9, and ) Variable names are case-sensitive (age, Age and AGE are three different variables)
Detailed explanation-2: -Q 19-Which of the following is correct about variable naming rules? A-Variable names must begin with a letter or underscore character.
Detailed explanation-3: -Following are the rules for declaring variables in PHP: A variable name cannot start with a number. A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and ) Variable names are case-sensitive ($age and $AGE are two different variables)