Hi, Tell me if this is the wrong list to ask or if this has been answered somewhere else before. Thanks :)
I am trying to make something like that: $myClassName = 'MyClass'; return $myClassName::myMethod($param1, $param2); And I get : Parse error: parse error, unexpected T_PAAMAYIM_NEKUDOTAYIM I found a way to get around this by using: return eval(("return $myClassName:: myMethod('$param1', '$param2');"); This works except when one of the parameters is an array. What is this ? Is it a bug or a feature and will it change in ZE2 ? Is there another way to get around this to let it accept arrays ? TIA, Bertrand Mansion Mamasam -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php