@Friendica Developers
is there a way to call in
is there a way to call in
array_walk()
a callback static function/method which is inside a class? I tried array_walk($arr_tags, array('ParseUrl', 'arrAddHashes'));
(it should use ParseUrl::arrAddHashes()
as callback) but it doesn't work
Hypolite Petovan
array_walk($arr_tags, 'ParseUrl::arrAddHashes');
Hypolite Petovan
Hypolite Petovan
array_map
is more indicated.Rabuzarus
Hypolite Petovan
Edit: PHP Fiddle Lite version is 5.6.18