Fix catch trace bug and inline cost bug
[hiphop-php.git] / hphp / doc / extension.new_functions
blobdc78694e48cb18f108b3b35b29c52944abac767f
2 <h2>New Extension Functions</h2>
4 Warning, these functions are not ported to PHP yet. Do NOT use them if the code
5 is intended to run with PHP as well, unless guarded with function_exists()
6 testing and some alternative PHP implementation.
8 - hphp_crash_log
9 - hphp_stats
10 - hphp_get_stats
11 - hphp_output_global_state
12 - hphp_set_error_page
14 - hphp_service_thread_started
15 - hphp_thread_is_warmup_enabled
16 - hphp_thread_set_warmup_enabled
17 - hphp_get_thread_id
19 - hphpd_install_user_command
20 - hphpd_get_user_commands
21 - hphpd_break
23 - register_postsend_function
24 - register_cleanup_function
26 - clock_getres
27 - clock_gettime
28 - clock_settime
30 - mysql_connect added connect_timeout_ms and query_timeout_ms
31 - mysql_pconnect added connect_timeout_ms and query_timeout_ms
32 - mysql_set_timeout
34 - fb_load_local_databases
35 - fb_parallel_query
36 - fb_crossall_query
38 - dangling_server_proxy_old_request
39 - dangling_server_proxy_new_request
41 - pagelet_server_is_enabled
42 - pagelet_server_task_start
43 - pagelet_server_task_status
44 - pagelet_server_task_result
45 - pagelet_server_flush
47 - xbox_send_message
48 - xbox_post_message
49 - xbox_task_start
50 - xbox_task_status
51 - xbox_task_result
53 - evhttp_set_cache
54 - evhttp_get
55 - evhttp_post
56 - evhttp_async_get
57 - evhttp_async_post
58 - evhttp_recv
60 - call_user_func_array_async
61 - call_user_func_async
62 - check_user_func_async
63 - end_user_func_async
64 - call_user_func_array_rpc
65 - call_user_func_rpc
66 - call_user_func_serialized
67 - fb_call_user_func_array_safe
68 - fb_call_user_func_safe
69 - fb_call_user_func_safe_return
71 - fb_serialize
72 - fb_unserialize
73 - fb_intercept
74 - fb_rename_function
75 - fb_get_code_coverage
76 - fb_utf8ize
77 - fb_const_fetch
78 - fb_enable_code_coverage
79 - fb_disable_code_coverage
81 - xhprof_enable
82 - xhprof_disable
83 - xhprof_sample_enable
84 - xhprof_sample_disable
86 <h2>New Server Variables</h2>
88 $_SERVER['THREAD_TYPE'] can be:
90 - Web Request
91 - Pagelet Thread
92 - Xbox Thread
93 - RPC Thread