For the callback I advise only to use a permanent or anonymous function.
Depending on the usage you may encounter memory issues when using create_function for the callback possibly due to attempts at being compatible with PHP 5.2 or prior. Some servers refuse to update their PHP for whatever reason.
Please peruse the create_function documentation for more details regarding its memory usage.
Regards.