<[EMAIL PROTECTED]> wrote :

> On Mon, 16 Dec 2002, Bertrand Mansion wrote:
> 
>> I guess I am going to have to write stupid code such as:
>> 
>> switch ($param1) {
>>     case 'parser1':
>>         return parser1::method();
>>     case 'parser2':
>>         return parser2::method();
>> }
> 
> call_user_func(array($param1, 'method'));

No. Undefined variable this in $param1. Get it ?

Bertrand Mansion
Mamasam




--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to