ExamVeda
Login
Home
This question belongs to PHP Basic PHP
Basic PHP
?

What will be the output of the following PHP code?
<?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”.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.