PdfPrep.com

What will be the output value of the following code?

What will be the output value of the following code?

$array= array(l,2,3);

while (list(,$v) = each($array));

var_dump(current($array));
A . bool(false)
B . int(3)
C . int(1)
D . NULL
E . Array

Answer: A

Exit mobile version