"; $v_message .= "

PclError Library has detected a fatal error on file '{$p_file}', line {$p_line}

"; $v_message .= "

{$p_error_string}

"; $v_message .= ""; die($v_message); } // -------------------------------------------------------------------------------- // -------------------------------------------------------------------------------- // Function : PclErrorReset() // Description : // Parameters : // -------------------------------------------------------------------------------- /** * @return void */ function PclErrorReset() { global $g_pcl_error_string; global $g_pcl_error_code; $g_pcl_error_code = 1; $g_pcl_error_string = ""; } // -------------------------------------------------------------------------------- // -------------------------------------------------------------------------------- // Function : PclErrorCode() // Description : // Parameters : // -------------------------------------------------------------------------------- /** * @return mixed */ function PclErrorCode() { global $g_pcl_error_string; global $g_pcl_error_code; return($g_pcl_error_code); } // -------------------------------------------------------------------------------- // -------------------------------------------------------------------------------- // Function : PclErrorString() // Description : // Parameters : // -------------------------------------------------------------------------------- /** * @return string */ function PclErrorString() { global $g_pcl_error_string; global $g_pcl_error_code; return($g_pcl_error_string." [code {$g_pcl_error_code}]"); } // -------------------------------------------------------------------------------- // ----- End of double include look }