I have tried:
class Maker { function sGetNameId($a) { return 1; } }
array_map("Maker::sGetNameId", array("1") )
But I get this error:
array_map(): The first argument, 'Maker::sGetNameId', should be either NULL or a valid callback
Is it possible to use class functions as callback functions?
Thanks,
Jean-Christian Imbeault
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php