Question:What will be the output of following code?
$var1="a";
$$var1="b";
echo "$var1 $a";
 

A a b 

B $var1 $a 

C Error: $a is undefined 

D Error: Parse error in line 2 ($$var1 = "b") 

+ Answer
+ Report
Total Preview: 189

Copyright © 2024. Powered by Intellect Software Ltd