Arquivos
hhvm/hphp/doc/extension.new_functions
T
ptarjan 0038b76a58 kill TAINTED code
While I was working on the TestCodeRun refactor I found two tests about Tainted code. I looked into it and coulnd't get HHVM to compile with TAINTED=1. Then I checked and none of the extension functions we exposed about tainting were used in WWW. Scratching my head I asked, @srenfro and @jdelong, who  thought it was dead. So I killed this zombie.
2013-04-12 12:04:04 -07:00

99 linhas
2.0 KiB
Plaintext

<h2>New Extension Functions</h2>
Warning, these functions are not ported to PHP yet. Do NOT use them if the code
is intended to run with PHP as well, unless guarded with function_exists()
testing and some alternative PHP implementation.
- hphp_crash_log
- hphp_stats
- hphp_get_stats
- hphp_output_global_state
- hphp_set_error_page
- hphp_service_thread_started
- hphp_thread_is_warmup_enabled
- hphp_thread_set_warmup_enabled
- hphp_get_thread_id
- hphpd_install_user_command
- hphpd_get_user_commands
- hphpd_break
- register_postsend_function
- register_cleanup_function
- clock_getres
- clock_gettime
- clock_settime
- mysql_connect added connect_timeout_ms and query_timeout_ms
- mysql_pconnect added connect_timeout_ms and query_timeout_ms
- mysql_set_timeout
- fb_load_local_databases
- fb_parallel_query
- fb_crossall_query
- dangling_server_proxy_old_request
- dangling_server_proxy_new_request
- pagelet_server_is_enabled
- pagelet_server_task_start
- pagelet_server_task_status
- pagelet_server_task_result
- pagelet_server_flush
- xbox_send_message
- xbox_post_message
- xbox_task_start
- xbox_task_status
- xbox_task_result
- evhttp_set_cache
- evhttp_get
- evhttp_post
- evhttp_async_get
- evhttp_async_post
- evhttp_recv
- call_user_func_array_async
- call_user_func_async
- check_user_func_async
- end_user_func_async
- call_user_func_array_rpc
- call_user_func_rpc
- call_user_func_serialized
- fb_call_user_func_array_safe
- fb_call_user_func_safe
- fb_call_user_func_safe_return
- fb_serialize
- fb_unserialize
- fb_thrift_serialize
- fb_thrift_unserialize
- fb_intercept
- fb_stubout_intercept_handler
- fb_rpc_intercept_handler
- fb_renamed_functions
- fb_rename_function
- fb_get_code_coverage
- fb_utf8ize
- fb_const_fetch
- fb_enable_code_coverage
- fb_disable_code_coverage
- xhprof_enable
- xhprof_disable
- xhprof_sample_enable
- xhprof_sample_disable
<h2>New Server Variables</h2>
$_SERVER['THREAD_TYPE'] can be:
- Web Request
- Pagelet Thread
- Xbox Thread
- RPC Thread