I need to get a pointer to a method, something like: class SomeClass { function foo() { echo "HiYa!"; } } MyClass = new SomeClass; Now, the only way to access the function foo is $MyClass->foo(); but I want to get a pointer to that method wich I could store in an array, something like: $Pointer = "MyClass->foo"; And later, execute the method by doing: $$Pointer(); But this doesn't works ... Why? How can I do this? ___________________ Llorenç Herrera www.Hexoplastia.com -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]