Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 395 Bytes

0065.md

File metadata and controls

21 lines (18 loc) · 395 Bytes

You run the following PHP script:

$num = -123test;
$newnum = abs($num);
print $newnum;

What will be the output?

  • A) Script will throw an error.
  • B) -123
  • C) 0
  • D) 123
Answer

Answer: A