PrepAway - Latest Free Exam Questions & Answers

What is the output of the following code?

What is the output of the following code? function ratio ($x1 = 10, $x2) { if (isset ($x2)) {
return $x2 / $x1; } } echo ratio (0);

PrepAway - Latest Free Exam Questions & Answers

A.
An integer overflow error

B.
A warning, because $x1 is not set

C.
A warning, because $x2 is not set

D.
A floating-point overflow error

E.
Nothing

F.
0


Leave a Reply

Your email address will not be published. Required fields are marked *