Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 404 Bytes

0669.md

File metadata and controls

27 lines (21 loc) · 404 Bytes

What is the output of the following PHP script?

$a = 1;
$b = 2.5;
$c = 0xFF;

$d = $b + $c;
$e = $d * $b;
$f = ($d + $e) % $a;

print ($f + $e);
  • A) 643.75
  • B) 432
  • C) 643
  • D) 257
Answer

Answer: A