Hi,
In Perl you can pass the elements of an array to a function as actual
parameters, for example
my @a = (1, 2, 3);
f(@a);
which has the same effect as f(1, 2, 3). Does anyone know if there is a
construct in PHP to convert an array into a parameter list to achieve
the same thing?
August
In Perl you can pass the elements of an array to a function as actual
parameters, for example
my @a = (1, 2, 3);
f(@a);
which has the same effect as f(1, 2, 3). Does anyone know if there is a
construct in PHP to convert an array into a parameter list to achieve
the same thing?
August
Comment