wotw Posted February 5, 2013 Share Posted February 5, 2013 Hi, I have this array which contaisn a php function. When I call upon the array value I would like to use the function (The array value) as normal php. Array ( [item1] => $GLOBALS["class"]->function(1), [item2] => $GLOBALS["class"]->function(4) ) Link to comment https://forums.phpfreaks.com/topic/274038-php-functions-in-php-arrays/ Share on other sites More sharing options...
Christian F. Posted February 5, 2013 Share Posted February 5, 2013 Like in the second example of the PHP Manual, you mean? Link to comment https://forums.phpfreaks.com/topic/274038-php-functions-in-php-arrays/#findComment-1410216 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.