Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 388 Bytes

0315.md

File metadata and controls

21 lines (17 loc) · 388 Bytes

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