session_set_save_handler needs public functions

The functions passed to session_set_save_handler need to be publicly
callable