Vidyalelo
PHP · Q22

Arrays

Programming · PHP · question 22

Q22

What will be the output of the following PHP code ?

A.
024
B.
120
Answer
C.
010
D.
060

Answer: Option B

Solution

Answer: Option B
Solution:
The array_product() function calculates and returns the product of an array.