Zend
200-530 · Question #408
Consider the following script: <html> <head> <title> This is a test script. </title> </head> <body> <?php $string1 = "ab"; $string2 = "cd"; $string1 =$string1.$string2; $string3 = "abc"; $string1 .=…
The correct answer is D. abcdabc. See the full explanation below for the reasoning.
Question
Consider the following script: <html> <head> <title> This is a test script. </title> </head> <body> <?php $string1 = "ab"; $string2 = "cd"; $string1 =$string1.$string2; $string3 = "abc"; $string1 .= $string3; echo $string1; ?> </body> </html> Zend 200-530 Exam What will be the output of the above PHP script?
Options
- Acdabcab
- Babc
- Ccdabc
- Dabcdabc
How the community answered
(31 responses)- A3% (1)
- B3% (1)
- C10% (3)
- D84% (26)
Community Discussion
No community discussion yet for this question.