Sail E0 Webinar
Question
Which of following variables can be assigned a value to it?(i) $3hello(ii) $_hello(iii) $this(iv) $This
Options:
A .  All of the mentioned
B .  Only (ii)
C .  (ii), (iii) and (iv)
D .  (ii) and (iv)
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.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers