Q. What will be the output of the following PHP code?
Code:
<?php $var = "YELLOW"; $var1 = $var[5]; echo "$var1"; ?>
β
Correct Answer: (D)
W
<?php $var = "YELLOW"; $var1 = $var[5]; echo "$var1"; ?>
You must be Logged in to update hint/solution