Yeah, it's still there: http://php.net/manual/en/function.session-set-save-handler.php

> The "write" handler is not executed until after the output stream is closed. Thus, output from debugging statements in the "write" handler will never be seen in the browser. If debugging output is necessary, it is suggested that the debug output be written to a file instead.