d1b3172352
- Remove questionable hphp_process_abort debugging method
63 linhas
2.8 KiB
C++
63 linhas
2.8 KiB
C++
/*
|
|
+----------------------------------------------------------------------+
|
|
| HipHop for PHP |
|
|
+----------------------------------------------------------------------+
|
|
| Copyright (c) 2010-2013 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_MISC_H_
|
|
#define incl_HPHP_EXT_MISC_H_
|
|
|
|
// >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
|
|
|
|
#include "hphp/runtime/base/base_includes.h"
|
|
|
|
namespace HPHP {
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
int64_t f_connection_aborted();
|
|
int64_t f_connection_status();
|
|
int64_t f_connection_timeout();
|
|
Variant f_constant(CStrRef name);
|
|
bool f_define(CStrRef name, CVarRef value, bool case_insensitive = false);
|
|
bool f_defined(CStrRef name, bool autoload = true);
|
|
Variant f_die(CVarRef status = null_variant);
|
|
Variant f_exit(CVarRef status = null_variant);
|
|
Variant f_eval(CStrRef code_str);
|
|
Variant f_get_browser(CStrRef user_agent = null_string, bool return_array = false);
|
|
void f___halt_compiler();
|
|
Variant f_highlight_file(CStrRef filename, bool ret = false);
|
|
Variant f_show_source(CStrRef filename, bool ret = false);
|
|
Variant f_highlight_string(CStrRef str, bool ret = false);
|
|
int64_t f_ignore_user_abort(bool setting = false);
|
|
Variant f_pack(int _argc, CStrRef format, CArrRef _argv = null_array);
|
|
bool f_php_check_syntax(CStrRef filename, VRefParam error_message = uninit_null());
|
|
String f_php_strip_whitespace(CStrRef filename);
|
|
int64_t f_sleep(int seconds);
|
|
void f_usleep(int micro_seconds);
|
|
Variant f_time_nanosleep(int seconds, int nanoseconds);
|
|
bool f_time_sleep_until(double timestamp);
|
|
String f_uniqid(CStrRef prefix = null_string, bool more_entropy = false);
|
|
Variant f_unpack(CStrRef format, CStrRef data);
|
|
Array f_sys_getloadavg();
|
|
Array f_token_get_all(CStrRef source);
|
|
String f_token_name(int64_t token);
|
|
String f_hphp_to_string(CVarRef v);
|
|
extern const double k_INF;
|
|
extern const double k_NAN;
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
}
|
|
|
|
#endif // incl_HPHP_EXT_MISC_H_
|