Exam4Training

Which of the following is NOT a valid function declaration?

Which of the following is NOT a valid function declaration?
A . function x ($x1 = array())
B . function x (A $x1)
C . function x (A $x1 = null)
D . function x ($x1 = $x2)

Answer: D

Exit mobile version