?
What will be the output of the following PHP code?
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 & Solution
Correct Answer:
Option
D
.= is a concatenation-assignment. $a equals its current value concatenated with “get”.
Join the Discussion
Login to post a comment or share your explanation.
Login