Zend 200-550 Question Answer
How do you allow the caller to submit a variable number of arguments to a function?
Using a prototype like function test(... $parameters).
Using a prototype like function test() and the function func_get_args() inside the function body.
Using a prototype like function test($parameters[]).
Using a prototype like function test() and the function get_variable_args() inside the function body.
This is not possible in PHP.
TESTED 11 Jul 2025
Copyright © 2014-2025 ACE4Sure. All Rights Reserved