<<< Previous question <<< Question ID#0217.md >>> Next question >>>
Consider the following script:
$string1 = "ab";
$string2 = "cd";
$string1 = $string1 . $string2;
$string3 = "abc";
$string1 .= $string3;
echo $string1;
What will be the output of the above PHP script?
- A) abcdabc
- B) cdabcab
- C) abc
- D) cdabc
Answer
Answer: A