devWhiz Posted May 23, 2011 Share Posted May 23, 2011 or make a function out of the function call it inside another function? Quote 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. Quote 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... Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.