Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 465 Bytes

0101.md

File metadata and controls

26 lines (23 loc) · 465 Bytes

Consider the following PHP script:

$a = 5;
$b = 10;
function Mul() {
    $a =0;
    $b = $a * $b;
}
Mul();
print($b);

What will be the output of the above script?

  • A) 10
  • B) The script will return an error message.
  • C) 0
  • D) 50
Answer

Answer: A