note 16686 added to function.array-filter

From: Date: Thu, 08 Nov 2001 22:58:32 +0000
Subject: note 16686 added to function.array-filter
Groups: php.notes 
Request: Send a blank email to php-notes+get-20621@lists.php.net to get a copy of this message
Can I specify a class method as a callback when using array_filter in an object method. I tried "classname::methodname" and it gave an error. Is it supported ? The reason is, it helps organize code -- http://www.php.net/manual/en/function.array-filter.php http://master.php.net/manage/user-notes.php?action=edit+16686 http://master.php.net/manage/user-notes.php?action=delete+16686 http://master.php.net/manage/user-notes.php?action=reject+16686

« previous php.notes (#20621) next »