Arquivos
hhvm/hphp/runtime/ext/ext_error.h
T
Sara Golemon 6ec64e8bf9 make #includes consistent
I was learning from @jdelong and he said that you should use
double quotes for local includes and angle brackets for library
includes. I asked why our code was the way it was, and he said he wanted
to clean it up. I beat him to it :)

Conflicts:

	hphp/runtime/base/server/admin_request_handler.cpp
	hphp/runtime/vm/named_entity.h
2013-05-15 13:05:06 -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 incl_HPHP_EXT_ERROR_H_
#define incl_HPHP_EXT_ERROR_H_
// >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
#include "hphp/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 // incl_HPHP_EXT_ERROR_H_