php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zend.h File Reference
#include "zend_types.h"
#include "zend_map_ptr.h"
#include "zend_errors.h"
#include "zend_alloc.h"
#include "zend_llist.h"
#include "zend_string.h"
#include "zend_hash.h"
#include "zend_ast.h"
#include "zend_gc.h"
#include "zend_variables.h"
#include "zend_iterators.h"
#include "zend_stream.h"
#include "zend_smart_str_public.h"
#include "zend_smart_string_public.h"
#include "zend_signal.h"
#include "zend_max_execution_timer.h"
#include "zend_object_handlers.h"
#include "zend_operators.h"

Go to the source code of this file.

Data Structures

struct  _zend_class_name
 
struct  _zend_trait_method_reference
 
struct  _zend_trait_precedence
 
struct  _zend_trait_alias
 
struct  _zend_class_mutable_data
 
struct  _zend_class_dependency
 
struct  _zend_error_info
 
struct  _zend_inheritance_cache_entry
 
struct  _zend_class_entry
 
union  zend_random_bytes_insecure_state
 
struct  _zend_utility_functions
 
struct  _zend_utility_values
 
struct  zend_error_handling
 

Macros

#define ZEND_VERSION   "4.4.8"
 
#define ZEND_ENGINE_3
 
#define zend_sprintf   sprintf
 
#define HANDLE_BLOCK_INTERRUPTIONS()
 
#define HANDLE_UNBLOCK_INTERRUPTIONS()
 
#define INTERNAL_FUNCTION_PARAMETERS   zend_execute_data *execute_data, zval *return_value
 
#define INTERNAL_FUNCTION_PARAM_PASSTHRU   execute_data, return_value
 
#define USED_RET()
 
#define ZEND_TSRMG   TSRMG
 
#define ZEND_TSRMG_FAST   TSRMG_FAST
 
#define ZEND_TSRMLS_CACHE_EXTERN()
 
#define ZEND_TSRMLS_CACHE_DEFINE()
 
#define ZEND_TSRMLS_CACHE_UPDATE()
 
#define ZEND_TSRMLS_CACHE
 
#define zend_bailout()
 
#define zend_try
 
#define zend_catch
 
#define zend_end_try()
 
#define zend_first_try   EG(bailout)=NULL; zend_try
 
#define ZEND_WRITE(str, str_len)
 
#define ZEND_WRITE_EX(str, str_len)
 
#define ZEND_PUTS(str)
 
#define ZEND_PUTS_EX(str)
 
#define ZEND_PUTC(c)
 
#define ZEND_STANDARD_CLASS_DEF_PTR   zend_standard_class_def
 
#define ZEND_UV(name)
 
#define ZMSG_FAILED_INCLUDE_FOPEN   1L
 
#define ZMSG_FAILED_REQUIRE_FOPEN   2L
 
#define ZMSG_FAILED_HIGHLIGHT_FOPEN   3L
 
#define ZMSG_MEMORY_LEAK_DETECTED   4L
 
#define ZMSG_MEMORY_LEAK_REPEATED   5L
 
#define ZMSG_LOG_SCRIPT_NAME   6L
 
#define ZMSG_MEMORY_LEAKS_GRAND_TOTAL   7L
 
#define DEBUG_BACKTRACE_PROVIDE_OBJECT   (1<<0)
 
#define DEBUG_BACKTRACE_IGNORE_ARGS   (1<<1)
 

Typedefs

typedef struct _zend_serialize_data zend_serialize_data
 
typedef struct _zend_unserialize_data zend_unserialize_data
 
typedef struct _zend_class_name zend_class_name
 
typedef struct _zend_trait_method_reference zend_trait_method_reference
 
typedef struct _zend_trait_precedence zend_trait_precedence
 
typedef struct _zend_trait_alias zend_trait_alias
 
typedef struct _zend_class_mutable_data zend_class_mutable_data
 
typedef struct _zend_class_dependency zend_class_dependency
 
