How to use class methods in callback ?
| From: | Ravi Ranganathan | Date: | Sun, 11 Nov 2001 18:48:36 +0000 |
| Subject: | How to use class methods in callback ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-74187@lists.php.net to get a copy of this message | ||
Hi,
Can I specify a class method as a callback when using array_filter. I tried "classname::methodname" and it gave a parser error. Is it supported ?
Ravi