Fixed $_SESSION and $GLOBALS not working correctly when using CodeCache
Fixed bad return value of set_error_handler()
Imrpoved set_error_handler() behavior