What will be the output of the following PHP code ?
<?php
$x = "test";
$y = "this";
$z = "also";
$x .= $y .= $z ;
echo $x;
echo $y;
?>
<?php
$x = "test";
$y = "this";
$z = "also";
$x .= $y .= $z ;
echo $x;
echo $y;
?>
A. testthisthisalso
B. testthis
C. testthisalsothisalso
D. error at line 4
Answer: Option C

Join The Discussion