"> What will be the output of the following PHP code? < ?php $a = "clue"; $a . "> " /> " />
Sail E0 Webinar
Question
What will be the output of the following PHP code?
< ?php
$a = "clue";
$a .= "get";
echo "$a";
?>
Options:
A .  get
B .  true
C .  false
D .  clueget
Answer: Option D


.= is a concatenation-assignment. $a equals its current value concatenated with "get.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers