no_one Posted July 3, 2007 Share Posted July 3, 2007 Quick question, since my background is mainly c/c++ I was wondering if it's possible to pass functions to another function? Similar to a function pointer in c. I was just curious. A yes or no will do Link to comment https://forums.phpfreaks.com/topic/58308-solved-functions-by-reference/ Share on other sites More sharing options...
per1os Posted July 3, 2007 Share Posted July 3, 2007 http://us.php.net/manual/en/function.create-function.php http://us.php.net/manual/en/language.pseudo-types.php#language.types.callback That would be the closest you will get. Hope that helps. Link to comment https://forums.phpfreaks.com/topic/58308-solved-functions-by-reference/#findComment-289111 Share on other sites More sharing options...
no_one Posted July 3, 2007 Author Share Posted July 3, 2007 Ah, ty I'll keep those in mind if I ever need it Link to comment https://forums.phpfreaks.com/topic/58308-solved-functions-by-reference/#findComment-289122 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.