Hello everyone:
Recently, I've come across the need to accept an arbitrary amount of
arguments in my function, but I also need to alter the data in the
calling scope.
I have been trying to toy around with the func_get_args function,
however, it seems the data is copied before I can access it, as I
tried to globalize the values in the argument array and use
references, but neither worked.
I would be grateful if anyone could point me in the right direction or
provide any illumination on this subject.
Curtis
Recently, I've come across the need to accept an arbitrary amount of
arguments in my function, but I also need to alter the data in the
calling scope.
I have been trying to toy around with the func_get_args function,
however, it seems the data is copied before I can access it, as I
tried to globalize the values in the argument array and use
references, but neither worked.
I would be grateful if anyone could point me in the right direction or
provide any illumination on this subject.
Curtis
Comment