Vidyalelo
PHP · Q10

Basic PHP

Programming · PHP · question 10

Q10

Which of following variables can be assigned a value to it? 1. 3hello 2. _hello 3. this 4. This

A.
All of the mentioned
B.
Only 2
C.
2, 3 and 4
D.
2 and 4
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
A variable can’t start with a number. Also This can be assigned.