function change proposal/question
| From: | waldschrott | Date: | Wed, 19 Jul 2000 09:46:25 +0000 |
| Subject: | function change proposal/question | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-25058@lists.php.net to get a copy of this message | ||
I often have to pass parameter through to another function, espectially working on API functions...
why isn´t it possible to use func_get_args on a function call (see exapmles)
coudln´t we enable func_get_args for function calls?
regards
examples:
from...
function hide_out() {
$args=func_get_args();
return $this->meta_field_set(1,$this->fields,$args); }
shortened example, to...:
function hide_out() {
return $this->meta_field_set(1,$this->fields,func_get_args()); }
--
o----------0-¬---------O-·---¬----o---®-----o o O ° .
| http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ °
·
0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ °
o © ° . ·
| psychedelic experience | gott@kiffen.de | O ° o °
o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·