<<< Previous question <<< Question ID#0315.md >>> Next question >>>
What is the output of the following PHP script?
$i = 100;
$j = $i++ - 10;
echo $i . ' - ' . $j;
- A) 101 - 90
- B) 101 - 101
- C) 110 - 101
- D) 101 - 110
Answer
Answer: A
What is the output of the following PHP script?
$i = 100;
$j = $i++ - 10;
echo $i . ' - ' . $j;
Answer: A