Question
What will be the output of the following PHP code?
< ?php
$a = "clue";
$a .= "get";
echo "$a";
?>
< ?php
$a = "clue";
$a .= "get";
echo "$a";
?>
Answer: Option D
Was this answer helpful ?
.= is a concatenation-assignment. $a equals its current value concatenated with "get.
Was this answer helpful ?
More Questions on This Topic :
Question 3. PHP files have a default file extension of. ....
Question 5. Who is the father of PHP? ....
Submit Solution