Mark MCRouter* as __PHPStdLib
[hiphop-php.git] / hphp / hack / hhi / stdlib / builtins_error.hhi
blob78a05f39375b449027ac69e3d76c1ef09af7d47c
1 <?hh     /* -*- php -*- */
2 /**
3  * Copyright (c) 2014, Facebook, Inc.
4  * All rights reserved.
5  *
6  * This source code is licensed under the MIT license found in the
7  * LICENSE file in the "hack" directory of this source tree.
8  *
9  */
11 function debug_backtrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT, int $limit = 0) { }
12 <<__PHPStdLib>>
13 function debug_print_backtrace(int $options = 0, int $limit = 0): void { }
14 <<__PHPStdLib>>
15 function error_get_last() { }
16 <<__PHPStdLib>>
17 function error_log($message, $message_type = 0, $destination = null, $extra_headers = null) { }
18 <<__PHPStdLib>>
19 function error_reporting($level = null) { }
20 <<__PHPStdLib>>
21 function restore_error_handler() { }
22 <<__PHPStdLib>>
23 function restore_exception_handler() { }
24 <<__PHPStdLib>>
25 function set_error_handler($error_handler, $error_types = E_ALL) { }
26 <<__PHPStdLib>>
27 function set_exception_handler($exception_handler) { }
28 <<__PHPStdLib>>
29 function hphp_set_error_page($page) { }
30 <<__PHPStdLib>>
31 function hphp_throw_fatal_error($error_msg) { }
32 <<__PHPStdLib>>
33 function hphp_clear_unflushed() { }
34 <<__PHPStdLib>>
35 function hphp_debug_caller_info() { }
36 <<__PHPStdLib>>
37 function hphp_debug_backtrace_hash() { }
38 <<__PHPStdLib>>
39 function trigger_error($error_msg, $error_type = E_USER_NOTICE) { }
40 <<__PHPStdLib>>
41 function user_error($error_msg, $error_type = E_USER_NOTICE) { }