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) ) Quote 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 (edited) Like in the second example of the PHP Manual, you mean? Edited February 5, 2013 by Christian F. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.