HTML;
function HandlePageErrors()
{
$error = error_get_last();
if ($error
&& (isset($error['type']))
&& (in_array($error['type'], [E_ERROR, E_PARSE, E_COMPILE_ERROR], true))) {
ob_end_clean();
}
}
register_shutdown_function('HandlePageErrors');
ob_start();
require_once("wizard.php");
ob_end_clean();
echo <<
bSkipErrorDisplay = true;
document.location = "wizard.php";
HTML;
?>