Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend Exam 200-710 Topic 9 Question 61 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 61
Topic #: 9
[All 200-710 Questions]

How do you allow the caller to submit a variable number of arguments to a function?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Lillian
3 days ago
I'm not sure, but I think option A) Using a prototype like function test(... $parameters) could also work to allow variable number of arguments.
upvoted 0 times
...
Rikki
4 days ago
I agree with Keshia, option B makes sense because func_get_args() can be used to get all the passed arguments in an array.
upvoted 0 times
...
Keshia
14 days ago
I think the answer is B) Using a prototype like function test() and the function func_get_args() inside the function body.
upvoted 0 times
...

Save Cancel