What is the output of the following code?

What is the output of the following code?

$first= "second";

$second = "first";

echo $$$first;
A . "first"
B . "second"
C . an empty string
D . an error

Answer: B

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments