Re: PHP5: __call() implementation

From: Date: Thu, 05 Feb 2004 15:58:55 +0000
Subject: Re: PHP5: __call() implementation
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-176903@lists.php.net to get a copy of this message
On Thu, 2004-02-05 at 09:22, Vivian Steller wrote: > i want this function simply call the method of another class with > "SomeClass::$method(...)" but i'm getting into trouble (bit heavy > programming!:) passing the arguments (stored as Array in $params) to the > "SomeClass::$method([arguments])" method... > further, i think i'm getting problems with objects passed through the > __call() method?! You probably want to check out this for working with __call: http://www.php.net/overload And this for not having to use eval: http://www.php.net/call_user_func_array -- Adam Bregenzer adam@bregenzer.net http://adam.bregenzer.net/

« previous php.general (#176903) next »