Karoly Negyesi wrote:
Dear Brian,
Say, you have a CMS which generally calls some kind of functions and
some of them might need to modify one array the other needs to modify
two arrays... Currently you need to wrap these into a "arguments"
array otherwise func_get_args will butcher your reference
I try to be constructive here -- I might end up as a moron, I do not
know, sorry -- but what about adding a parameter to func_get_arg to
get the argument by reference?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
http://blog.phpdoc.info/archives/3-PHP-Fun-Variable-Arguments-Be-Reference.html
just an example from 2.5yrs ago.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
2007/11/17, Karoly Negyesi <[EMAIL PROTECTED]>:
> There are things you can't without call time
> pass-by-reference,
huh ? are you seriuos ? care to show some proof of your statements ?
--
http://www.kissofjudas.net/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, vis
Hi!
some of them might need to modify one array the other needs to modify
two arrays...
But every function knows the number of its own arguments, isn't it?
array otherwise func_get_args will butcher your references.
This behavior has nothing to do with the call-time-pass-reference
settings,
Say, you have a CMS which generally calls some kind of functions and
some of them might need to modify one array the other needs to modify
two arrays... Currently you need to wrap these into a "arguments"
array otherwise func_get_args will butcher your references.
In PHP6 allow_call_time_pass_ref
Say, you have a CMS which generally calls some kind of functions and
some of them might need to modify one array the other needs to modify
two arrays... Currently you need to wrap these into a "arguments"
array otherwise func_get_args will butcher your references.
Can you give a short code examp
Dear Brian,
Say, you have a CMS which generally calls some kind of functions and
some of them might need to modify one array the other needs to modify
two arrays... Currently you need to wrap these into a "arguments"
array otherwise func_get_args will butcher your references.
Regards,
NK
--
PH
Karoly Negyesi wrote:
Hi,
Although this should be an old hat, I am surprised PHP5 has not fixed
it, let's fix it in PHP6. There are things you can't without call time
pass-by-reference, most of all variables arguments with references.
So, please de-deprecate it.
I am feeling froggy. I will bi