zend_throw_exception() no longer returns the zval, only the inner zend_object.
We only use it in one place, to add additional property to the exception.
A workaround would be to access EG(exception) (which also, isn't a zval anymore but zend_object) and add the property to that object.