ExamVeda
Login
Home
This question belongs to PHP Basic PHP
Basic PHP
?

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

Answer & Solution
Correct Answer: Option D
A variable can’t start with a number. Also $this is a special variable that can’t be assigned, but $This can be assigned.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.