Vidyalelo
PHP · Q14

Basic PHP

Programming · PHP · question 14

Q14

What will be the output of the following PHP code?

A.
1
B.
Error
C.
1234
Answer
D.
2

Answer: Option C

Solution

Answer: Option C
Solution:
The (array) is a cast operator which is used for converting values from other data types to array.