typedef struct _zend_inheritance_cache_entry zend_inheritance_cache_entry
 
typedef struct _zend_error_info zend_error_info
 
typedef struct _zend_utility_functions zend_utility_functions
 
typedef struct _zend_utility_values zend_utility_values
 
typedef size_t(* zend_write_func_t) (const char *str, size_t str_length)
 

Enumerations

enum  zend_error_handling_t { EH_NORMAL = 0 , EH_THROW }
 

Functions

void zend_startup (zend_utility_functions *utility_functions)
 
void zend_shutdown (void)
 
void zend_register_standard_ini_entries (void)
 
zend_result zend_post_startup (void)
 
void zend_set_utility_values (zend_utility_values *utility_values)
 
void zend_unload_modules (void)
 
ZEND_API ZEND_COLD ZEND_NORETURN void _zend_bailout (const char *filename, uint32_t lineno)
 
ZEND_API size_t zend_get_page_size (void)
 
ZEND_API size_t zend_vspprintf (char **pbuf, size_t max_len, const char *format, va_list ap)
 
ZEND_API size_t zend_spprintf (char **message, size_t max_len, const char *format,...) ZEND_ATTRIBUTE_FORMAT(printf
 
ZEND_API size_t ZEND_API zend_stringzend_vstrpprintf (size_t max_len, const char *format, va_list ap)
 
ZEND_API zend_stringzend_strpprintf (size_t max_len, const char *format,...) ZEND_ATTRIBUTE_FORMAT(printf
 
ZEND_API zend_string ZEND_API size_t zend_spprintf_unchecked (char **message, size_t max_len, const char *format,...)
 
ZEND_API zend_stringzend_strpprintf_unchecked (size_t max_len, const char *format,...)
 
ZEND_API const char * get_zend_version (void)
 
ZEND_API bool zend_make_printable_zval (zval *expr, zval *expr_copy)
 
ZEND_API size_t zend_print_zval (zval *expr, int indent)
 
ZEND_API void zend_print_zval_r (zval *expr, int indent)
 
ZEND_API zend_stringzend_print_zval_r_to_str (zval *expr, int indent)
 
ZEND_API void zend_print_flat_zval_r (zval *expr)
 
void zend_print_flat_zval_r_to_buf (smart_str *str, zval *expr)
 
ZEND_API ZEND_COLD void zend_output_debug_string (bool trigger_break, const char *format,...) ZEND_ATTRIBUTE_FORMAT(printf
 
ZEND_API ZEND_COLD void ZEND_API void zend_activate (void)
 
ZEND_API void zend_deactivate (void)
 
ZEND_API void zend_call_destructors (void)
 
ZEND_API void zend_activate_modules (void)
 
ZEND_API void zend_deactivate_modules (void)
 
ZEND_API void zend_post_deactivate_modules (void)
 
ZEND_API void free_estring (char **str_p)
 
ZEND_API ZEND_COLD void zend_error (int type, const char *format,...) ZEND_ATTRIBUTE_FORMAT(printf
 
ZEND_API ZEND_COLD void ZEND_API ZEND_COLD ZEND_NORETURN void zend_error_noreturn (int type, const char *format,...) ZEND_ATTRIBUTE_FORMAT(printf
 
ZEND_API ZEND_COLD void ZEND_API ZEND_COLD ZEND_NORETURN void ZEND_API ZEND_COLD ZEND_NORETURN void zend_error_noreturn_unchecked (int type, const char *format,...)
 
ZEND_API ZEND_COLD void zend_error_unchecked (int type, const char *format,...)
 
ZEND_API ZEND_COLD void zend_error_at (int type, zend_string *filename, uint32_t lineno, const char *format,...) ZEND_ATTRIBUTE_FORMAT(printf
 
ZEND_API ZEND_COLD void ZEND_API ZEND_COLD ZEND_NORETURN void zend_error_at_noreturn (int type, zend_string *filename, uint32_t lineno, const char *format,...) ZEND_ATTRIBUTE_FORMAT(printf
 
ZEND_API ZEND_COLD void ZEND_API ZEND_COLD ZEND_NORETURN void ZEND_API ZEND_COLD void zend_error_zstr (int type, zend_string *message)
 
ZEND_API ZEND_COLD void zend_error_zstr_at (int type, zend_string *filename, uint32_t lineno, zend_string *message)
 
ZEND_API ZEND_COLD void zend_throw_error (zend_class_entry *exception_ce, const char *format,...) ZEND_ATTRIBUTE_FORMAT(printf
 
ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void zend_type_error (const char *format,...) ZEND_ATTRIBUTE_FORMAT(printf
 
ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void zend_argument_count_error (const char *format,...) ZEND_ATTRIBUTE_FORMAT(printf
 
ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void zend_value_error (const char *format,...) ZEND_ATTRIBUTE_FORMAT(printf
 
ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void zend_illegal_container_offset (const zend_string *container, const zval *offset, int type)
 
ZEND_COLD void zenderror (const char *error)
 
ZEND_API ZEND_COLD ZEND_NORETURN void zend_strerror_noreturn (int type, int errn, const char *message)
 
ZEND_API void zend_message_dispatcher (zend_long message, const void *data)
 
ZEND_API zvalzend_get_configuration_directive (zend_string *name)
 
ZEND_API void zend_save_error_handling (zend_error_handling *current)
 
ZEND_API void zend_replace_error_handling (zend_error_handling_t error_handling, zend_class_entry *exception_class, zend_error_handling *current)
 
ZEND_API void zend_restore_error_handling (zend_error_handling *saved)
 
ZEND_API void zend_begin_record_errors (void)
 
ZEND_API void zend_emit_recorded_errors (void)
 
ZEND_API void zend_free_recorded_errors (void)
 

Variables

ZEND_API size_t(* zend_printf )(const char *format,...) ZEND_ATTRIBUTE_PTR_FORMAT(printf
 
ZEND_API size_t ZEND_API zend_write_func_t zend_write
 
ZEND_API FILE *(* zend_fopen )(zend_string *filename, zend_string **opened_path)
 
ZEND_API void(* zend_ticks_function )(int ticks)
 
ZEND_API void(* zend_interrupt_function )(zend_execute_data *execute_data)
 
ZEND_API void(* zend_error_cb )(int type, zend_string *error_filename, const uint32_t error_lineno, zend_string *message)
 
ZEND_API void(* zend_on_timeout )(int seconds)
 
ZEND_API zend_result(* zend_stream_open_function )(zend_file_handle *handle)
 
void(* zend_printf_to_smart_string )(smart_string *buf, const char *format, va_list ap)
 
void(* zend_printf_to_smart_str )(smart_str *buf, const char *format, va_list ap)
 
ZEND_API char *(* zend_getenv )(const char *name, size_t name_len)
 
ZEND_API zend_string *(* zend_resolve_path )(zend_string *filename)
 
ZEND_ATTRIBUTE_NONNULL ZEND_API zend_result(* zend_random_bytes )(void *bytes, size_t size, char *errstr, size_t errstr_size)
 
ZEND_ATTRIBUTE_NONNULL ZEND_API void(* zend_random_bytes_insecure )(zend_random_bytes_insecure_state *state, void *bytes, size_t size)
 
ZEND_API zend_result(* zend_post_startup_cb )(void)
 
ZEND_API void(* zend_post_shutdown_cb )(void)
 
ZEND_API void(* zend_accel_schedule_restart_hook )(int reason)
 
ZEND_API zend_class_entryzend_standard_class_def
 
ZEND_API zend_utility_values zend_uv
 
ZEND_API bool zend_dtrace_enabled
 

Macro Definition Documentation

◆ DEBUG_BACKTRACE_IGNORE_ARGS

#define DEBUG_BACKTRACE_IGNORE_ARGS   (1<<1)

Definition at line 451 of file zend.h.

◆ DEBUG_BACKTRACE_PROVIDE_OBJECT

#define DEBUG_BACKTRACE_PROVIDE_OBJECT   (1<<0)

Definition at line 450 of file zend.h.

◆ HANDLE_BLOCK_INTERRUPTIONS

#define HANDLE_BLOCK_INTERRUPTIONS ( )
Value:
#define ZEND_SIGNAL_BLOCK_INTERRUPTIONS()

Definition at line 46 of file zend.h.

◆ HANDLE_UNBLOCK_INTERRUPTIONS

#define HANDLE_UNBLOCK_INTERRUPTIONS ( )
Value:
#define ZEND_SIGNAL_UNBLOCK_INTERRUPTIONS()

Definition at line 47 of file zend.h.

◆ INTERNAL_FUNCTION_PARAM_PASSTHRU

#define INTERNAL_FUNCTION_PARAM_PASSTHRU   execute_data, return_value

Definition at line 50 of file zend.h.

◆ INTERNAL_FUNCTION_PARAMETERS

#define INTERNAL_FUNCTION_PARAMETERS   zend_execute_data *execute_data, zval *return_value

Definition at line 49 of file zend.h.

◆ USED_RET

#define USED_RET ( )
Value:
!ZEND_USER_CODE(EX(prev_execute_data)->func->common.type) || \
(EX(prev_execute_data)->opline->result_type != IS_UNUSED))
execute_data func
#define ZEND_USER_CODE(type)
#define IS_UNUSED
#define EX(element)
call prev_execute_data

Definition at line 52 of file zend.h.

◆ zend_bailout

#define zend_bailout ( )
Value:
_zend_bailout(__FILE__, __LINE__)
ZEND_API ZEND_COLD ZEND_NORETURN void _zend_bailout(const char *filename, uint32_t lineno)
Definition zend.c:1252

Definition at line 268 of file zend.h.

◆ zend_catch

#define zend_catch
Value:
} else { \
EG(bailout) = __orig_bailout;
JMP_BUF bailout
Definition php_ffi.h:49

Definition at line 277 of file zend.h.

◆ zend_end_try

#define zend_end_try ( )
Value:
} \
EG(bailout) = __orig_bailout; \
}

Definition at line 280 of file zend.h.

◆ ZEND_ENGINE_3

#define ZEND_ENGINE_3

Definition at line 25 of file zend.h.

◆ zend_first_try

#define zend_first_try   EG(bailout)=NULL; zend_try

Definition at line 284 of file zend.h.

◆ ZEND_PUTC

#define ZEND_PUTC ( c)
Value:
zend_write(&(c), 1)
ZEND_API zend_write_func_t zend_write
Definition zend.c:85

Definition at line 337 of file zend.h.

◆ ZEND_PUTS

#define ZEND_PUTS ( str)
Value:
zend_write((str), strlen((str)))
strlen(string $string)

Definition at line 335 of file zend.h.

◆ ZEND_PUTS_EX

#define ZEND_PUTS_EX ( str)
Value:
write_func((str), strlen((str)))

Definition at line 336 of file zend.h.

◆ zend_sprintf

#define zend_sprintf   sprintf

Definition at line 44 of file zend.h.

◆ ZEND_STANDARD_CLASS_DEF_PTR

#define ZEND_STANDARD_CLASS_DEF_PTR   zend_standard_class_def

Definition at line 406 of file zend.h.

◆ zend_try

#define zend_try
Value:
{ \
JMP_BUF *__orig_bailout = EG(bailout); \
JMP_BUF __bailout; \
\
EG(bailout) = &__bailout; \
if (SETJMP(__bailout)==0) {
#define EG(v)
#define JMP_BUF
#define SETJMP(a)

Definition at line 270 of file zend.h.

◆ ZEND_TSRMG

#define ZEND_TSRMG   TSRMG

Definition at line 65 of file zend.h.

◆ ZEND_TSRMG_FAST

#define ZEND_TSRMG_FAST   TSRMG_FAST

Definition at line 66 of file zend.h.

◆ ZEND_TSRMLS_CACHE

#define ZEND_TSRMLS_CACHE

Definition at line 70 of file zend.h.

◆ ZEND_TSRMLS_CACHE_DEFINE

#define ZEND_TSRMLS_CACHE_DEFINE ( )

Definition at line 68 of file zend.h.

◆ ZEND_TSRMLS_CACHE_EXTERN

#define ZEND_TSRMLS_CACHE_EXTERN ( )

Definition at line 67 of file zend.h.

◆ ZEND_TSRMLS_CACHE_UPDATE

#define ZEND_TSRMLS_CACHE_UPDATE ( )

Definition at line 69 of file zend.h.

◆ ZEND_UV

#define ZEND_UV ( name)
Value:
(zend_uv.name)
ZEND_API zend_utility_values zend_uv
Definition zend.c:73

Definition at line 414 of file zend.h.

◆ ZEND_VERSION

#define ZEND_VERSION   "4.4.8"

Definition at line 23 of file zend.h.

◆ ZEND_WRITE

#define ZEND_WRITE ( str,
str_len )
Value:
zend_write((str), (str_len))

Definition at line 333 of file zend.h.

◆ ZEND_WRITE_EX

#define ZEND_WRITE_EX ( str,
str_len )
Value:
write_func((str), (str_len))

Definition at line 334 of file zend.h.

◆ ZMSG_FAILED_HIGHLIGHT_FOPEN

#define ZMSG_FAILED_HIGHLIGHT_FOPEN   3L

Definition at line 425 of file zend.h.

◆ ZMSG_FAILED_INCLUDE_FOPEN

#define ZMSG_FAILED_INCLUDE_FOPEN   1L

Definition at line 423 of file zend.h.

◆ ZMSG_FAILED_REQUIRE_FOPEN

#define ZMSG_FAILED_REQUIRE_FOPEN   2L

Definition at line 424 of file zend.h.

◆ ZMSG_LOG_SCRIPT_NAME

#define ZMSG_LOG_SCRIPT_NAME   6L

Definition at line 428 of file zend.h.

◆ ZMSG_MEMORY_LEAK_DETECTED

#define ZMSG_MEMORY_LEAK_DETECTED   4L

Definition at line 426 of file zend.h.

◆ ZMSG_MEMORY_LEAK_REPEATED

#define ZMSG_MEMORY_LEAK_REPEATED   5L

Definition at line 427 of file zend.h.

◆ ZMSG_MEMORY_LEAKS_GRAND_TOTAL

#define ZMSG_MEMORY_LEAKS_GRAND_TOTAL   7L

Definition at line 429 of file zend.h.

Typedef Documentation

◆ zend_class_dependency

◆ zend_class_mutable_data

◆ zend_class_name

◆ zend_error_info

◆ zend_inheritance_cache_entry

Definition at line 127 of file zend.h.

◆ zend_serialize_data

typedef struct _zend_serialize_data zend_serialize_data

Definition at line 82 of file zend.h.

◆ zend_trait_alias

◆ zend_trait_method_reference

◆ zend_trait_precedence

◆ zend_unserialize_data

typedef struct _zend_unserialize_data zend_unserialize_data

Definition at line 83 of file zend.h.

◆ zend_utility_functions

◆ zend_utility_values

◆ zend_write_func_t

typedef size_t(* zend_write_func_t) (const char *str, size_t str_length)

Definition at line 266 of file zend.h.

Enumeration Type Documentation

◆ zend_error_handling_t

Enumerator
EH_NORMAL 
EH_THROW 

Definition at line 431 of file zend.h.

Function Documentation

◆ _zend_bailout()

ZEND_API ZEND_COLD ZEND_NORETURN void _zend_bailout ( const char * filename,
uint32_t lineno )

Definition at line 1252 of file zend.c.

◆ free_estring()

ZEND_API void free_estring ( char ** str_p)

Definition at line 2002 of file zend.c.

◆ get_zend_version()

ZEND_API const char * get_zend_version ( void )

Definition at line 1306 of file zend.c.

◆ zend_activate()

ZEND_API ZEND_COLD void ZEND_API void zend_activate ( void )

Definition at line 1312 of file zend.c.

◆ zend_activate_modules()

ZEND_API void zend_activate_modules ( void )

Definition at line 3371 of file zend_API.c.

◆ zend_argument_count_error()

ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void zend_argument_count_error ( const char * format,
... )

◆ zend_begin_record_errors()

ZEND_API void zend_begin_record_errors ( void )

Definition at line 1738 of file zend.c.

◆ zend_call_destructors()

ZEND_API void zend_call_destructors ( void )

Definition at line 1329 of file zend.c.

◆ zend_deactivate()

ZEND_API void zend_deactivate ( void )

Definition at line 1337 of file zend.c.

◆ zend_deactivate_modules()

ZEND_API void zend_deactivate_modules ( void )

Definition at line 3387 of file zend_API.c.

◆ zend_emit_recorded_errors()

ZEND_API void zend_emit_recorded_errors ( void )

Definition at line 1746 of file zend.c.

◆ zend_error()

ZEND_API ZEND_COLD void zend_error ( int type,
const char * format,
... )

◆ zend_error_at()

ZEND_API ZEND_COLD void zend_error_at ( int type,
zend_string * filename,
uint32_t lineno,
const char * format,
... )

◆ zend_error_at_noreturn()

ZEND_API ZEND_COLD void ZEND_API ZEND_COLD ZEND_NORETURN void zend_error_at_noreturn ( int type,
zend_string * filename,
uint32_t lineno,
const char * format,
... )

◆ zend_error_noreturn()

ZEND_API ZEND_COLD void ZEND_API ZEND_COLD ZEND_NORETURN void zend_error_noreturn ( int type,
const char * format,
... )

◆ zend_error_noreturn_unchecked()

ZEND_API ZEND_COLD void ZEND_API ZEND_COLD ZEND_NORETURN void ZEND_API ZEND_COLD ZEND_NORETURN void zend_error_noreturn_unchecked ( int type,
const char * format,
... )

Definition at line 1708 of file zend.c.

◆ zend_error_unchecked()

ZEND_API ZEND_COLD void zend_error_unchecked ( int type,
const char * format,
... )

Definition at line 1670 of file zend.c.

◆ zend_error_zstr()

Definition at line 1731 of file zend.c.

◆ zend_error_zstr_at()

ZEND_API ZEND_COLD void zend_error_zstr_at ( int type,
zend_string * filename,
uint32_t lineno,
zend_string * message )

Definition at line 1428 of file zend.c.

◆ zend_free_recorded_errors()

ZEND_API void zend_free_recorded_errors ( void )

Definition at line 1755 of file zend.c.

◆ zend_get_configuration_directive()

ZEND_API zval * zend_get_configuration_directive ( zend_string * name)

Definition at line 1401 of file zend.c.

◆ zend_get_page_size()

ZEND_API size_t zend_get_page_size ( void )

Definition at line 1269 of file zend.c.

◆ zend_illegal_container_offset()

ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void zend_illegal_container_offset ( const zend_string * container,
const zval * offset,
int type )

Definition at line 1802 of file zend.c.

◆ zend_make_printable_zval()

ZEND_API bool zend_make_printable_zval ( zval * expr,
zval * expr_copy )

Definition at line 453 of file zend.c.

◆ zend_message_dispatcher()

ZEND_API void zend_message_dispatcher ( zend_long message,
const void * data )

Definition at line 1393 of file zend.c.

◆ zend_output_debug_string()

ZEND_API ZEND_COLD void zend_output_debug_string ( bool trigger_break,
const char * format,
... )

◆ zend_post_deactivate_modules()

ZEND_API void zend_post_deactivate_modules ( void )

Definition at line 3427 of file zend_API.c.

◆ zend_post_startup()

zend_result zend_post_startup ( void )

Definition at line 1090 of file zend.c.

◆ zend_print_flat_zval_r()

ZEND_API void zend_print_flat_zval_r ( zval * expr)

Definition at line 534 of file zend.c.

◆ zend_print_flat_zval_r_to_buf()

void zend_print_flat_zval_r_to_buf ( smart_str * str,
zval * expr )

Definition at line 479 of file zend.c.

◆ zend_print_zval()

ZEND_API size_t zend_print_zval ( zval * expr,
int indent )

Definition at line 464 of file zend.c.

◆ zend_print_zval_r()

ZEND_API void zend_print_zval_r ( zval * expr,
int indent )

Definition at line 625 of file zend.c.

◆ zend_print_zval_r_to_str()

ZEND_API zend_string * zend_print_zval_r_to_str ( zval * expr,
int indent )

Definition at line 616 of file zend.c.

◆ zend_register_standard_ini_entries()

void zend_register_standard_ini_entries ( void )

Definition at line 1080 of file zend.c.

◆ zend_replace_error_handling()

ZEND_API void zend_replace_error_handling ( zend_error_handling_t error_handling,
zend_class_entry * exception_class,
zend_error_handling * current )

Definition at line 5242 of file zend_API.c.

◆ zend_restore_error_handling()

ZEND_API void zend_restore_error_handling ( zend_error_handling * saved)

Definition at line 5253 of file zend_API.c.

◆ zend_save_error_handling()

ZEND_API void zend_save_error_handling ( zend_error_handling * current)

Definition at line 5235 of file zend_API.c.

◆ zend_set_utility_values()

void zend_set_utility_values ( zend_utility_values * utility_values)

Definition at line 1232 of file zend.c.

◆ zend_shutdown()

void zend_shutdown ( void )

Definition at line 1158 of file zend.c.

◆ zend_spprintf()

ZEND_API size_t zend_spprintf ( char ** message,
size_t max_len,
const char * format,
... )

◆ zend_spprintf_unchecked()

ZEND_API zend_string ZEND_API size_t zend_spprintf_unchecked ( char ** message,
size_t max_len,
const char * format,
... )

Definition at line 323 of file zend.c.

◆ zend_startup()

void zend_startup ( zend_utility_functions * utility_functions)

Definition at line 916 of file zend.c.

◆ zend_strerror_noreturn()

ZEND_API ZEND_COLD ZEND_NORETURN void zend_strerror_noreturn ( int type,
int errn,
const char * message )

Definition at line 1713 of file zend.c.

◆ zend_strpprintf()

ZEND_API zend_string * zend_strpprintf ( size_t max_len,
const char * format,
... )

◆ zend_strpprintf_unchecked()

ZEND_API zend_string * zend_strpprintf_unchecked ( size_t max_len,
const char * format,
... )

Definition at line 365 of file zend.c.

◆ zend_throw_error()

ZEND_API ZEND_COLD void zend_throw_error ( zend_class_entry * exception_ce,
const char * format,
... )

◆ zend_type_error()

ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void zend_type_error ( const char * format,
... )

◆ zend_unload_modules()

void zend_unload_modules ( void )

Definition at line 3415 of file zend_API.c.

◆ zend_value_error()

ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void ZEND_API ZEND_COLD void zend_value_error ( const char * format,
... )

◆ zend_vspprintf()

ZEND_API size_t zend_vspprintf ( char ** pbuf,
size_t max_len,
const char * format,
va_list ap )

Definition at line 283 of file zend.c.

◆ zend_vstrpprintf()

ZEND_API size_t ZEND_API zend_string * zend_vstrpprintf ( size_t max_len,
const char * format,
va_list ap )

Definition at line 335 of file zend.c.

◆ zenderror()

ZEND_COLD void zenderror ( const char * error)

Definition at line 1239 of file zend.c.

Variable Documentation

◆ zend_accel_schedule_restart_hook

ZEND_API void(* zend_accel_schedule_restart_hook) (int reason) ( int reason)
extern

Definition at line 97 of file zend.c.

◆ zend_dtrace_enabled

ZEND_API bool zend_dtrace_enabled
extern

Definition at line 74 of file zend.c.

◆ zend_error_cb

ZEND_API void(* zend_error_cb) (int type, zend_string *error_filename, const uint32_t error_lineno, zend_string *message) ( int type,
zend_string * error_filename,
const uint32_t error_lineno,
zend_string * message )
extern

Definition at line 90 of file zend.c.

◆ zend_fopen

ZEND_API FILE *(* zend_fopen) (zend_string *filename, zend_string **opened_path) ( zend_string * filename,
zend_string ** opened_path )
extern

Definition at line 86 of file zend.c.

◆ zend_getenv

ZEND_API char *(* zend_getenv) (const char *name, size_t name_len) ( const char * name,
size_t name_len )
extern

Definition at line 93 of file zend.c.

◆ zend_interrupt_function

ZEND_API void(* zend_interrupt_function) (zend_execute_data *execute_data) ( zend_execute_data * execute_data)
extern

Definition at line 89 of file zend.c.

◆ zend_on_timeout

ZEND_API void(* zend_on_timeout) (int seconds) ( int seconds)
extern

Definition at line 102 of file zend.c.

◆ zend_post_shutdown_cb

ZEND_API void(* zend_post_shutdown_cb) (void) ( void )
extern

Definition at line 96 of file zend.c.

◆ zend_post_startup_cb

ZEND_API zend_result(* zend_post_startup_cb) (void) ( void )
extern

Definition at line 95 of file zend.c.

◆ zend_printf

ZEND_API size_t(* zend_printf) (const char *format,...) ZEND_ATTRIBUTE_PTR_FORMAT(printf ( const char * format,
... )
extern

Definition at line 84 of file zend.c.

◆ zend_printf_to_smart_str

void(* zend_printf_to_smart_str) (smart_str *buf, const char *format, va_list ap) ( smart_str * buf,
const char * format,
va_list ap )
extern

Definition at line 92 of file zend.c.

◆ zend_printf_to_smart_string

void(* zend_printf_to_smart_string) (smart_string *buf, const char *format, va_list ap) ( smart_string * buf,
const char * format,
va_list ap )
extern

Definition at line 91 of file zend.c.

◆ zend_random_bytes

ZEND_ATTRIBUTE_NONNULL ZEND_API zend_result(* zend_random_bytes) (void *bytes, size_t size, char *errstr, size_t errstr_size) ( void * bytes,
size_t size,
char * errstr,
size_t errstr_size )
extern

Definition at line 98 of file zend.c.

◆ zend_random_bytes_insecure

ZEND_ATTRIBUTE_NONNULL ZEND_API void(* zend_random_bytes_insecure) (zend_random_bytes_insecure_state *state, void *bytes, size_t size) ( zend_random_bytes_insecure_state * state,
void * bytes,
size_t size )
extern

Definition at line 99 of file zend.c.

◆ zend_resolve_path

ZEND_API zend_string *(* zend_resolve_path) (zend_string *filename) ( zend_string * filename)
extern

Definition at line 94 of file zend.c.

◆ zend_standard_class_def

ZEND_API zend_class_entry* zend_standard_class_def
extern

Definition at line 83 of file zend.c.

◆ zend_stream_open_function

ZEND_API zend_result(* zend_stream_open_function) (zend_file_handle *handle) ( zend_file_handle * handle)
extern

Definition at line 87 of file zend.c.

◆ zend_ticks_function

ZEND_API void(* zend_ticks_function) (int ticks) ( int ticks)
extern

Definition at line 88 of file zend.c.

◆ zend_uv

ZEND_API zend_utility_values zend_uv
extern

Definition at line 73 of file zend.c.

◆ zend_write

ZEND_API size_t ZEND_API zend_write_func_t zend_write
extern

Definition at line 85 of file zend.c.