Function ext_php_rs::zend::bailout

source ·
pub unsafe fn bailout() -> !
Expand description

Trigger a bailout

This function will stop the execution of the current script and jump to the last try catch block

§Safety

This function is unsafe because it can cause memory leaks Since it will jump to the last try catch block, it will not call the destructor of the current scope

When using this function you should ensure that all the memory allocated in the current scope is released