Does anyone know how to pull a function reference from a class method? Here's why, class myclass(){ var $myarray; function mysort() { /* User sort fails */ usort($this->myarray, $this->mycompfunction); /* Or */ usort($this->myarray, "mycompfunction"); } function mycompfunction() { } } The sort fails because the member function mycompfunction() is not referencable. Any ideas? -- PHP General 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]