Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 407 Bytes

0019.md

File metadata and controls

19 lines (16 loc) · 407 Bytes

Consider the following PHP script:

<?= (int) ((0.1 + 0.7) * 10); ?>

What will be the output of the PHP script?

  • A) 7
  • B) 10
  • C) The PHP script will return an error message.
  • D) 8
Answer

Answer: A