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             if ($gc) {

                gc_enable();

            }

            restore_error_handler();

            $this->prevErrorHandler = null;

        }

    }
<?php                 return true;

            }

        } finally {

            restore_error_handler();

        }



        return false;
<?php         try {

            return stream_socket_client($this->host, $errno, $errstr, 3, \STREAM_CLIENT_CONNECT | \STREAM_CLIENT_ASYNC_CONNECT);

        } finally {

            restore_error_handler();

        }

    }

}