How do I call_user_func_array() on 4.0.1pl2 ?
| From: | Jimmy Lantz | Date: | Sat, 28 Apr 2001 21:01:43 +0000 |
| Subject: | How do I call_user_func_array() on 4.0.1pl2 ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-50771@lists.php.net to get a copy of this message | ||
Hi, I wonder if there's a way to get the same result as with
call_user_func_array()
on 4.0.1pl2 .
I need to do the following :
foreach($formArray as $arrays){
foreach($arrays as $key => $value){
call_user_func_array($key, explode (",", $value)");
//Not working since I have 4.01
$key(explode (",", $value));
//This aint working either since explode returns an array, and I
need to return a list of vars to call. (different amount of vars each
time!)
}
}
Is there another way to do this using a function or something, I cant
update since it's not my own server.
Thanx
Jimmy from Sweden