<<< Previous question <<< Question ID#0313.md >>> Next question >>>
What is output of the following PHP script?
$str = 'foo';
$str .= 'bar';
$num = 0;
$num += 25;
$num -= 15;
echo $str . ' - ' . $num;
- A) foobar - 10
- B) 0bar - -15
- C) 0 - 0
- D) foobar - 325
Answer
Answer: A