PHP: How do you make a copy of a function and preset the arguments
Posted by trymeouteh@reddit | learnprogramming | View on Reddit | 1 comments
Is there something simular to call_user_func()
that will make a copy of the function and preset the arguments but will not call the function and instead just return a a copy of the function with the arugments preset?
mattgen88@reddit
I'd create a closure that will feed the presets when called