nerdexam
Zend

200-530 · Question #515

Which of the following statements will return the second parameter passed to a function?

The correct answer is A. func_get_arg(1). See the full explanation below for the reasoning.

Question

Which of the following statements will return the second parameter passed to a function?

Options

  • Afunc_get_arg(1);
  • Bfunc_num_args(1);
  • Cfunc_num_args(2);
  • Dfunc_get_args(2);

How the community answered

(17 responses)
  • A
    82% (14)
  • C
    6% (1)
  • D
    12% (2)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice