Re: call_user_func_array problem?

From: Date: Wed, 07 Aug 2002 14:58:08 +0000
Subject: Re: call_user_func_array problem?
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2072@lists.php.net to get a copy of this message
On Wed, 07 Aug 2002 16:54:34 +0200 "Tomas V.V.Cox" <cox@idecnet.com> wrote: > That function is deprecated since 4.1 :-). The problem here seems to be > that he is using an old version of the files. Sure :). Job for the phpdoc team :-). Just use this syntax : class foo { function foo2(){ echo "call_user_xxxx are deprecated from php 4.1 :-)\n"; } } $obj = 'myfoo'; $method = 'foo2'; $myfoo = new foo(); $$obj->$method(); hth pa

« previous php.pear.general (#2072) next »