devWhiz Posted May 23, 2011 Share Posted May 23, 2011 or make a function out of the function call it inside another function? Link to comment https://forums.phpfreaks.com/topic/237272-can-i-put-a-function-in-a-function/ Share on other sites More sharing options...
btherl Posted May 23, 2011 Share Posted May 23, 2011 You can create anonymous functions (aka lambda functions) with create_function(). These are often used as sorting callbacks, and can be passed around to other functions. Link to comment https://forums.phpfreaks.com/topic/237272-can-i-put-a-function-in-a-function/#findComment-1219304 Share on other sites More sharing options...
requinix Posted May 24, 2011 Share Posted May 24, 2011 or make a function out of the function call it inside another function? Yo dawg, I heard you like functions... Link to comment https://forums.phpfreaks.com/topic/237272-can-i-put-a-function-in-a-function/#findComment-1219318 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.