/php-src/ext/reflection/ |
H A D | php_reflection.h | 30 extern PHPAPI zend_class_entry *reflector_ptr; 31 extern PHPAPI zend_class_entry *reflection_exception_ptr; 32 extern PHPAPI zend_class_entry *reflection_ptr; 34 extern PHPAPI zend_class_entry *reflection_function_ptr; 36 extern PHPAPI zend_class_entry *reflection_type_ptr; 38 extern PHPAPI zend_class_entry *reflection_class_ptr; 39 extern PHPAPI zend_class_entry *reflection_object_ptr; 40 extern PHPAPI zend_class_entry *reflection_method_ptr; 41 extern PHPAPI zend_class_entry *reflection_property_ptr; 46 extern PHPAPI zend_class_entry *reflection_enum_ptr; [all …]
|
/php-src/main/ |
H A D | php_main.h | 31 PHPAPI const char *php_version(void); 37 PHPAPI unsigned int php_version_id(void); 45 PHPAPI zend_result php_request_startup(void); 46 PHPAPI void php_request_shutdown(void *dummy); 48 PHPAPI void php_module_shutdown(void); 58 PHPAPI void php_handle_aborted_connection(void); 59 PHPAPI int php_handle_auth_data(const char *auth); 61 PHPAPI void php_html_puts(const char *str, size_t siz); 69 PHPAPI void php_reserve_tsrm_memory(void); 70 PHPAPI bool php_tsrm_startup_ex(int expected_threads); [all …]
|
H A D | php_output.h | 147 PHPAPI ZEND_EXTERN_MODULE_GLOBALS(output) 187 PHPAPI void php_output_startup(void); 189 PHPAPI void php_output_shutdown(void); 192 PHPAPI int php_output_activate(void); 194 PHPAPI void php_output_deactivate(void); 197 PHPAPI int php_output_get_status(void); 206 PHPAPI void php_output_flush_all(void); 208 PHPAPI void php_output_clean_all(void); 209 PHPAPI zend_result php_output_end(void); 210 PHPAPI void php_output_end_all(void); [all …]
|
H A D | fopen_wrappers.h | 24 PHPAPI int php_fopen_primary_script(zend_file_handle *file_handle); 25 PHPAPI char *expand_filepath(const char *filepath, char *real_path); 26 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, siz… 29 PHPAPI int php_check_open_basedir(const char *path); 30 PHPAPI int php_check_open_basedir_ex(const char *path, int warn); 31 PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path); 36 PHPAPI int php_check_safe_mode_include_dir(const char *path); 38 PHPAPI zend_string *php_resolve_path(const char *filename, size_t filename_len, const char *path); 40 PHPAPI FILE *php_fopen_with_path(const char *filename, const char *mode, const char *path, zend_str… 42 PHPAPI char *php_strip_url_passwd(char *path); [all …]
|
H A D | php_ini.h | 23 PHPAPI void config_zval_dtor(zval *zvalue); 27 PHPAPI zval *cfg_get_entry_ex(zend_string *name); 28 PHPAPI zval *cfg_get_entry(const char *name, size_t name_length); 29 PHPAPI int cfg_get_long(const char *varname, zend_long *result); 30 PHPAPI int cfg_get_double(const char *varname, double *result); 31 PHPAPI int cfg_get_string(const char *varname, char **result); 34 PHPAPI int php_ini_has_per_dir_config(void); 35 PHPAPI int php_ini_has_per_host_config(void); 36 PHPAPI void php_ini_activate_per_dir_config(char *path, size_t path_len); 37 PHPAPI void php_ini_activate_per_host_config(const char *host, size_t host_len); [all …]
|
H A D | php.h | 61 # define PHPAPI __declspec(dllexport) macro 63 # define PHPAPI __declspec(dllimport) macro 71 # define PHPAPI macro 280 PHPAPI size_t php_write(void *buf, size_t size); 283 PHPAPI bool php_during_module_startup(void); 284 PHPAPI bool php_during_module_shutdown(void); 285 PHPAPI bool php_get_module_initialized(void); 338 PHPAPI void php_com_initialize(void); 339 PHPAPI char *php_get_current_user(void); 342 PHPAPI const char *php_get_input_encoding(void); [all …]
|
H A D | php_memory_streams.h | 42 PHPAPI php_stream *_php_stream_memory_create(int mode STREAMS_DC); 43 PHPAPI php_stream *_php_stream_memory_open(int mode, zend_string *buf STREAMS_DC); 44 PHPAPI zend_string *_php_stream_memory_get_buffer(php_stream *stream STREAMS_DC); 46 PHPAPI php_stream *_php_stream_temp_create(int mode, size_t max_memory_usage STREAMS_DC); 47 PHPAPI php_stream *_php_stream_temp_create_ex(int mode, size_t max_memory_usage, const char *tmpdir… 50 PHPAPI int php_stream_mode_from_str(const char *mode); 51 PHPAPI const char *_php_stream_mode_to_str(int mode); 55 extern PHPAPI const php_stream_ops php_stream_memory_ops; 56 extern PHPAPI const php_stream_ops php_stream_temp_ops; 57 extern PHPAPI const php_stream_ops php_stream_rfc2397_ops; [all …]
|
H A D | php_variables.h | 33 extern PHPAPI void (*php_import_environment_variables)(zval *array_ptr); 34 extern PHPAPI void (*php_load_environment_variables)(zval *array_ptr); 35 PHPAPI void php_register_variable(const char *var, const char *val, zval *track_vars_array); 37 PHPAPI void php_register_variable_safe(const char *var, const char *val, size_t val_len, zval *trac… 38 PHPAPI void php_register_variable_ex(const char *var, zval *val, zval *track_vars_array); 39 PHPAPI void php_register_known_variable(const char *var, size_t var_len, zval *value, zval *track_v… 41 PHPAPI void php_build_argv(const char *s, zval *track_vars_array); 42 PHPAPI int php_hash_environment(void);
|
H A D | snprintf.h | 72 PHPAPI int ap_php_slprintf(char *buf, size_t len, const char *format,...) ZEND_ATTRIBUTE_FORMAT(pri… 73 PHPAPI int ap_php_vslprintf(char *buf, size_t len, const char *format, va_list ap); 74 PHPAPI int ap_php_snprintf(char *, size_t, const char *, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4); 75 PHPAPI int ap_php_vsnprintf(char *, size_t, const char *, va_list ap); 76 PHPAPI int ap_php_vasprintf(char **buf, const char *format, va_list ap); 77 PHPAPI int ap_php_asprintf(char **buf, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 2, 3); 78 PHPAPI char * php_0cvt(double value, int ndigit, char dec_point, char exponent, char *buf); 79 PHPAPI char * php_conv_fp(char format, double num, 130 PHPAPI char * ap_php_conv_10(int64_t num, bool is_unsigned, 133 PHPAPI char * ap_php_conv_p2(uint64_t num, int nbits,
|
/php-src/ext/random/ |
H A D | php_random.h | 38 PHPAPI double php_combined_lcg(void); 42 PHPAPI uint64_t php_random_generate_fallback_seed(void); 59 PHPAPI void php_mt_srand(uint32_t seed); 60 PHPAPI uint32_t php_mt_rand(void); 106 extern PHPAPI const php_random_algo php_random_algo_mt19937; 109 extern PHPAPI const php_random_algo php_random_algo_secure; 110 extern PHPAPI const php_random_algo php_random_algo_user; 123 extern PHPAPI zend_class_entry *random_ce_Random_Engine; 135 extern PHPAPI zend_class_entry *random_ce_Random_Randomizer; 161 PHPAPI void *php_random_default_status(void); [all …]
|
/php-src/ext/spl/ |
H A D | spl_exceptions.h | 22 extern PHPAPI zend_class_entry *spl_ce_LogicException; 23 extern PHPAPI zend_class_entry *spl_ce_BadFunctionCallException; 24 extern PHPAPI zend_class_entry *spl_ce_BadMethodCallException; 25 extern PHPAPI zend_class_entry *spl_ce_DomainException; 27 extern PHPAPI zend_class_entry *spl_ce_LengthException; 28 extern PHPAPI zend_class_entry *spl_ce_OutOfRangeException; 30 extern PHPAPI zend_class_entry *spl_ce_RuntimeException; 31 extern PHPAPI zend_class_entry *spl_ce_OutOfBoundsException; 32 extern PHPAPI zend_class_entry *spl_ce_OverflowException; 33 extern PHPAPI zend_class_entry *spl_ce_RangeException; [all …]
|
H A D | spl_iterators.h | 22 extern PHPAPI zend_class_entry *spl_ce_AppendIterator; 23 extern PHPAPI zend_class_entry *spl_ce_CachingIterator; 25 extern PHPAPI zend_class_entry *spl_ce_EmptyIterator; 26 extern PHPAPI zend_class_entry *spl_ce_FilterIterator; 27 extern PHPAPI zend_class_entry *spl_ce_InfiniteIterator; 28 extern PHPAPI zend_class_entry *spl_ce_IteratorIterator; 29 extern PHPAPI zend_class_entry *spl_ce_LimitIterator; 30 extern PHPAPI zend_class_entry *spl_ce_NoRewindIterator; 31 extern PHPAPI zend_class_entry *spl_ce_OuterIterator; 32 extern PHPAPI zend_class_entry *spl_ce_ParentIterator; [all …]
|
H A D | spl_exceptions.c | 28 PHPAPI zend_class_entry *spl_ce_LogicException; 29 PHPAPI zend_class_entry *spl_ce_BadFunctionCallException; 30 PHPAPI zend_class_entry *spl_ce_BadMethodCallException; 31 PHPAPI zend_class_entry *spl_ce_DomainException; 33 PHPAPI zend_class_entry *spl_ce_LengthException; 34 PHPAPI zend_class_entry *spl_ce_OutOfRangeException; 35 PHPAPI zend_class_entry *spl_ce_RuntimeException; 36 PHPAPI zend_class_entry *spl_ce_OutOfBoundsException; 37 PHPAPI zend_class_entry *spl_ce_OverflowException; 38 PHPAPI zend_class_entry *spl_ce_RangeException; [all …]
|
/php-src/ext/standard/ |
H A D | php_var.h | 25 PHPAPI void php_var_dump(zval *struc, int level); 26 PHPAPI void php_var_export(zval *struc, int level); 27 PHPAPI zend_result php_var_export_ex(zval *struc, int level, smart_str *buf); 29 PHPAPI void php_debug_zval_dump(zval *struc, int level); 39 PHPAPI php_serialize_data_t php_var_serialize_init(void); 40 PHPAPI void php_var_serialize_destroy(php_serialize_data_t d); 41 PHPAPI php_unserialize_data_t php_var_unserialize_init(void); 42 PHPAPI void php_var_unserialize_destroy(php_unserialize_data_t d); 65 PHPAPI void var_push_dtor(php_unserialize_data_t *var_hash, zval *val); 66 PHPAPI zval *var_tmp_var(php_unserialize_data_t *var_hashx); [all …]
|
H A D | info.h | 55 PHPAPI void php_print_info_htmlhead(void); 56 PHPAPI void php_print_info(int flag); 57 PHPAPI void php_print_style(void); 58 PHPAPI void php_info_print_style(void); 61 PHPAPI void php_info_print_table_row(int num_cols, ...); 63 PHPAPI void php_info_print_table_start(void); 64 PHPAPI void php_info_print_table_end(void); 65 PHPAPI void php_info_print_box_start(int bg); 66 PHPAPI void php_info_print_box_end(void); 67 PHPAPI void php_info_print_hr(void); [all …]
|
H A D | file.h | 25 PHPAPI PHP_FUNCTION(fclose); 26 PHPAPI PHP_FUNCTION(feof); 27 PHPAPI PHP_FUNCTION(fread); 28 PHPAPI PHP_FUNCTION(fgetc); 29 PHPAPI PHP_FUNCTION(fgets); 30 PHPAPI PHP_FUNCTION(fwrite); 31 PHPAPI PHP_FUNCTION(fflush); 32 PHPAPI PHP_FUNCTION(rewind); 33 PHPAPI PHP_FUNCTION(ftell); 34 PHPAPI PHP_FUNCTION(fseek); [all …]
|
H A D | php_string.h | 36 PHPAPI struct lconv *localeconv_r(struct lconv *out); 38 PHPAPI zend_string *php_addslashes(zend_string *str); 39 PHPAPI void php_stripslashes(zend_string *str); 41 PHPAPI zend_string *php_addcslashes(zend_string *str, const char *what, size_t what_len); 42 PHPAPI void php_stripcslashes(zend_string *str); 44 PHPAPI size_t php_dirname(char *str, size_t len); 45 PHPAPI char *php_stristr(const char *s, const char *t, size_t s_len, size_t t_len); 46 PHPAPI zend_string *php_str_to_str(const char *haystack, size_t length, const char *needle, 48 PHPAPI zend_string *php_trim(zend_string *str, const char *what, size_t what_len, int mode); 49 PHPAPI size_t php_strip_tags(char *rbuf, size_t len, const char *allow, size_t allow_len); [all …]
|
H A D | basic_functions.h | 50 PHPAPI int _php_error_log(int opt_err, const char *message, const char *opt, const char *headers); 51 PHPAPI int _php_error_log_ex(int opt_err, const char *message, size_t message_len, const char *opt,… 114 PHPAPI extern int basic_globals_id; 117 PHPAPI extern php_basic_globals basic_globals; 120 PHPAPI zend_string *php_getenv(const char *str, size_t str_len); 122 PHPAPI double php_get_nan(void); 123 PHPAPI double php_get_inf(void); 131 PHPAPI extern bool remove_user_shutdown_function(const char *function_name, size_t function_len); 132 PHPAPI extern bool append_user_shutdown_function(php_shutdown_function_entry *shutdown_function_ent… 134 PHPAPI void php_call_shutdown_functions(void); [all …]
|
H A D | url.h | 31 PHPAPI void php_url_free(php_url *theurl); 32 PHPAPI php_url *php_url_parse(char const *str); 33 PHPAPI php_url *php_url_parse_ex(char const *str, size_t length); 34 PHPAPI php_url *php_url_parse_ex2(char const *str, size_t length, bool *has_port); 35 PHPAPI size_t php_url_decode(char *str, size_t len); /* return value: length of decoded string */ 36 PHPAPI size_t php_raw_url_decode(char *str, size_t len); /* return value: length of decoded string … 37 PHPAPI zend_string *php_url_encode(char const *s, size_t len); 38 PHPAPI zend_string *php_raw_url_encode(char const *s, size_t len);
|
H A D | php_math.h | 21 PHPAPI double _php_math_round(double value, int places, int mode); 22 PHPAPI zend_string *_php_math_number_format(double d, int dec, char dec_point, char thousand_sep); 23 PHPAPI zend_string *_php_math_number_format_ex(double d, int dec, const char *dec_point, size_t dec… 24 PHPAPI zend_string *_php_math_number_format_long(zend_long num, zend_long dec, const char *dec_poin… 25 PHPAPI zend_string * _php_math_longtobase(zend_long arg, int base); 26 PHPAPI zend_long _php_math_basetolong(zval *arg, int base); 27 PHPAPI void _php_math_basetozval(zend_string *str, int base, zval *ret); 28 PHPAPI zend_string * _php_math_zvaltobase(zval *arg, int base);
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_priv.h | 20 PHPAPI extern MYSQLND_CLASS_METHOD_TABLE_NAME_FORWARD(mysqlnd_object_factory); 21 PHPAPI extern MYSQLND_CLASS_METHOD_TABLE_NAME_FORWARD(mysqlnd_conn); 22 PHPAPI extern MYSQLND_CLASS_METHOD_TABLE_NAME_FORWARD(mysqlnd_conn_data); 23 PHPAPI extern MYSQLND_CLASS_METHOD_TABLE_NAME_FORWARD(mysqlnd_res); 24 PHPAPI extern MYSQLND_CLASS_METHOD_TABLE_NAME_FORWARD(mysqlnd_result_unbuffered); 25 PHPAPI extern MYSQLND_CLASS_METHOD_TABLE_NAME_FORWARD(mysqlnd_result_buffered); 27 PHPAPI extern MYSQLND_CLASS_METHOD_TABLE_NAME_FORWARD(mysqlnd_protocol_packet_frame_codec); 28 PHPAPI extern MYSQLND_CLASS_METHOD_TABLE_NAME_FORWARD(mysqlnd_vio); 29 PHPAPI extern MYSQLND_CLASS_METHOD_TABLE_NAME_FORWARD(mysqlnd_upsert_status); 30 PHPAPI extern MYSQLND_CLASS_METHOD_TABLE_NAME_FORWARD(mysqlnd_error_info); [all …]
|
/php-src/ext/pcre/ |
H A D | php_pcre.h | 29 PHPAPI pcre2_code* pcre_get_compiled_regex(zend_string *regex, uint32_t *capture_count); 49 PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(zend_string *regex); 64 PHPAPI pcre2_match_context *php_pcre_mctx(void); 65 PHPAPI pcre2_general_context *php_pcre_gctx(void); 66 PHPAPI pcre2_compile_context *php_pcre_cctx(void); 67 PHPAPI void php_pcre_pce_incref(pcre_cache_entry *); 68 PHPAPI void php_pcre_pce_decref(pcre_cache_entry *); 69 PHPAPI pcre2_code *php_pcre_pce_re(pcre_cache_entry *); 71 PHPAPI pcre2_match_data *php_pcre_create_match_data(uint32_t, pcre2_code *); 72 PHPAPI void php_pcre_free_match_data(pcre2_match_data *); [all …]
|
/php-src/main/streams/ |
H A D | php_stream_filter_api.h | 68 PHPAPI void php_stream_bucket_delref(php_stream_bucket *bucket); 71 PHPAPI void php_stream_bucket_append(php_stream_bucket_brigade *brigade, php_stream_bucket *bucket); 72 PHPAPI void php_stream_bucket_unlink(php_stream_bucket *bucket); 73 PHPAPI php_stream_bucket *php_stream_bucket_make_writeable(php_stream_bucket *bucket); 123 PHPAPI void _php_stream_filter_prepend(php_stream_filter_chain *chain, php_stream_filter *filter); 125 PHPAPI void _php_stream_filter_append(php_stream_filter_chain *chain, php_stream_filter *filter); 126 PHPAPI int php_stream_filter_append_ex(php_stream_filter_chain *chain, php_stream_filter *filter); 127 PHPAPI int _php_stream_filter_flush(php_stream_filter *filter, int finish); 128 PHPAPI php_stream_filter *php_stream_filter_remove(php_stream_filter *filter, int call_dtor); 129 PHPAPI void php_stream_filter_free(php_stream_filter *filter); [all …]
|
H A D | php_stream_plain_wrapper.h | 20 PHPAPI extern php_stream_ops php_stream_stdio_ops; 21 PHPAPI extern /*const*/ php_stream_wrapper php_plain_files_wrapper; 26 PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, zend_string **opened_p… 29 PHPAPI php_stream *_php_stream_fopen_with_path(const char *filename, const char *mode, const char *… 32 PHPAPI php_stream *_php_stream_fopen_from_file(FILE *file, const char *mode STREAMS_DC); 35 PHPAPI php_stream *_php_stream_fopen_from_fd(int fd, const char *mode, const char *persistent_id, b… 38 PHPAPI php_stream *_php_stream_fopen_from_pipe(FILE *file, const char *mode STREAMS_DC); 41 PHPAPI php_stream *_php_stream_fopen_tmpfile(int dummy STREAMS_DC); 44 PHPAPI php_stream *_php_stream_fopen_temporary_file(const char *dir, const char *pfx, zend_string *… 50 PHPAPI FILE * _php_stream_open_wrapper_as_file(char * path, char * mode, int options, zend_string *… [all …]
|
/php-src/ext/date/ |
H A D | php_date.h | 132 PHPAPI time_t php_time(void); 136 PHPAPI void php_mktime(INTERNAL_FUNCTION_PARAMETERS, bool gmt); 137 PHPAPI int php_idate(char format, time_t ts, bool localtime); 146 PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb); 147 PHPAPI timelib_tzinfo *get_timezone_info(void); 150 PHPAPI zend_class_entry *php_date_get_date_ce(void); 151 PHPAPI zend_class_entry *php_date_get_immutable_ce(void); 152 PHPAPI zend_class_entry *php_date_get_interface_ce(void); 153 PHPAPI zend_class_entry *php_date_get_timezone_ce(void); 154 PHPAPI zend_class_entry *php_date_get_interval_ce(void); [all …]
|