Arquivos
hhvm/hphp/runtime/ext/ext_error.h
T
2013-03-18 16:05:53 -07:00

49 linhas
2.2 KiB
C++

/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
| Copyright (c) 1997-2010 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#ifndef __EXT_ERROR_H__
#define __EXT_ERROR_H__
// >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
#include <runtime/base/base_includes.h>
namespace HPHP {
///////////////////////////////////////////////////////////////////////////////
Array f_debug_backtrace(bool provide_object = true);
Array f_hphp_debug_caller_info();
void f_debug_print_backtrace();
String debug_string_backtrace(bool skip);
Array f_error_get_last();
bool f_error_log(CStrRef message, int message_type = 0, CStrRef destination = null_string, CStrRef extra_headers = null_string);
int64_t f_error_reporting(CVarRef level = uninit_null());
bool f_restore_error_handler();
bool f_restore_exception_handler();
Variant f_set_error_handler(CVarRef error_handler, int error_types = k_E_ALL);
Variant f_set_exception_handler(CVarRef exception_handler);
void f_hphp_set_error_page(CStrRef page);
void f_hphp_throw_fatal_error(CStrRef error_msg);
void f_hphp_clear_unflushed();
bool f_trigger_error(CStrRef error_msg, int error_type = k_E_USER_NOTICE);
bool f_user_error(CStrRef error_msg, int error_type = k_E_USER_NOTICE);
///////////////////////////////////////////////////////////////////////////////
}
#endif // __EXT_ERROR_H__