restore_error_handler

Supported Versions: PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8
Restores the previous error handler function
<?php restore_error_handler(): true
<?php         try {

            return unserialize($value);

        } finally {

            restore_error_handler();

        }

    }
<?php         try {

            return unserialize($value);

        } finally {

            restore_error_handler();

        }

    }