php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zend_API.h File Reference
#include "zend_modules.h"
#include "zend_list.h"
#include "zend_operators.h"
#include "zend_variables.h"
#include "zend_execute.h"
#include "zend_type_info.h"
#include "zend_frameless_function.h"

Go to the source code of this file.

Data Structures

struct  _zend_function_entry
 
struct  _zend_fcall_info
 
struct  _zend_fcall_info_cache
 

Macros

#define ZEND_NS_NAME(ns, name)
 
#define ZEND_FN(name)
 
#define ZEND_MN(name)
 
#define ZEND_NAMED_FUNCTION(name)
 
#define ZEND_FUNCTION(name)
 
#define ZEND_METHOD(classname, name)
 
#define ZEND_FENTRY(zend_name, name, arg_info, flags)
 
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags, frameless_function_infos, doc_comment)
 
#define ZEND_RAW_NAMED_FE(zend_name, name, arg_info)
 
#define ZEND_NAMED_FE(zend_name, name, arg_info)
 
#define ZEND_FE(name, arg_info)
 
#define ZEND_DEP_FE(name, arg_info)
 
#define ZEND_FALIAS(name, alias, arg_info)
 
#define ZEND_DEP_FALIAS(name, alias, arg_info)
 
#define ZEND_NAMED_ME(zend_name, name, arg_info, flags)
 
#define ZEND_ME(classname, name, arg_info, flags)
 
#define ZEND_DEP_ME(classname, name, arg_info, flags)
 
#define ZEND_ABSTRACT_ME(classname, name, arg_info)
 
#define ZEND_ABSTRACT_ME_WITH_FLAGS(classname, name, arg_info, flags)
 
#define ZEND_MALIAS(classname, name, alias, arg_info, flags)
 
#define ZEND_ME_MAPPING(name, func_name, arg_info, flags)
 
#define ZEND_FRAMELESS_FE(name, arg_info, flags, frameless_function_infos, doc_comment)
 
#define ZEND_NS_FENTRY(ns, zend_name, name, arg_info, flags)
 
#define ZEND_NS_RAW_FENTRY(ns, zend_name, name, arg_info, flags)
 
#define ZEND_SUPPORTS_COMPILE_TIME_EVAL_FE(name, arg_info)
 
#define ZEND_NS_RAW_NAMED_FE(ns, zend_name, name, arg_info)
 
#define ZEND_NS_NAMED_FE(ns, zend_name, name, arg_info)
 
#define ZEND_NS_FE(ns, name, arg_info)
 
#define ZEND_NS_DEP_FE(ns, name, arg_info)
 
#define ZEND_NS_FALIAS(ns, name, alias, arg_info)
 
#define ZEND_NS_DEP_FALIAS(ns, name, alias, arg_info)
 
#define ZEND_FE_END   { NULL, NULL, NULL, 0, 0, NULL, NULL }
 
#define _ZEND_ARG_INFO_FLAGS(pass_by_ref, is_variadic, is_tentative)
 
#define ZEND_ARG_INFO(pass_by_ref, name)
 
#define ZEND_ARG_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, default_value)
 
#define ZEND_ARG_VARIADIC_INFO(pass_by_ref, name)
 
#define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null)
 
#define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, type_hint, allow_null, default_value)
 
#define ZEND_ARG_VARIADIC_TYPE_INFO(pass_by_ref, name, type_hint, allow_null)
 
#define ZEND_ARG_TYPE_MASK(pass_by_ref, name, type_mask, default_value)
 
#define ZEND_ARG_OBJ_TYPE_MASK(pass_by_ref, name, class_name, type_mask, default_value)
 
#define ZEND_ARG_VARIADIC_OBJ_TYPE_MASK(pass_by_ref, name, class_name, type_mask)
 
#define ZEND_ARG_OBJ_INFO(pass_by_ref, name, class_name, allow_null)
 
#define ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, class_name, allow_null, default_value)
 
#define ZEND_ARG_VARIADIC_OBJ_INFO(pass_by_ref, name, class_name, allow_null)
 
#define ZEND_ARG_ARRAY_INFO(pass_by_ref, name, allow_null)
 
#define ZEND_ARG_CALLABLE_INFO(pass_by_ref, name, allow_null)
 
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX2(name, return_reference, required_num_args, class_name, allow_null, is_tentative_return_type)
 
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(name, return_reference, required_num_args, class_name, allow_null)
 
#define ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(name, return_reference, required_num_args, class_name, allow_null)
 
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO(name, class_name, allow_null)
 
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX2(name, return_reference, required_num_args, type, is_tentative_return_type)
 
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(name, return_reference, required_num_args, type)
 
#define ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(name, return_reference, required_num_args, type)
 
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX2(name, return_reference, required_num_args, class_name, type, is_tentative_return_type)
 
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(name, return_reference, required_num_args, class_name, type)
 
#define ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_TYPE_MASK_EX(name, return_reference, required_num_args, class_name, type)
 
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX2(name, return_reference, required_num_args, type, allow_null, is_tentative_return_type)
 
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null)
 
#define ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null)
 
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO(name, type, allow_null)
 
#define ZEND_BEGIN_ARG_INFO_EX(name, _unused, return_reference, required_num_args)
 
#define ZEND_BEGIN_ARG_INFO(name, _unused)
 
#define ZEND_END_ARG_INFO()
 
#define ZEND_MODULE_STARTUP_N(module)
 
#define ZEND_MODULE_SHUTDOWN_N(module)
 
#define ZEND_MODULE_ACTIVATE_N(module)
 
#define ZEND_MODULE_DEACTIVATE_N(module)
 
#define ZEND_MODULE_POST_ZEND_DEACTIVATE_N(module)
 
#define ZEND_MODULE_INFO_N(module)
 
#define ZEND_MODULE_GLOBALS_CTOR_N(module)
 
#define ZEND_MODULE_GLOBALS_DTOR_N(module)
 
#define ZEND_MODULE_STARTUP_D(module)
 
#define ZEND_MODULE_SHUTDOWN_D(module)
 
#define ZEND_MODULE_ACTIVATE_D(module)
 
#define ZEND_MODULE_DEACTIVATE_D(module)
 
#define ZEND_MODULE_POST_ZEND_DEACTIVATE_D(module)
 
#define ZEND_MODULE_INFO_D(module)
 
#define ZEND_MODULE_GLOBALS_CTOR_D(module)
 
#define ZEND_MODULE_GLOBALS_DTOR_D(module)
 
#define ZEND_GET_MODULE(name)
 
#define ZEND_BEGIN_MODULE_GLOBALS(module_name)
 
#define ZEND_END_MODULE_GLOBALS(module_name)
 
#define ZEND_DECLARE_MODULE_GLOBALS(module_name)
 
#define ZEND_EXTERN_MODULE_GLOBALS(module_name)
 
#define ZEND_INIT_MODULE_GLOBALS(module_name, globals_ctor, globals_dtor)
 
#define ZEND_MODULE_GLOBALS_ACCESSOR(module_name, v)
 
#define ZEND_MODULE_GLOBALS_BULK(module_name)
 
#define INIT_CLASS_ENTRY(class_container, class_name, functions)
 
#define INIT_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions)
 
#define INIT_CLASS_ENTRY_INIT_METHODS(class_container, functions)
 
#define INIT_NS_CLASS_ENTRY(class_container, ns, class_name, functions)
 
#define CE_STATIC_MEMBERS(ce)
 
#define CE_CONSTANTS_TABLE(ce)
 
#define CE_DEFAULT_PROPERTIES_TABLE(ce)
 
#define CE_BACKED_ENUM_TABLE(ce)
 
#define ZEND_FCI_INITIALIZED(fci)
 
#define ZEND_FCC_INITIALIZED(fcc)
 
#define zend_get_parameters_array(ht, param_count, argument_array)
 
#define zend_parse_parameters_none()
 
#define zend_parse_parameters_none_throw()
 
#define ZEND_PARSE_PARAMS_THROW   0 /* No longer used, zpp always uses exceptions */
 
#define ZEND_PARSE_PARAMS_QUIET   (1<<1)
 
#define zend_parse_parameters_throw(num_args, ...)
 
#define zend_register_ns_class_alias(ns, name, ce)
 
#define IS_CALLABLE_CHECK_SYNTAX_ONLY   (1<<0)
 
#define IS_CALLABLE_SUPPRESS_DEPRECATIONS   (1<<1)
 
#define ZEND_THIS   (&EX(This))
 
#define hasThis()
 
#define getThis()
 
#define ZEND_IS_METHOD_CALL()
 
#define WRONG_PARAM_COUNT   ZEND_WRONG_PARAM_COUNT()
 
#define ZEND_NUM_ARGS()
 
#define ZEND_WRONG_PARAM_COUNT()
 
#define DLEXPORT
 
#define array_init(arg)
 
#define array_init_size(arg, size)
 
#define call_user_function(function_table, object, function_name, retval_ptr, param_count, params)
 
#define call_user_function_named(function_table, object, function_name, retval_ptr, param_count, params, named_params)
 
#define CHECK_ZVAL_STRING(z)
 
#define CHECK_ZVAL_NULL_PATH(p)
 
#define CHECK_NULL_PATH(p, l)
 
#define ZVAL_STRINGL(z, s, l)
 
#define ZVAL_STRING(z, s)
 
#define ZVAL_EMPTY_STRING(z)
 
#define ZVAL_PSTRINGL(z, s, l)
 
#define ZVAL_PSTRING(z, s)
 
#define ZVAL_EMPTY_PSTRING(z)
 
#define ZVAL_CHAR(z, c)
 
#define ZVAL_STRINGL_FAST(z, s, l)
 
#define ZVAL_STRING_FAST(z, s)
 
#define ZVAL_ZVAL(z, zv, copy, dtor)
 
#define RETVAL_BOOL(b)
 
#define RETVAL_NULL()
 
#define RETVAL_LONG(l)
 
#define RETVAL_DOUBLE(d)
 
#define RETVAL_STR(s)
 
#define RETVAL_INTERNED_STR(s)
 
#define RETVAL_NEW_STR(s)
 
#define RETVAL_STR_COPY(s)
 
#define RETVAL_STRING(s)
 
#define RETVAL_STRINGL(s, l)
 
#define RETVAL_STRING_FAST(s)
 
#define RETVAL_STRINGL_FAST(s, l)
 
#define RETVAL_EMPTY_STRING()
 
#define RETVAL_CHAR(c)
 
#define RETVAL_RES(r)
 
#define RETVAL_ARR(r)
 
#define RETVAL_EMPTY_ARRAY()
 
#define RETVAL_OBJ(r)
 
#define RETVAL_OBJ_COPY(r)
 
#define RETVAL_COPY(zv)
 
#define RETVAL_COPY_VALUE(zv)
 
#define RETVAL_COPY_DEREF(zv)
 
#define RETVAL_ZVAL(zv, copy, dtor)
 
#define RETVAL_FALSE   ZVAL_FALSE(return_value)
 
#define RETVAL_TRUE   ZVAL_TRUE(return_value)
 
#define RETURN_BOOL(b)
 
#define RETURN_NULL()
 
#define RETURN_LONG(l)
 
#define RETURN_DOUBLE(d)
 
#define RETURN_STR(s)
 
#define RETURN_INTERNED_STR(s)
 
#define RETURN_NEW_STR(s)
 
#define RETURN_STR_COPY(s)
 
#define RETURN_STRING(s)
 
#define RETURN_STRINGL(s, l)
 
#define RETURN_STRING_FAST(s)
 
#define RETURN_STRINGL_FAST(s, l)
 
#define RETURN_EMPTY_STRING()
 
#define RETURN_CHAR(c)
 
#define RETURN_RES(r)
 
#define RETURN_ARR(r)
 
#define RETURN_EMPTY_ARRAY()
 
#define RETURN_OBJ(r)
 
#define RETURN_OBJ_COPY(r)
 
#define RETURN_COPY(zv)
 
#define RETURN_COPY_VALUE(zv)
 
#define RETURN_COPY_DEREF(zv)
 
#define RETURN_ZVAL(zv, copy, dtor)
 
#define RETURN_FALSE   do { RETVAL_FALSE; return; } while (0)
 
#define RETURN_TRUE   do { RETVAL_TRUE; return; } while (0)
 
#define RETURN_THROWS()
 
#define HASH_OF(p)
 
#define ZVAL_IS_NULL(z)
 
#define ZEND_MINIT   ZEND_MODULE_STARTUP_N
 
#define ZEND_MSHUTDOWN   ZEND_MODULE_SHUTDOWN_N
 
#define ZEND_RINIT   ZEND_MODULE_ACTIVATE_N
 
#define ZEND_RSHUTDOWN   ZEND_MODULE_DEACTIVATE_N
 
#define ZEND_MINFO   ZEND_MODULE_INFO_N
 
#define ZEND_GINIT(module)
 
#define ZEND_GSHUTDOWN(module)
 
#define ZEND_MINIT_FUNCTION   ZEND_MODULE_STARTUP_D
 
#define ZEND_MSHUTDOWN_FUNCTION   ZEND_MODULE_SHUTDOWN_D
 
#define ZEND_RINIT_FUNCTION   ZEND_MODULE_ACTIVATE_D
 
#define ZEND_RSHUTDOWN_FUNCTION   ZEND_MODULE_DEACTIVATE_D
 
#define ZEND_MINFO_FUNCTION   ZEND_MODULE_INFO_D
 
#define ZEND_GINIT_FUNCTION   ZEND_MODULE_GLOBALS_CTOR_D
 
#define ZEND_GSHUTDOWN_FUNCTION   ZEND_MODULE_GLOBALS_DTOR_D
 
#define _ZEND_TRY_ASSIGN_NULL(zv, is_ref)
 
#define ZEND_TRY_ASSIGN_NULL(zv)
 
#define ZEND_TRY_ASSIGN_REF_NULL(zv)
 
#define _ZEND_TRY_ASSIGN_FALSE(zv, is_ref)
 
#define ZEND_TRY_ASSIGN_FALSE(zv)
 
#define ZEND_TRY_ASSIGN_REF_FALSE(zv)
 
#define _ZEND_TRY_ASSIGN_TRUE(zv, is_ref)
 
#define ZEND_TRY_ASSIGN_TRUE(zv)
 
#define ZEND_TRY_ASSIGN_REF_TRUE(zv)
 
#define _ZEND_TRY_ASSIGN_BOOL(zv, bval, is_ref)
 
#define ZEND_TRY_ASSIGN_BOOL(zv, bval)
 
#define ZEND_TRY_ASSIGN_REF_BOOL(zv, bval)
 
#define _ZEND_TRY_ASSIGN_LONG(zv, lval, is_ref)
 
#define ZEND_TRY_ASSIGN_LONG(zv, lval)
 
#define ZEND_TRY_ASSIGN_REF_LONG(zv, lval)
 
#define _ZEND_TRY_ASSIGN_DOUBLE(zv, dval, is_ref)
 
#define ZEND_TRY_ASSIGN_DOUBLE(zv, dval)
 
#define ZEND_TRY_ASSIGN_REF_DOUBLE(zv, dval)
 
#define _ZEND_TRY_ASSIGN_EMPTY_STRING(zv, is_ref)
 
#define ZEND_TRY_ASSIGN_EMPTY_STRING(zv)
 
#define ZEND_TRY_ASSIGN_REF_EMPTY_STRING(zv)
 
#define _ZEND_TRY_ASSIGN_STR(zv, str, is_ref)
 
#define ZEND_TRY_ASSIGN_STR(zv, str)
 
#define ZEND_TRY_ASSIGN_REF_STR(zv, str)
 
#define _ZEND_TRY_ASSIGN_NEW_STR(zv, str, is_str)
 
#define ZEND_TRY_ASSIGN_NEW_STR(zv, str)
 
#define ZEND_TRY_ASSIGN_REF_NEW_STR(zv, str)
 
#define _ZEND_TRY_ASSIGN_STRING(zv, string, is_ref)
 
#define ZEND_TRY_ASSIGN_STRING(zv, string)
 
#define ZEND_TRY_ASSIGN_REF_STRING(zv, string)
 
#define _ZEND_TRY_ASSIGN_STRINGL(zv, string, len, is_ref)
 
#define ZEND_TRY_ASSIGN_STRINGL(zv, string, len)
 
#define ZEND_TRY_ASSIGN_REF_STRINGL(zv, string, len)
 
#define _ZEND_TRY_ASSIGN_ARR(zv, arr, is_ref)
 
#define ZEND_TRY_ASSIGN_ARR(zv, arr)
 
#define ZEND_TRY_ASSIGN_REF_ARR(zv, arr)
 
#define _ZEND_TRY_ASSIGN_RES(zv, res, is_ref)
 
#define ZEND_TRY_ASSIGN_RES(zv, res)
 
#define ZEND_TRY_ASSIGN_REF_RES(zv, res)
 
#define _ZEND_TRY_ASSIGN_TMP(zv, other_zv, is_ref)
 
#define ZEND_TRY_ASSIGN_TMP(zv, other_zv)
 
#define ZEND_TRY_ASSIGN_REF_TMP(zv, other_zv)
 
#define _ZEND_TRY_ASSIGN_VALUE(zv, other_zv, is_ref)
 
#define ZEND_TRY_ASSIGN_VALUE(zv, other_zv)
 
#define ZEND_TRY_ASSIGN_REF_VALUE(zv, other_zv)
 
#define ZEND_TRY_ASSIGN_COPY(zv, other_zv)
 
#define ZEND_TRY_ASSIGN_REF_COPY(zv, other_zv)
 
#define _ZEND_TRY_ASSIGN_VALUE_EX(zv, other_zv, strict, is_ref)
 
#define ZEND_TRY_ASSIGN_VALUE_EX(zv, other_zv, strict)
 
#define ZEND_TRY_ASSIGN_REF_VALUE_EX(zv, other_zv, strict)
 
#define ZEND_TRY_ASSIGN_COPY_EX(zv, other_zv, strict)
 
#define ZEND_TRY_ASSIGN_REF_COPY_EX(zv, other_zv, strict)
 
#define FAST_ZPP   1
 
#define Z_EXPECTED_TYPES(_)
 
#define Z_EXPECTED_TYPE
 
#define Z_EXPECTED_TYPE_ENUM(id, str)
 
#define Z_EXPECTED_TYPE_STR(id, str)
 
#define ZPP_ERROR_OK   0
 
#define ZPP_ERROR_FAILURE   1
 
#define ZPP_ERROR_WRONG_CALLBACK   2
 
#define ZPP_ERROR_WRONG_CLASS   3
 
#define ZPP_ERROR_WRONG_CLASS_OR_NULL   4
 
#define ZPP_ERROR_WRONG_CLASS_OR_STRING   5
 
#define ZPP_ERROR_WRONG_CLASS_OR_STRING_OR_NULL   6
 
#define ZPP_ERROR_WRONG_CLASS_OR_LONG   7
 
#define ZPP_ERROR_WRONG_CLASS_OR_LONG_OR_NULL   8
 
#define ZPP_ERROR_WRONG_ARG   9
 
#define ZPP_ERROR_WRONG_COUNT   10
 
#define ZPP_ERROR_UNEXPECTED_EXTRA_NAMED   11
 
#define ZPP_ERROR_WRONG_CALLBACK_OR_NULL   12
 
#define ZEND_PARSE_PARAMETERS_START_EX(flags, min_num_args, max_num_args)
 
#define ZEND_PARSE_PARAMETERS_START(min_num_args, max_num_args)
 
#define ZEND_PARSE_PARAMETERS_NONE()
 
#define ZEND_PARSE_PARAMETERS_END_EX(failure)
 
#define ZEND_PARSE_PARAMETERS_END()
 
#define Z_PARAM_PROLOGUE(deref, separate)
 
#define Z_PARAM_GET_PREV_ZVAL(dest)
 
#define Z_PARAM_OPTIONAL    _optional = 1;
 
#define Z_PARAM_ARRAY_EX2(dest, check_null, deref, separate)
 
#define Z_PARAM_ARRAY_EX(dest, check_null, separate)
 
#define Z_PARAM_ARRAY(dest)
 
#define Z_PARAM_ARRAY_OR_NULL(dest)
 
#define Z_PARAM_ARRAY_OR_OBJECT_EX2(dest, check_null, deref, separate)
 
#define Z_PARAM_ARRAY_OR_OBJECT_EX(dest, check_null, separate)
 
#define Z_PARAM_ARRAY_OR_OBJECT(dest)
 
#define Z_PARAM_ITERABLE_EX(dest, check_null)
 
#define Z_PARAM_ITERABLE(dest)
 
#define Z_PARAM_ITERABLE_OR_NULL(dest)
 
#define Z_PARAM_BOOL_EX(dest, is_null, check_null, deref)
 
#define Z_PARAM_BOOL(dest)
 
#define Z_PARAM_BOOL_OR_NULL(dest, is_null)
 
#define Z_PARAM_CLASS_EX(dest, check_null, deref)
 
#define Z_PARAM_CLASS(dest)
 
#define Z_PARAM_CLASS_OR_NULL(dest)
 
#define Z_PARAM_OBJ_OR_CLASS_NAME_EX(dest, allow_null)
 
#define Z_PARAM_OBJ_OR_CLASS_NAME(dest)
 
#define Z_PARAM_OBJ_OR_CLASS_NAME_OR_NULL(dest)
 
#define Z_PARAM_OBJ_OR_STR_EX(destination_object, destination_string, allow_null)
 
#define Z_PARAM_OBJ_OR_STR(destination_object, destination_string)
 
#define Z_PARAM_OBJ_OR_STR_OR_NULL(destination_object, destination_string)
 
#define Z_PARAM_OBJ_OF_CLASS_OR_STR_EX(destination_object, base_ce, destination_string, allow_null)
 
#define Z_PARAM_OBJ_OF_CLASS_OR_STR(destination_object, base_ce, destination_string)
 
#define Z_PARAM_OBJ_OF_CLASS_OR_STR_OR_NULL(destination_object, base_ce, destination_string)
 
#define Z_PARAM_DOUBLE_EX(dest, is_null, check_null, deref)
 
#define Z_PARAM_DOUBLE(dest)
 
#define Z_PARAM_DOUBLE_OR_NULL(dest, is_null)
 
#define Z_PARAM_FUNC_EX2(dest_fci, dest_fcc, check_null, deref, free_trampoline)
 
#define Z_PARAM_FUNC_EX(dest_fci, dest_fcc, check_null, deref)
 
#define Z_PARAM_FUNC(dest_fci, dest_fcc)
 
#define Z_PARAM_FUNC_NO_TRAMPOLINE_FREE(dest_fci, dest_fcc)
 
#define Z_PARAM_FUNC_OR_NULL(dest_fci, dest_fcc)
 
#define Z_PARAM_FUNC_NO_TRAMPOLINE_FREE_OR_NULL(dest_fci, dest_fcc)
 
#define Z_PARAM_FUNC_OR_NULL_WITH_ZVAL(dest_fci, dest_fcc, dest_zp)
 
#define Z_PARAM_ARRAY_HT_EX2(dest, check_null, deref, separate)
 
#define Z_PARAM_ARRAY_HT_EX(dest, check_null, separate)
 
#define Z_PARAM_ARRAY_HT(dest)
 
#define Z_PARAM_ARRAY_HT_OR_NULL(dest)
 
#define Z_PARAM_ARRAY_HT_OR_LONG_EX(dest_ht, dest_long, is_null, allow_null)
 
#define Z_PARAM_ARRAY_HT_OR_LONG(dest_ht, dest_long)
 
#define Z_PARAM_ARRAY_HT_OR_LONG_OR_NULL(dest_ht, dest_long, is_null)
 
#define Z_PARAM_ARRAY_OR_OBJECT_HT_EX2(dest, check_null, deref, separate)
 
#define Z_PARAM_ARRAY_OR_OBJECT_HT_EX(dest, check_null, separate)
 
#define Z_PARAM_ARRAY_OR_OBJECT_HT(dest)
 
#define Z_PARAM_LONG_EX(dest, is_null, check_null, deref)
 
#define Z_PARAM_LONG(dest)
 
#define Z_PARAM_LONG_OR_NULL(dest, is_null)
 
#define Z_PARAM_NUMBER_EX(dest, check_null)
 
#define Z_PARAM_NUMBER_OR_NULL(dest)
 
#define Z_PARAM_NUMBER(dest)
 
#define Z_PARAM_NUMBER_OR_STR_EX(dest, check_null)
 
#define Z_PARAM_NUMBER_OR_STR(dest)
 
#define Z_PARAM_NUMBER_OR_STR_OR_NULL(dest)
 
#define Z_PARAM_OBJECT_EX(dest, check_null, deref)
 
#define Z_PARAM_OBJECT(dest)
 
#define Z_PARAM_OBJECT_OR_NULL(dest)
 
#define Z_PARAM_OBJ_EX(dest, check_null, deref)
 
#define Z_PARAM_OBJ(dest)
 
#define Z_PARAM_OBJ_OR_NULL(dest)
 
#define Z_PARAM_OBJECT_OF_CLASS_EX(dest, _ce, check_null, deref)
 
#define Z_PARAM_OBJECT_OF_CLASS(dest, _ce)
 
#define Z_PARAM_OBJECT_OF_CLASS_OR_NULL(dest, _ce)
 
#define Z_PARAM_OBJ_OF_CLASS_EX(dest, _ce, check_null, deref)
 
#define Z_PARAM_OBJ_OF_CLASS(dest, _ce)
 
#define Z_PARAM_OBJ_OF_CLASS_OR_NULL(dest, _ce)
 
#define Z_PARAM_OBJ_OF_CLASS_OR_LONG_EX(dest_obj, _ce, dest_long, is_null, allow_null)
 
#define Z_PARAM_OBJ_OF_CLASS_OR_LONG(dest_obj, _ce, dest_long)
 
#define Z_PARAM_OBJ_OF_CLASS_OR_LONG_OR_NULL(dest_obj, _ce, dest_long, is_null)
 
#define Z_PARAM_PATH_EX(dest, dest_len, check_null, deref)
 
#define Z_PARAM_PATH(dest, dest_len)
 
#define Z_PARAM_PATH_OR_NULL(dest, dest_len)
 
#define Z_PARAM_PATH_STR_EX(dest, check_null, deref)
 
#define Z_PARAM_PATH_STR(dest)
 
#define Z_PARAM_PATH_STR_OR_NULL(dest)
 
#define Z_PARAM_RESOURCE_EX(dest, check_null, deref)
 
#define Z_PARAM_RESOURCE(dest)
 
#define Z_PARAM_RESOURCE_OR_NULL(dest)
 
#define Z_PARAM_STRING_EX(dest, dest_len, check_null, deref)
 
#define Z_PARAM_STRING(dest, dest_len)
 
#define Z_PARAM_STRING_OR_NULL(dest, dest_len)
 
#define Z_PARAM_STR_EX(dest, check_null, deref)
 
#define Z_PARAM_STR(dest)
 
#define Z_PARAM_STR_OR_NULL(dest)
 
#define Z_PARAM_ZVAL_EX2(dest, check_null, deref, separate)
 
#define Z_PARAM_ZVAL_EX(dest, check_null, separate)
 
#define Z_PARAM_ZVAL(dest)
 
#define Z_PARAM_ZVAL_OR_NULL(dest)
 
#define Z_PARAM_VARIADIC_EX(spec, dest, dest_num, post_varargs)
 
#define Z_PARAM_VARIADIC(spec, dest, dest_num)
 
#define Z_PARAM_VARIADIC_WITH_NAMED(dest, dest_num, dest_named)
 
#define Z_PARAM_ARRAY_HT_OR_STR_EX(dest_ht, dest_str, allow_null)
 
#define Z_PARAM_ARRAY_HT_OR_STR(dest_ht, dest_str)
 
#define Z_PARAM_ARRAY_HT_OR_STR_OR_NULL(dest_ht, dest_str)
 
#define Z_PARAM_STR_OR_LONG_EX(dest_str, dest_long, is_null, allow_null)
 
#define Z_PARAM_STR_OR_LONG(dest_str, dest_long)
 
#define Z_PARAM_STR_OR_LONG_OR_NULL(dest_str, dest_long, is_null)
 

Typedefs

typedef struct _zend_function_entry zend_function_entry
 
typedef struct _zend_fcall_info zend_fcall_info
 
typedef struct _zend_fcall_info_cache zend_fcall_info_cache
 
typedef enum _zend_expected_type zend_expected_type
 

Enumerations

enum  _zend_expected_type { Z_EXPECTED_LAST }
 

Functions

ZEND_API int zend_next_free_module (void)
 
ZEND_API zend_result zend_get_parameters_array_ex (uint32_t param_count, zval *argument_array)
 
ZEND_API zend_result zend_copy_parameters_array (uint32_t param_count, zval *argument_array)
 
ZEND_API zend_result zend_parse_parameters (uint32_t num_args, const char *type_spec,...)
 
ZEND_API zend_result zend_parse_parameters_ex (int flags, uint32_t num_args, const char *type_spec,...)
 
ZEND_API const char * zend_zval_type_name (const zval *arg)
 
ZEND_API const char * zend_zval_value_name (const zval *arg)
 
ZEND_API zend_stringzend_zval_get_legacy_type (const zval *arg)
 
ZEND_API zend_result zend_parse_method_parameters (uint32_t num_args, zval *this_ptr, const char *type_spec,...)
 
ZEND_API zend_result zend_parse_method_parameters_ex (int flags, uint32_t num_args, zval *this_ptr, const char *type_spec,...)
 
ZEND_API zend_result zend_parse_parameter (int flags, uint32_t arg_num, zval *arg, const char *spec,...)
 
ZEND_API zend_result zend_register_functions (zend_class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type)
 
ZEND_API void zend_unregister_functions (const zend_function_entry *functions, int count, HashTable *function_table)
 
ZEND_API zend_result zend_startup_module (zend_module_entry *module_entry)
 
ZEND_API zend_module_entryzend_register_internal_module (zend_module_entry *module_entry)
 
ZEND_API zend_module_entryzend_register_module_ex (zend_module_entry *module, int module_type)
 
ZEND_API zend_result zend_startup_module_ex (zend_module_entry *module)
 
ZEND_API void zend_startup_modules (void)
 
ZEND_API void zend_collect_module_handlers (void)
 
ZEND_API void zend_destroy_modules (void)
 
ZEND_API void zend_check_magic_method_implementation (const zend_class_entry *ce, const zend_function *fptr, zend_string *lcname, int error_type)
 
ZEND_API void zend_add_magic_method (zend_class_entry *ce, zend_function *fptr, zend_string *lcname)
 
ZEND_API zend_class_entryzend_register_internal_class (zend_class_entry *class_entry)
 
ZEND_API zend_class_entryzend_register_internal_class_ex (zend_class_entry *class_entry, zend_class_entry *parent_ce)
 
ZEND_API zend_class_entryzend_register_internal_class_with_flags (zend_class_entry *class_entry, zend_class_entry *parent_ce, uint32_t flags)
 
ZEND_API zend_class_entryzend_register_internal_interface (zend_class_entry *orig_class_entry)
 
ZEND_API void zend_class_implements (zend_class_entry *class_entry, int num_interfaces,...)
 
ZEND_API zend_result zend_register_class_alias_ex (const char *name, size_t name_len, zend_class_entry *ce, bool persistent)
 
ZEND_API void zend_disable_functions (const char *function_list)
 
ZEND_API zend_result zend_disable_class (const char *class_name, size_t class_name_length)
 
ZEND_API ZEND_COLD void zend_wrong_param_count (void)
 
ZEND_API ZEND_COLD void zend_wrong_property_read (zval *object, zval *property)
 
ZEND_API void zend_release_fcall_info_cache (zend_fcall_info_cache *fcc)
 
ZEND_API zend_stringzend_get_callable_name_ex (zval *callable, zend_object *object)
 
ZEND_API zend_stringzend_get_callable_name (zval *callable)
 
ZEND_API bool zend_is_callable_at_frame (zval *callable, zend_object *object, zend_execute_data *frame, uint32_t check_flags, zend_fcall_info_cache *fcc, char **error)
 
ZEND_API bool zend_is_callable_ex (zval *callable, zend_object *object, uint32_t check_flags, zend_string **callable_name, zend_fcall_info_cache *fcc, char **error)
 
ZEND_API bool zend_is_callable (zval *callable, uint32_t check_flags, zend_string **callable_name)
 
ZEND_API bool zend_make_callable (zval *callable, zend_string **callable_name)
 
ZEND_API const char * zend_get_module_version (const char *module_name)
 
ZEND_API zend_result zend_get_module_started (const char *module_name)
 
ZEND_API zend_property_infozend_declare_typed_property (zend_class_entry *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment, zend_type type)
 
ZEND_API void zend_declare_property_ex (zend_class_entry *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment)
 
ZEND_API void zend_declare_property (zend_class_entry *ce, const char *name, size_t name_length, zval *property, int access_type)
 
ZEND_API void zend_declare_property_null (zend_class_entry *ce, const char *name, size_t name_length, int access_type)
 
ZEND_API void zend_declare_property_bool (zend_class_entry *ce, const char *name, size_t name_length, zend_long value, int access_type)
 
ZEND_API void zend_declare_property_long (zend_class_entry *ce, const char *name, size_t name_length, zend_long value, int access_type)
 
ZEND_API void zend_declare_property_double (zend_class_entry *ce, const char *name, size_t name_length, double value, int access_type)
 
ZEND_API void zend_declare_property_string (zend_class_entry *ce, const char *name, size_t name_length, const char *value, int access_type)
 
ZEND_API void zend_declare_property_stringl (zend_class_entry *ce, const char *name, size_t name_length, const char *value, size_t value_len, int access_type)
 
ZEND_API zend_class_constantzend_declare_typed_class_constant (zend_class_entry *ce, zend_string *name, zval *value, int access_type, zend_string *doc_comment, zend_type type)
 
ZEND_API zend_class_constantzend_declare_class_constant_ex (zend_class_entry *ce, zend_string *name, zval *value, int access_type, zend_string *doc_comment)
 
ZEND_API void zend_declare_class_constant (zend_class_entry *ce, const char *name, size_t name_length, zval *value)
 
ZEND_API void zend_declare_class_constant_null (zend_class_entry *ce, const char *name, size_t name_length)
 
ZEND_API void zend_declare_class_constant_long (zend_class_entry *ce, const char *name, size_t name_length, zend_long value)
 
ZEND_API void zend_declare_class_constant_bool (zend_class_entry *ce, const char *name, size_t name_length, bool value)
 
ZEND_API void zend_declare_class_constant_double (zend_class_entry *ce, const char *name, size_t name_length, double value)
 
ZEND_API void zend_declare_class_constant_stringl (zend_class_entry *ce, const char *name, size_t name_length, const char *value, size_t value_length)
 
ZEND_API void zend_declare_class_constant_string (zend_class_entry *ce, const char *name, size_t name_length, const char *value)
 
ZEND_API zend_result zend_update_class_constant (zend_class_constant *c, const zend_string *name, zend_class_entry *scope)
 
ZEND_API zend_result zend_update_class_constants (zend_class_entry *class_type)
 
ZEND_API HashTablezend_separate_class_constants_table (zend_class_entry *class_type)
 
ZEND_API void zend_update_property_ex (zend_class_entry *scope, zend_object *object, zend_string *name, zval *value)
 
ZEND_API void zend_update_property (zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zval *value)
 
ZEND_API void zend_update_property_null (zend_class_entry *scope, zend_object *object, const char *name, size_t name_length)
 
ZEND_API void zend_update_property_bool (zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_long value)
 
ZEND_API void zend_update_property_long (zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_long value)
 
ZEND_API void zend_update_property_double (zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, double value)
 
ZEND_API void zend_update_property_str (zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_string *value)
 
ZEND_API void zend_update_property_string (zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, const char *value)
 
ZEND_API void zend_update_property_stringl (zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, const char *value, size_t value_length)
 
ZEND_API void zend_unset_property (zend_class_entry *scope, zend_object *object, const char *name, size_t name_length)
 
ZEND_API zend_result zend_update_static_property_ex (zend_class_entry *scope, zend_string *name, zval *value)
 
ZEND_API zend_result zend_update_static_property (zend_class_entry *scope, const char *name, size_t name_length, zval *value)
 
ZEND_API zend_result zend_update_static_property_null (zend_class_entry *scope, const char *name, size_t name_length)
 
ZEND_API zend_result zend_update_static_property_bool (zend_class_entry *scope, const char *name, size_t name_length, zend_long value)
 
ZEND_API zend_result zend_update_static_property_long (zend_class_entry *scope, const char *name, size_t name_length, zend_long value)
 
ZEND_API zend_result zend_update_static_property_double (zend_class_entry *scope, const char *name, size_t name_length, double value)
 
ZEND_API zend_result zend_update_static_property_string (zend_class_entry *scope, const char *name, size_t name_length, const char *value)
 
ZEND_API zend_result zend_update_static_property_stringl (zend_class_entry *scope, const char *name, size_t name_length, const char *value, size_t value_length)
 
ZEND_API zvalzend_read_property_ex (zend_class_entry *scope, zend_object *object, zend_string *name, bool silent, zval *rv)
 
ZEND_API zvalzend_read_property (zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, bool silent, zval *rv)
 
ZEND_API zvalzend_read_static_property_ex (zend_class_entry *scope, zend_string *name, bool silent)
 
ZEND_API zvalzend_read_static_property (zend_class_entry *scope, const char *name, size_t name_length, bool silent)
 
ZEND_API const char * zend_get_type_by_const (int type)
 
ZEND_API void object_init (zval *arg)
 
ZEND_API zend_result object_init_ex (zval *arg, zend_class_entry *ce)
 
ZEND_API zend_result object_init_with_constructor (zval *arg, zend_class_entry *class_type, uint32_t param_count, zval *params, HashTable *named_params)
 
ZEND_API zend_result object_and_properties_init (zval *arg, zend_class_entry *ce, HashTable *properties)
 
ZEND_API void object_properties_init (zend_object *object, zend_class_entry *class_type)
 
ZEND_API void object_properties_init_ex (zend_object *object, HashTable *properties)
 
ZEND_API void object_properties_load (zend_object *object, HashTable *properties)
 
ZEND_API void zend_merge_properties (zval *obj, HashTable *properties)
 
ZEND_API void add_assoc_long_ex (zval *arg, const char *key, size_t key_len, zend_long n)
 
ZEND_API void add_assoc_null_ex (zval *arg, const char *key, size_t key_len)
 
ZEND_API void add_assoc_bool_ex (zval *arg, const char *key, size_t key_len, bool b)
 
ZEND_API void add_assoc_resource_ex (zval *arg, const char *key, size_t key_len, zend_resource *r)
 
ZEND_API void add_assoc_double_ex (zval *arg, const char *key, size_t key_len, double d)
 
ZEND_API void add_assoc_str_ex (zval *arg, const char *key, size_t key_len, zend_string *str)
 
ZEND_API void add_assoc_string_ex (zval *arg, const char *key, size_t key_len, const char *str)
 
ZEND_API void add_assoc_stringl_ex (zval *arg, const char *key, size_t key_len, const char *str, size_t length)
 
ZEND_API void add_assoc_array_ex (zval *arg, const char *key, size_t key_len, zend_array *arr)
 
ZEND_API void add_assoc_object_ex (zval *arg, const char *key, size_t key_len, zend_object *obj)
 
ZEND_API void add_assoc_reference_ex (zval *arg, const char *key, size_t key_len, zend_reference *ref)
 
ZEND_API void add_assoc_zval_ex (zval *arg, const char *key, size_t key_len, zval *value)
 
ZEND_API void add_index_long (zval *arg, zend_ulong index, zend_long n)
 
ZEND_API void add_index_null (zval *arg, zend_ulong index)
 
ZEND_API void add_index_bool (zval *arg, zend_ulong index, bool b)
 
ZEND_API void add_index_resource (zval *arg, zend_ulong index, zend_resource *r)
 
ZEND_API void add_index_double (zval *arg, zend_ulong index, double d)
 
ZEND_API void add_index_str (zval *arg, zend_ulong index, zend_string *str)
 
ZEND_API void add_index_string (zval *arg, zend_ulong index, const char *str)
 
ZEND_API void add_index_stringl (zval *arg, zend_ulong index, const char *str, size_t length)
 
ZEND_API void add_index_array (zval *arg, zend_ulong index, zend_array *arr)
 
ZEND_API void add_index_object (zval *arg, zend_ulong index, zend_object *obj)
 
ZEND_API void add_index_reference (zval *arg, zend_ulong index, zend_reference *ref)
 
ZEND_API zend_result add_next_index_long (zval *arg, zend_long n)
 
ZEND_API zend_result add_next_index_null (zval *arg)
 
ZEND_API zend_result add_next_index_bool (zval *arg, bool b)
 
ZEND_API zend_result add_next_index_resource (zval *arg, zend_resource *r)
 
ZEND_API zend_result add_next_index_double (zval *arg, double d)
 
ZEND_API zend_result add_next_index_str (zval *arg, zend_string *str)
 
ZEND_API zend_result add_next_index_string (zval *arg, const char *str)
 
ZEND_API zend_result add_next_index_stringl (zval *arg, const char *str, size_t length)
 
ZEND_API zend_result add_next_index_array (zval *arg, zend_array *arr)
 
ZEND_API zend_result add_next_index_object (zval *arg, zend_object *obj)
 
ZEND_API zend_result add_next_index_reference (zval *arg, zend_reference *ref)
 
ZEND_API zend_result array_set_zval_key (HashTable *ht, zval *key, zval *value)
 
ZEND_API void add_property_long_ex (zval *arg, const char *key, size_t key_len, zend_long l)
 
ZEND_API void add_property_null_ex (zval *arg, const char *key, size_t key_len)
 
ZEND_API void add_property_bool_ex (zval *arg, const char *key, size_t key_len, zend_long b)
 
ZEND_API void add_property_resource_ex (zval *arg, const char *key, size_t key_len, zend_resource *r)
 
ZEND_API void add_property_double_ex (zval *arg, const char *key, size_t key_len, double d)
 
ZEND_API void add_property_str_ex (zval *arg, const char *key, size_t key_len, zend_string *str)
 
ZEND_API void add_property_string_ex (zval *arg, const char *key, size_t key_len, const char *str)
 
ZEND_API void add_property_stringl_ex (zval *arg, const char *key, size_t key_len, const char *str, size_t length)
 
ZEND_API void add_property_array_ex (zval *arg, const char *key, size_t key_len, zend_array *arr)
 
ZEND_API void add_property_object_ex (zval *arg, const char *key, size_t key_len, zend_object *obj)
 
ZEND_API void add_property_reference_ex (zval *arg, const char *key, size_t key_len, zend_reference *ref)
 
ZEND_API void add_property_zval_ex (zval *arg, const char *key, size_t key_len, zval *value)
 
ZEND_API zend_result _call_user_function_impl (zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], HashTable *named_params)
 
ZEND_API zend_result zend_fcall_info_init (zval *callable, uint32_t check_flags, zend_fcall_info *fci, zend_fcall_info_cache *fcc, zend_string **callable_name, char **error)
 
ZEND_API void zend_fcall_info_args_clear (zend_fcall_info *fci, bool free_mem)
 
ZEND_API void zend_fcall_info_args_save (zend_fcall_info *fci, uint32_t *param_count, zval **params)
 
ZEND_API void zend_fcall_info_args_restore (zend_fcall_info *fci, uint32_t param_count, zval *params)
 
ZEND_API zend_result zend_fcall_info_args (zend_fcall_info *fci, zval *args)
 
ZEND_API zend_result zend_fcall_info_args_ex (zend_fcall_info *fci, zend_function *func, zval *args)
 
ZEND_API void zend_fcall_info_argp (zend_fcall_info *fci, uint32_t argc, zval *argv)
 
ZEND_API void zend_fcall_info_argv (zend_fcall_info *fci, uint32_t argc, va_list *argv)
 
ZEND_API void zend_fcall_info_argn (zend_fcall_info *fci, uint32_t argc,...)
 
ZEND_API zend_result zend_fcall_info_call (zend_fcall_info *fci, zend_fcall_info_cache *fcc, zval *retval, zval *args)
 
ZEND_API void zend_get_callable_zval_from_fcc (const zend_fcall_info_cache *fcc, zval *callable)
 
ZEND_API zend_result zend_call_function (zend_fcall_info *fci, zend_fcall_info_cache *fci_cache)
 
ZEND_API void zend_call_known_function (zend_function *fn, zend_object *object, zend_class_entry *called_scope, zval *retval_ptr, uint32_t param_count, zval *params, HashTable *named_params)
 
ZEND_API void zend_call_known_instance_method_with_2_params (zend_function *fn, zend_object *object, zval *retval_ptr, zval *param1, zval *param2)
 
ZEND_API zend_result zend_call_method_if_exists (zend_object *object, zend_string *method_name, zval *retval, uint32_t param_count, zval *params)
 
ZEND_API zend_result zend_set_hash_symbol (zval *symbol, const char *name, size_t name_length, bool is_ref, int num_symbol_tables,...)
 
ZEND_API zend_result zend_delete_global_variable (zend_string *name)
 
ZEND_API zend_arrayzend_rebuild_symbol_table (void)
 
ZEND_API void zend_attach_symbol_table (zend_execute_data *execute_data)
 
ZEND_API void zend_detach_symbol_table (zend_execute_data *execute_data)
 
ZEND_API zend_result zend_set_local_var (zend_string *name, zval *value, bool force)
 
ZEND_API zend_result zend_set_local_var_str (const char *name, size_t len, zval *value, bool force)
 
ZEND_API ZEND_COLD const char * zend_get_object_type_case (const zend_class_entry *ce, bool upper_case)
 
ZEND_API bool zend_is_iterable (const zval *iterable)
 
ZEND_API bool zend_is_countable (const zval *countable)
 
ZEND_API zend_result zend_get_default_from_internal_arg_info (zval *default_value_zval, zend_internal_arg_info *arg_info)
 
ZEND_API zend_result zend_try_assign_typed_ref_ex (zend_reference *ref, zval *zv, bool strict)
 
ZEND_API zend_result zend_try_assign_typed_ref (zend_reference *ref, zval *zv)
 
ZEND_API zend_result zend_try_assign_typed_ref_null (zend_reference *ref)
 
ZEND_API zend_result zend_try_assign_typed_ref_bool (zend_reference *ref, bool val)
 
ZEND_API zend_result zend_try_assign_typed_ref_long (zend_reference *ref, zend_long lval)
 
ZEND_API zend_result zend_try_assign_typed_ref_double (zend_reference *ref, double dval)
 
ZEND_API zend_result zend_try_assign_typed_ref_empty_string (zend_reference *ref)
 
ZEND_API zend_result zend_try_assign_typed_ref_str (zend_reference *ref, zend_string *str)
 
ZEND_API zend_result zend_try_assign_typed_ref_string (zend_reference *ref, const char *string)
 
ZEND_API zend_result zend_try_assign_typed_ref_stringl (zend_reference *ref, const char *string, size_t len)
 
ZEND_API zend_result zend_try_assign_typed_ref_arr (zend_reference *ref, zend_array *arr)
 
ZEND_API zend_result zend_try_assign_typed_ref_res (zend_reference *ref, zend_resource *res)
 
ZEND_API zend_result zend_try_assign_typed_ref_zval (zend_reference *ref, zval *zv)
 
ZEND_API zend_result zend_try_assign_typed_ref_zval_ex (zend_reference *ref, zval *zv, bool strict)
 
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameters_none_error (void)
 
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameters_count_error (uint32_t min_num_args, uint32_t max_num_args)
 
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_error (int error_code, uint32_t num, char *name, zend_expected_type expected_type, zval *arg)
 
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_type_error (uint32_t num, zend_expected_type expected_type, zval *arg)
 
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_class_error (uint32_t num, const char *name, zval *arg)
 
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_class_or_null_error (uint32_t num, const char *name, zval *arg)
 
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_class_or_long_error (uint32_t num, const char *name, zval *arg)
 
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_class_or_long_or_null_error (uint32_t num, const char *name, zval *arg)
 
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_class_or_string_error (uint32_t num, const char *name, zval *arg)
 
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_class_or_string_or_null_error (uint32_t num, const char *name, zval *arg)
 
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_error (uint32_t num, char *error)
 
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_or_null_error (uint32_t num, char *error)
 
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_unexpected_extra_named_error (void)
 
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_argument_error_variadic (zend_class_entry *error_ce, uint32_t arg_num, const char *format, va_list va)
 
ZEND_API ZEND_COLD void zend_argument_error (zend_class_entry *error_ce, uint32_t arg_num, const char *format,...)
 
ZEND_API ZEND_COLD void zend_argument_type_error (uint32_t arg_num, const char *format,...)
 
ZEND_API ZEND_COLD void zend_argument_value_error (uint32_t arg_num, const char *format,...)
 
ZEND_API ZEND_COLD void zend_argument_must_not_be_empty_error (uint32_t arg_num)
 
ZEND_API ZEND_COLD void zend_class_redeclaration_error (int type, zend_class_entry *old_ce)
 
ZEND_API ZEND_COLD void zend_class_redeclaration_error_ex (int type, zend_string *new_name, zend_class_entry *old_ce)
 
ZEND_API bool ZEND_FASTCALL zend_parse_arg_class (zval *arg, zend_class_entry **pce, uint32_t num, bool check_null)
 
ZEND_API bool ZEND_FASTCALL zend_parse_arg_bool_slow (const zval *arg, bool *dest, uint32_t arg_num)
 
ZEND_API bool ZEND_FASTCALL zend_parse_arg_bool_weak (const zval *arg, bool *dest, uint32_t arg_num)
 
ZEND_API bool ZEND_FASTCALL zend_parse_arg_long_slow (const zval *arg, zend_long *dest, uint32_t arg_num)
 
ZEND_API bool ZEND_FASTCALL zend_parse_arg_long_weak (const zval *arg, zend_long *dest, uint32_t arg_num)
 
ZEND_API bool ZEND_FASTCALL zend_parse_arg_double_slow (const zval *arg, double *dest, uint32_t arg_num)
 
ZEND_API bool ZEND_FASTCALL zend_parse_arg_double_weak (const zval *arg, double *dest, uint32_t arg_num)
 
ZEND_API bool ZEND_FASTCALL zend_parse_arg_str_slow (zval *arg, zend_string **dest, uint32_t arg_num)
 
ZEND_API bool ZEND_FASTCALL zend_parse_arg_str_weak (zval *arg, zend_string **dest, uint32_t arg_num)
 
ZEND_API bool ZEND_FASTCALL zend_parse_arg_number_slow (zval *arg, zval **dest, uint32_t arg_num)
 
ZEND_API bool ZEND_FASTCALL zend_parse_arg_number_or_str_slow (zval *arg, zval **dest, uint32_t arg_num)
 
ZEND_API bool ZEND_FASTCALL zend_parse_arg_str_or_long_slow (zval *arg, zend_string **dest_str, zend_long *dest_long, uint32_t arg_num)
 
ZEND_API bool ZEND_FASTCALL zend_flf_parse_arg_bool_slow (const zval *arg, bool *dest, uint32_t arg_num)
 
ZEND_API bool ZEND_FASTCALL zend_flf_parse_arg_str_slow (zval *arg, zend_string **dest, uint32_t arg_num)
 
ZEND_API bool ZEND_FASTCALL zend_flf_parse_arg_long_slow (const zval *arg, zend_long *dest, uint32_t arg_num)
 

Variables

ZEND_API const zend_fcall_info empty_fcall_info
 
ZEND_API const zend_fcall_info_cache empty_fcall_info_cache
 

Macro Definition Documentation

◆ _ZEND_ARG_INFO_FLAGS

#define _ZEND_ARG_INFO_FLAGS ( pass_by_ref,
is_variadic,
is_tentative )
Value:
(((pass_by_ref) << _ZEND_SEND_MODE_SHIFT) | ((is_variadic) ? _ZEND_IS_VARIADIC_BIT : 0) | ((is_tentative) ? _ZEND_IS_TENTATIVE_BIT : 0))
#define _ZEND_SEND_MODE_SHIFT
#define _ZEND_IS_TENTATIVE_BIT
#define _ZEND_IS_VARIADIC_BIT

Definition at line 126 of file zend_API.h.

◆ _ZEND_TRY_ASSIGN_ARR

#define _ZEND_TRY_ASSIGN_ARR ( zv,
arr,
is_ref )
Value:
do { \
zval *_zv = zv; \
if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
zend_reference *ref = Z_REF_P(_zv); \
zend_try_assign_typed_ref_arr(ref, arr); \
break; \
} \
_zv = &ref->val; \
} \
zval_ptr_dtor(_zv); \
ZVAL_ARR(_zv, arr); \
} while (0)
zval * zv
Definition ffi.c:3975
struct _zval_struct zval
#define ZEND_REF_HAS_TYPE_SOURCES(ref)
#define UNEXPECTED(condition)
#define Z_ISREF_P(zval_p)
Definition zend_types.h:954
#define Z_REF_P(zval_p)
struct _zend_reference zend_reference
Definition zend_types.h:100

Definition at line 1342 of file zend_API.h.

◆ _ZEND_TRY_ASSIGN_BOOL

#define _ZEND_TRY_ASSIGN_BOOL ( zv,
bval,
is_ref )
Value:
do { \
zval *_zv = zv; \
if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
zend_reference *ref = Z_REF_P(_zv); \
zend_try_assign_typed_ref_bool(ref, 1); \
break; \
} \
_zv = &ref->val; \
} \
zval_ptr_dtor(_zv); \
ZVAL_BOOL(_zv, bval); \
} while (0)

Definition at line 1166 of file zend_API.h.

◆ _ZEND_TRY_ASSIGN_DOUBLE

#define _ZEND_TRY_ASSIGN_DOUBLE ( zv,
dval,
is_ref )
Value:
do { \
zval *_zv = zv; \
if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
zend_reference *ref = Z_REF_P(_zv); \
zend_try_assign_typed_ref_double(ref, dval); \
break; \
} \
_zv = &ref->val; \
} \
zval_ptr_dtor(_zv); \
ZVAL_DOUBLE(_zv, dval); \
} while (0)
#define dval(x)

Definition at line 1210 of file zend_API.h.

◆ _ZEND_TRY_ASSIGN_EMPTY_STRING

#define _ZEND_TRY_ASSIGN_EMPTY_STRING ( zv,
is_ref )
Value:
do { \
zval *_zv = zv; \
if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
zend_reference *ref = Z_REF_P(_zv); \
zend_try_assign_typed_ref_empty_string(ref); \
break; \
} \
_zv = &ref->val; \
} \
zval_ptr_dtor(_zv); \
ZVAL_EMPTY_STRING(_zv); \
} while (0)

Definition at line 1232 of file zend_API.h.

◆ _ZEND_TRY_ASSIGN_FALSE

#define _ZEND_TRY_ASSIGN_FALSE ( zv,
is_ref )
Value:
do { \
zval *_zv = zv; \
if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
zend_reference *ref = Z_REF_P(_zv); \
zend_try_assign_typed_ref_bool(ref, 0); \
break; \
} \
_zv = &ref->val; \
} \
zval_ptr_dtor(_zv); \
ZVAL_FALSE(_zv); \
} while (0)

Definition at line 1122 of file zend_API.h.

◆ _ZEND_TRY_ASSIGN_LONG

#define _ZEND_TRY_ASSIGN_LONG ( zv,
lval,
is_ref )
Value:
do { \
zval *_zv = zv; \
if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
zend_reference *ref = Z_REF_P(_zv); \
zend_try_assign_typed_ref_long(ref, lval); \
break; \
} \
_zv = &ref->val; \
} \
zval_ptr_dtor(_zv); \
ZVAL_LONG(_zv, lval); \
} while (0)

Definition at line 1188 of file zend_API.h.

◆ _ZEND_TRY_ASSIGN_NEW_STR

#define _ZEND_TRY_ASSIGN_NEW_STR ( zv,
str,
is_str )
Value:
do { \
zval *_zv = zv; \
if (is_str || UNEXPECTED(Z_ISREF_P(_zv))) { \
zend_reference *ref = Z_REF_P(_zv); \
zend_try_assign_typed_ref_str(ref, str); \
break; \
} \
_zv = &ref->val; \
} \
zval_ptr_dtor(_zv); \
ZVAL_NEW_STR(_zv, str); \
} while (0)

Definition at line 1276 of file zend_API.h.

◆ _ZEND_TRY_ASSIGN_NULL

#define _ZEND_TRY_ASSIGN_NULL ( zv,
is_ref )
Value:
do { \
zval *_zv = zv; \
if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
zend_reference *ref = Z_REF_P(_zv); \
zend_try_assign_typed_ref_null(ref); \
break; \
} \
_zv = &ref->val; \
} \
zval_ptr_dtor(_zv); \
ZVAL_NULL(_zv); \
} while (0)

Definition at line 1100 of file zend_API.h.

◆ _ZEND_TRY_ASSIGN_RES

#define _ZEND_TRY_ASSIGN_RES ( zv,
res,
is_ref )
Value:
do { \
zval *_zv = zv; \
if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
zend_reference *ref = Z_REF_P(_zv); \
zend_try_assign_typed_ref_res(ref, res); \
break; \
} \
_zv = &ref->val; \
} \
zval_ptr_dtor(_zv); \
ZVAL_RES(_zv, res); \
} while (0)
zend_string * res
Definition ffi.c:4692

Definition at line 1364 of file zend_API.h.

◆ _ZEND_TRY_ASSIGN_STR

#define _ZEND_TRY_ASSIGN_STR ( zv,
str,
is_ref )
Value:
do { \
zval *_zv = zv; \
if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
zend_reference *ref = Z_REF_P(_zv); \
zend_try_assign_typed_ref_str(ref, str); \
break; \
} \
_zv = &ref->val; \
} \
zval_ptr_dtor(_zv); \
ZVAL_STR(_zv, str); \
} while (0)

Definition at line 1254 of file zend_API.h.

◆ _ZEND_TRY_ASSIGN_STRING

#define _ZEND_TRY_ASSIGN_STRING ( zv,
string,
is_ref )
Value:
do { \
zval *_zv = zv; \
if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
zend_reference *ref = Z_REF_P(_zv); \
zend_try_assign_typed_ref_string(ref, string); \
break; \
} \
_zv = &ref->val; \
} \
zval_ptr_dtor(_zv); \
ZVAL_STRING(_zv, string); \
} while (0)

Definition at line 1298 of file zend_API.h.

◆ _ZEND_TRY_ASSIGN_STRINGL

#define _ZEND_TRY_ASSIGN_STRINGL ( zv,
string,
len,
is_ref )
Value:
do { \
zval *_zv = zv; \
if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
zend_reference *ref = Z_REF_P(_zv); \
zend_try_assign_typed_ref_stringl(ref, string, len); \
break; \
} \
_zv = &ref->val; \
} \
zval_ptr_dtor(_zv); \
ZVAL_STRINGL(_zv, string, len); \
} while (0)
size_t len
Definition apprentice.c:174

Definition at line 1320 of file zend_API.h.

◆ _ZEND_TRY_ASSIGN_TMP

#define _ZEND_TRY_ASSIGN_TMP ( zv,
other_zv,
is_ref )
Value:
do { \
zval *_zv = zv; \
if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
zend_reference *ref = Z_REF_P(_zv); \
zend_try_assign_typed_ref(ref, other_zv); \
break; \
} \
_zv = &ref->val; \
} \
zval_ptr_dtor(_zv); \
ZVAL_COPY_VALUE(_zv, other_zv); \
} while (0)

Definition at line 1386 of file zend_API.h.

◆ _ZEND_TRY_ASSIGN_TRUE

#define _ZEND_TRY_ASSIGN_TRUE ( zv,
is_ref )
Value:
do { \
zval *_zv = zv; \
if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
zend_reference *ref = Z_REF_P(_zv); \
zend_try_assign_typed_ref_bool(ref, 1); \
break; \
} \
_zv = &ref->val; \
} \
zval_ptr_dtor(_zv); \
ZVAL_TRUE(_zv); \
} while (0)

Definition at line 1144 of file zend_API.h.

◆ _ZEND_TRY_ASSIGN_VALUE

#define _ZEND_TRY_ASSIGN_VALUE ( zv,
other_zv,
is_ref )
Value:
do { \
zval *_zv = zv; \
if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
zend_reference *ref = Z_REF_P(_zv); \
zend_try_assign_typed_ref_zval(ref, other_zv); \
break; \
} \
_zv = &ref->val; \
} \
zval_ptr_dtor(_zv); \
ZVAL_COPY_VALUE(_zv, other_zv); \
} while (0)

Definition at line 1408 of file zend_API.h.

◆ _ZEND_TRY_ASSIGN_VALUE_EX

#define _ZEND_TRY_ASSIGN_VALUE_EX ( zv,
other_zv,
strict,
is_ref )
Value:
do { \
zval *_zv = zv; \
if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
zend_reference *ref = Z_REF_P(_zv); \
zend_try_assign_typed_ref_zval_ex(ref, other_zv, strict); \
break; \
} \
_zv = &ref->val; \
} \
zval_ptr_dtor(_zv); \
ZVAL_COPY_VALUE(_zv, other_zv); \
} while (0)

Definition at line 1440 of file zend_API.h.

◆ array_init

#define array_init ( arg)
Value:
zval * arg
Definition ffi.c:3975
#define zend_new_array(size)
Definition zend_hash.h:338
#define ZVAL_ARR(z, a)

Definition at line 537 of file zend_API.h.

◆ array_init_size

#define array_init_size ( arg,
size )
Value:
new_type size
Definition ffi.c:4365

Definition at line 538 of file zend_API.h.

◆ call_user_function

#define call_user_function ( function_table,
object,
function_name,
retval_ptr,
param_count,
params )
Value:
_call_user_function_impl(object, function_name, retval_ptr, param_count, params, NULL)
#define NULL
Definition gdcache.h:45
ZEND_API zend_result _call_user_function_impl(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], HashTable *named_params)
retval_ptr

Definition at line 687 of file zend_API.h.

◆ call_user_function_named

#define call_user_function_named ( function_table,
object,
function_name,
retval_ptr,
param_count,
params,
named_params )
Value:
_call_user_function_impl(object, function_name, retval_ptr, param_count, params, named_params)

Definition at line 690 of file zend_API.h.

◆ CE_BACKED_ENUM_TABLE

#define CE_BACKED_ENUM_TABLE ( ce)
Value:
zend_class_backed_enum_table(ce)

Definition at line 337 of file zend_API.h.

◆ CE_CONSTANTS_TABLE

#define CE_CONSTANTS_TABLE ( ce)
Value:
zend_class_constants_table(ce)

Definition at line 331 of file zend_API.h.

◆ CE_DEFAULT_PROPERTIES_TABLE

#define CE_DEFAULT_PROPERTIES_TABLE ( ce)
Value:
zend_class_default_properties_table(ce)

Definition at line 334 of file zend_API.h.

◆ CE_STATIC_MEMBERS

#define CE_STATIC_MEMBERS ( ce)
Value:
((zval*)ZEND_MAP_PTR_GET((ce)->static_members_table))
#define ZEND_MAP_PTR_GET(ptr)

Definition at line 328 of file zend_API.h.

◆ CHECK_NULL_PATH

#define CHECK_NULL_PATH ( p,
l )
Value:
zend_char_has_nul_byte(p, l)
p
Definition session.c:1105

Definition at line 950 of file zend_API.h.

◆ CHECK_ZVAL_NULL_PATH

#define CHECK_ZVAL_NULL_PATH ( p)
Value:
zend_str_has_nul_byte(Z_STR_P(p))
#define Z_STR_P(zval_p)
Definition zend_types.h:972

Definition at line 949 of file zend_API.h.

◆ CHECK_ZVAL_STRING

#define CHECK_ZVAL_STRING ( z)

Definition at line 936 of file zend_API.h.

◆ DLEXPORT

#define DLEXPORT

Definition at line 534 of file zend_API.h.

◆ FAST_ZPP

#define FAST_ZPP   1

Definition at line 1506 of file zend_API.h.

◆ getThis

#define getThis ( )
Value:
#define hasThis()
Definition zend_API.h:525
#define ZEND_THIS
Definition zend_API.h:523

Definition at line 526 of file zend_API.h.

◆ HASH_OF

#define HASH_OF ( p)
Value:
(Z_TYPE_P(p)==IS_ARRAY ? Z_ARRVAL_P(p) : ((Z_TYPE_P(p)==IS_OBJECT ? Z_OBJ_HT_P(p)->get_properties(Z_OBJ_P(p)) : NULL)))
#define Z_TYPE_P(zval_p)
Definition zend_types.h:660
#define Z_ARRVAL_P(zval_p)
Definition zend_types.h:987
#define Z_OBJ_P(zval_p)
Definition zend_types.h:990
#define IS_ARRAY
Definition zend_types.h:607
#define Z_OBJ_HT_P(zval_p)
Definition zend_types.h:993
#define IS_OBJECT
Definition zend_types.h:608

Definition at line 1062 of file zend_API.h.

◆ hasThis

#define hasThis ( )
Value:

Definition at line 525 of file zend_API.h.

◆ INIT_CLASS_ENTRY

#define INIT_CLASS_ENTRY ( class_container,
class_name,
functions )
Value:
INIT_CLASS_ENTRY_EX(class_container, class_name, strlen(class_name), functions)
HashTable functions
#define INIT_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions)
Definition zend_API.h:282
strlen(string $string)

Definition at line 279 of file zend_API.h.

◆ INIT_CLASS_ENTRY_EX

#define INIT_CLASS_ENTRY_EX ( class_container,
class_name,
class_name_len,
functions )
Value:
{ \
memset(&class_container, 0, sizeof(zend_class_entry)); \
class_container.name = zend_string_init_interned(class_name, class_name_len, 1); \
class_container.default_object_handlers = &std_object_handlers; \
class_container.info.internal.builtin_functions = functions; \
}
ZEND_API const zend_object_handlers std_object_handlers
struct _zend_class_entry zend_class_entry
ZEND_API zend_string_init_interned_func_t zend_string_init_interned
Definition zend_string.c:31

Definition at line 282 of file zend_API.h.

◆ INIT_CLASS_ENTRY_INIT_METHODS

#define INIT_CLASS_ENTRY_INIT_METHODS ( class_container,
functions )

Definition at line 290 of file zend_API.h.

◆ INIT_NS_CLASS_ENTRY

#define INIT_NS_CLASS_ENTRY ( class_container,
ns,
class_name,
functions )
Value:
INIT_CLASS_ENTRY(class_container, ZEND_NS_NAME(ns, class_name), functions)
#define INIT_CLASS_ENTRY(class_container, class_name, functions)
Definition zend_API.h:279
#define ZEND_NS_NAME(ns, name)
Definition zend_API.h:67

Definition at line 325 of file zend_API.h.

◆ IS_CALLABLE_CHECK_SYNTAX_ONLY

#define IS_CALLABLE_CHECK_SYNTAX_ONLY   (1<<0)

Definition at line 411 of file zend_API.h.

◆ IS_CALLABLE_SUPPRESS_DEPRECATIONS

#define IS_CALLABLE_SUPPRESS_DEPRECATIONS   (1<<1)

Definition at line 412 of file zend_API.h.

◆ RETURN_ARR

#define RETURN_ARR ( r)
Value:
do { RETVAL_ARR(r); return; } while (0)
#define RETVAL_ARR(r)
Definition zend_API.h:1024

Definition at line 1050 of file zend_API.h.

◆ RETURN_BOOL

#define RETURN_BOOL ( b)
Value:
do { RETVAL_BOOL(b); return; } while (0)
#define RETVAL_BOOL(b)
Definition zend_API.h:1009

Definition at line 1035 of file zend_API.h.

◆ RETURN_CHAR

#define RETURN_CHAR ( c)
Value:
do { RETVAL_CHAR(c); return; } while (0)
#define RETVAL_CHAR(c)
Definition zend_API.h:1022

Definition at line 1048 of file zend_API.h.

◆ RETURN_COPY

#define RETURN_COPY ( zv)
Value:
do { RETVAL_COPY(zv); return; } while (0)
#define RETVAL_COPY(zv)
Definition zend_API.h:1028

Definition at line 1054 of file zend_API.h.

◆ RETURN_COPY_DEREF

#define RETURN_COPY_DEREF ( zv)
Value:
do { RETVAL_COPY_DEREF(zv); return; } while (0)
#define RETVAL_COPY_DEREF(zv)
Definition zend_API.h:1030

Definition at line 1056 of file zend_API.h.

◆ RETURN_COPY_VALUE

#define RETURN_COPY_VALUE ( zv)
Value:
do { RETVAL_COPY_VALUE(zv); return; } while (0)
#define RETVAL_COPY_VALUE(zv)
Definition zend_API.h:1029

Definition at line 1055 of file zend_API.h.

◆ RETURN_DOUBLE

#define RETURN_DOUBLE ( d)
Value:
do { RETVAL_DOUBLE(d); return; } while (0)
#define RETVAL_DOUBLE(d)
Definition zend_API.h:1012

Definition at line 1038 of file zend_API.h.

◆ RETURN_EMPTY_ARRAY

#define RETURN_EMPTY_ARRAY ( )
Value:
do { RETVAL_EMPTY_ARRAY(); return; } while (0)
#define RETVAL_EMPTY_ARRAY()
Definition zend_API.h:1025

Definition at line 1051 of file zend_API.h.

◆ RETURN_EMPTY_STRING

#define RETURN_EMPTY_STRING ( )
Value:
do { RETVAL_EMPTY_STRING(); return; } while (0)
#define RETVAL_EMPTY_STRING()
Definition zend_API.h:1021

Definition at line 1047 of file zend_API.h.

◆ RETURN_FALSE

#define RETURN_FALSE   do { RETVAL_FALSE; return; } while (0)

Definition at line 1058 of file zend_API.h.

◆ RETURN_INTERNED_STR

#define RETURN_INTERNED_STR ( s)
Value:
do { RETVAL_INTERNED_STR(s); return; } while (0)
char s[4]
Definition cdf.c:77
#define RETVAL_INTERNED_STR(s)
Definition zend_API.h:1014

Definition at line 1040 of file zend_API.h.

◆ RETURN_LONG

#define RETURN_LONG ( l)
Value:
do { RETVAL_LONG(l); return; } while (0)
#define RETVAL_LONG(l)
Definition zend_API.h:1011

Definition at line 1037 of file zend_API.h.

◆ RETURN_NEW_STR

#define RETURN_NEW_STR ( s)
Value:
do { RETVAL_NEW_STR(s); return; } while (0)
#define RETVAL_NEW_STR(s)
Definition zend_API.h:1015

Definition at line 1041 of file zend_API.h.

◆ RETURN_NULL

#define RETURN_NULL ( )
Value:
do { RETVAL_NULL(); return;} while (0)
#define RETVAL_NULL()
Definition zend_API.h:1010

Definition at line 1036 of file zend_API.h.

◆ RETURN_OBJ

#define RETURN_OBJ ( r)
Value:
do { RETVAL_OBJ(r); return; } while (0)
#define RETVAL_OBJ(r)
Definition zend_API.h:1026

Definition at line 1052 of file zend_API.h.

◆ RETURN_OBJ_COPY

#define RETURN_OBJ_COPY ( r)
Value:
do { RETVAL_OBJ_COPY(r); return; } while (0)
#define RETVAL_OBJ_COPY(r)
Definition zend_API.h:1027

Definition at line 1053 of file zend_API.h.

◆ RETURN_RES

#define RETURN_RES ( r)
Value:
do { RETVAL_RES(r); return; } while (0)
#define RETVAL_RES(r)
Definition zend_API.h:1023

Definition at line 1049 of file zend_API.h.

◆ RETURN_STR

#define RETURN_STR ( s)
Value:
do { RETVAL_STR(s); return; } while (0)
#define RETVAL_STR(s)
Definition zend_API.h:1013

Definition at line 1039 of file zend_API.h.

◆ RETURN_STR_COPY

#define RETURN_STR_COPY ( s)
Value:
do { RETVAL_STR_COPY(s); return; } while (0)
#define RETVAL_STR_COPY(s)
Definition zend_API.h:1016

Definition at line 1042 of file zend_API.h.

◆ RETURN_STRING

#define RETURN_STRING ( s)
Value:
do { RETVAL_STRING(s); return; } while (0)
#define RETVAL_STRING(s)
Definition zend_API.h:1017

Definition at line 1043 of file zend_API.h.

◆ RETURN_STRING_FAST

#define RETURN_STRING_FAST ( s)
Value:
do { RETVAL_STRING_FAST(s); return; } while (0)
#define RETVAL_STRING_FAST(s)
Definition zend_API.h:1019

Definition at line 1045 of file zend_API.h.

◆ RETURN_STRINGL

#define RETURN_STRINGL ( s,
l )
Value:
do { RETVAL_STRINGL(s, l); return; } while (0)
#define RETVAL_STRINGL(s, l)
Definition zend_API.h:1018

Definition at line 1044 of file zend_API.h.

◆ RETURN_STRINGL_FAST

#define RETURN_STRINGL_FAST ( s,
l )
Value:
do { RETVAL_STRINGL_FAST(s, l); return; } while (0)
#define RETVAL_STRINGL_FAST(s, l)
Definition zend_API.h:1020

Definition at line 1046 of file zend_API.h.

◆ RETURN_THROWS

RETURN_THROWS ( )
Value:
do { ZEND_ASSERT(EG(exception)); (void) return_value; return; } while (0)
bool exception
Definition assert.c:30
ZEND_API void(ZEND_FASTCALL *zend_touch_vm_stack_data)(void *vm_stack_data)
#define EG(v)
#define ZEND_ASSERT(c)
zval * return_value

Definition at line 1060 of file zend_API.h.

◆ RETURN_TRUE

#define RETURN_TRUE   do { RETVAL_TRUE; return; } while (0)

Definition at line 1059 of file zend_API.h.

◆ RETURN_ZVAL

#define RETURN_ZVAL ( zv,
copy,
dtor )
Value:
do { RETVAL_ZVAL(zv, copy, dtor); return; } while (0)
copy(string $from, string $to, $context=null)
#define RETVAL_ZVAL(zv, copy, dtor)
Definition zend_API.h:1031

Definition at line 1057 of file zend_API.h.

◆ RETVAL_ARR

#define RETVAL_ARR ( r)
Value:

Definition at line 1024 of file zend_API.h.

◆ RETVAL_BOOL

#define RETVAL_BOOL ( b)
Value:
#define ZVAL_BOOL(z, b)

Definition at line 1009 of file zend_API.h.

◆ RETVAL_CHAR

#define RETVAL_CHAR ( c)
Value:
#define ZVAL_CHAR(z, c)
Definition zend_API.h:978

Definition at line 1022 of file zend_API.h.

◆ RETVAL_COPY

#define RETVAL_COPY ( zv)
Value:
#define ZVAL_COPY(z, v)

Definition at line 1028 of file zend_API.h.

◆ RETVAL_COPY_DEREF

#define RETVAL_COPY_DEREF ( zv)
Value:
#define ZVAL_COPY_DEREF(z, v)

Definition at line 1030 of file zend_API.h.

◆ RETVAL_COPY_VALUE

#define RETVAL_COPY_VALUE ( zv)
Value:
#define ZVAL_COPY_VALUE(z, v)

Definition at line 1029 of file zend_API.h.

◆ RETVAL_DOUBLE

#define RETVAL_DOUBLE ( d)
Value:
#define ZVAL_DOUBLE(z, d)

Definition at line 1012 of file zend_API.h.

◆ RETVAL_EMPTY_ARRAY

#define RETVAL_EMPTY_ARRAY ( )
Value:
#define ZVAL_EMPTY_ARRAY(z)
Definition zend_hash.h:87

Definition at line 1025 of file zend_API.h.

◆ RETVAL_EMPTY_STRING

#define RETVAL_EMPTY_STRING ( )
Value:
#define ZVAL_EMPTY_STRING(z)
Definition zend_API.h:961

Definition at line 1021 of file zend_API.h.

◆ RETVAL_FALSE

#define RETVAL_FALSE   ZVAL_FALSE(return_value)

Definition at line 1032 of file zend_API.h.

◆ RETVAL_INTERNED_STR

#define RETVAL_INTERNED_STR ( s)
Value:
#define ZVAL_INTERNED_STR(z, s)

Definition at line 1014 of file zend_API.h.

◆ RETVAL_LONG

#define RETVAL_LONG ( l)
Value:
#define ZVAL_LONG(z, l)

Definition at line 1011 of file zend_API.h.

◆ RETVAL_NEW_STR

#define RETVAL_NEW_STR ( s)
Value:
#define ZVAL_NEW_STR(z, s)

Definition at line 1015 of file zend_API.h.

◆ RETVAL_NULL

#define RETVAL_NULL ( )
Value:
#define ZVAL_NULL(z)

Definition at line 1010 of file zend_API.h.

◆ RETVAL_OBJ

#define RETVAL_OBJ ( r)
Value:
#define ZVAL_OBJ(z, o)

Definition at line 1026 of file zend_API.h.

◆ RETVAL_OBJ_COPY

#define RETVAL_OBJ_COPY ( r)
Value:
#define ZVAL_OBJ_COPY(z, o)

Definition at line 1027 of file zend_API.h.

◆ RETVAL_RES

#define RETVAL_RES ( r)
Value:
#define ZVAL_RES(z, r)

Definition at line 1023 of file zend_API.h.

◆ RETVAL_STR

#define RETVAL_STR ( s)
Value:
#define ZVAL_STR(z, s)

Definition at line 1013 of file zend_API.h.

◆ RETVAL_STR_COPY

#define RETVAL_STR_COPY ( s)
Value:
#define ZVAL_STR_COPY(z, s)

Definition at line 1016 of file zend_API.h.

◆ RETVAL_STRING

#define RETVAL_STRING ( s)
Value:
#define ZVAL_STRING(z, s)
Definition zend_API.h:956

Definition at line 1017 of file zend_API.h.

◆ RETVAL_STRING_FAST

#define RETVAL_STRING_FAST ( s)
Value:
#define ZVAL_STRING_FAST(z, s)
Definition zend_API.h:987

Definition at line 1019 of file zend_API.h.

◆ RETVAL_STRINGL

#define RETVAL_STRINGL ( s,
l )
Value:
#define ZVAL_STRINGL(z, s, l)
Definition zend_API.h:952

Definition at line 1018 of file zend_API.h.

◆ RETVAL_STRINGL_FAST

#define RETVAL_STRINGL_FAST ( s,
l )
Value:
#define ZVAL_STRINGL_FAST(z, s, l)
Definition zend_API.h:983

Definition at line 1020 of file zend_API.h.

◆ RETVAL_TRUE

#define RETVAL_TRUE   ZVAL_TRUE(return_value)

Definition at line 1033 of file zend_API.h.

◆ RETVAL_ZVAL

#define RETVAL_ZVAL ( zv,
copy,
dtor )
Value:
#define ZVAL_ZVAL(z, zv, copy, dtor)
Definition zend_API.h:992

Definition at line 1031 of file zend_API.h.

◆ WRONG_PARAM_COUNT

#define WRONG_PARAM_COUNT   ZEND_WRONG_PARAM_COUNT()

Definition at line 529 of file zend_API.h.

◆ Z_EXPECTED_TYPE

#define Z_EXPECTED_TYPE

Definition at line 1544 of file zend_API.h.

◆ Z_EXPECTED_TYPE_ENUM

#define Z_EXPECTED_TYPE_ENUM ( id,
str )
Value:
id,

Definition at line 1546 of file zend_API.h.

◆ Z_EXPECTED_TYPE_STR

#define Z_EXPECTED_TYPE_STR ( id,
str )
Value:
str,

Definition at line 1547 of file zend_API.h.

◆ Z_EXPECTED_TYPES

#define Z_EXPECTED_TYPES ( _)

Definition at line 1508 of file zend_API.h.

◆ Z_PARAM_ARRAY

#define Z_PARAM_ARRAY ( dest)
Value:
Z_PARAM_ARRAY_EX(dest, 0, 0)
#define Z_PARAM_ARRAY_EX(dest, check_null, separate)
Definition zend_API.h:1679

Definition at line 1682 of file zend_API.h.

◆ Z_PARAM_ARRAY_EX

#define Z_PARAM_ARRAY_EX ( dest,
check_null,
separate )
Value:
Z_PARAM_ARRAY_EX2(dest, check_null, separate, separate)
#define Z_PARAM_ARRAY_EX2(dest, check_null, deref, separate)
Definition zend_API.h:1671

Definition at line 1679 of file zend_API.h.

◆ Z_PARAM_ARRAY_EX2

#define Z_PARAM_ARRAY_EX2 ( dest,
check_null,
deref,
separate )
Value:
Z_PARAM_PROLOGUE(deref, separate); \
if (UNEXPECTED(!zend_parse_arg_array(_arg, &dest, check_null, 0))) { \
_expected_type = check_null ? Z_EXPECTED_ARRAY_OR_NULL : Z_EXPECTED_ARRAY; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}
#define Z_PARAM_PROLOGUE(deref, separate)
Definition zend_API.h:1644
#define ZPP_ERROR_WRONG_ARG
Definition zend_API.h:1584

Definition at line 1671 of file zend_API.h.

◆ Z_PARAM_ARRAY_HT

#define Z_PARAM_ARRAY_HT ( dest)
Value:
Z_PARAM_ARRAY_HT_EX(dest, 0, 0)
#define Z_PARAM_ARRAY_HT_EX(dest, check_null, separate)
Definition zend_API.h:1849

Definition at line 1852 of file zend_API.h.

◆ Z_PARAM_ARRAY_HT_EX

#define Z_PARAM_ARRAY_HT_EX ( dest,
check_null,
separate )
Value:
Z_PARAM_ARRAY_HT_EX2(dest, check_null, separate, separate)
#define Z_PARAM_ARRAY_HT_EX2(dest, check_null, deref, separate)
Definition zend_API.h:1841

Definition at line 1849 of file zend_API.h.

◆ Z_PARAM_ARRAY_HT_EX2

#define Z_PARAM_ARRAY_HT_EX2 ( dest,
check_null,
deref,
separate )
Value:
Z_PARAM_PROLOGUE(deref, separate); \
if (UNEXPECTED(!zend_parse_arg_array_ht(_arg, &dest, check_null, 0, separate))) { \
_expected_type = check_null ? Z_EXPECTED_ARRAY_OR_NULL : Z_EXPECTED_ARRAY; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 1841 of file zend_API.h.

◆ Z_PARAM_ARRAY_HT_OR_LONG

#define Z_PARAM_ARRAY_HT_OR_LONG ( dest_ht,
dest_long )
Value:
Z_PARAM_ARRAY_HT_OR_LONG_EX(dest_ht, dest_long, _dummy, 0)
#define Z_PARAM_ARRAY_HT_OR_LONG_EX(dest_ht, dest_long, is_null, allow_null)
Definition zend_API.h:1858

Definition at line 1866 of file zend_API.h.

◆ Z_PARAM_ARRAY_HT_OR_LONG_EX

#define Z_PARAM_ARRAY_HT_OR_LONG_EX ( dest_ht,
dest_long,
is_null,
allow_null )
Value:
if (UNEXPECTED(!zend_parse_arg_array_ht_or_long(_arg, &dest_ht, &dest_long, &is_null, allow_null, _i))) { \
_expected_type = allow_null ? Z_EXPECTED_ARRAY_OR_LONG_OR_NULL : Z_EXPECTED_ARRAY_OR_LONG; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}
is_null(mixed $value)

Definition at line 1858 of file zend_API.h.

◆ Z_PARAM_ARRAY_HT_OR_LONG_OR_NULL

#define Z_PARAM_ARRAY_HT_OR_LONG_OR_NULL ( dest_ht,
dest_long,
is_null )
Value:
Z_PARAM_ARRAY_HT_OR_LONG_EX(dest_ht, dest_long, is_null, 1)

Definition at line 1869 of file zend_API.h.

◆ Z_PARAM_ARRAY_HT_OR_NULL

#define Z_PARAM_ARRAY_HT_OR_NULL ( dest)
Value:
Z_PARAM_ARRAY_HT_EX(dest, 1, 0)

Definition at line 1855 of file zend_API.h.

◆ Z_PARAM_ARRAY_HT_OR_STR

#define Z_PARAM_ARRAY_HT_OR_STR ( dest_ht,
dest_str )
Value:
Z_PARAM_ARRAY_HT_OR_STR_EX(dest_ht, dest_str, 0);
#define Z_PARAM_ARRAY_HT_OR_STR_EX(dest_ht, dest_str, allow_null)
Definition zend_API.h:2143

Definition at line 2151 of file zend_API.h.

◆ Z_PARAM_ARRAY_HT_OR_STR_EX

#define Z_PARAM_ARRAY_HT_OR_STR_EX ( dest_ht,
dest_str,
allow_null )
Value:
if (UNEXPECTED(!zend_parse_arg_array_ht_or_str(_arg, &dest_ht, &dest_str, allow_null, _i))) { \
_expected_type = allow_null ? Z_EXPECTED_ARRAY_OR_STRING_OR_NULL : Z_EXPECTED_ARRAY_OR_STRING; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 2143 of file zend_API.h.

◆ Z_PARAM_ARRAY_HT_OR_STR_OR_NULL

#define Z_PARAM_ARRAY_HT_OR_STR_OR_NULL ( dest_ht,
dest_str )
Value:
Z_PARAM_ARRAY_HT_OR_STR_EX(dest_ht, dest_str, 1);

Definition at line 2154 of file zend_API.h.

◆ Z_PARAM_ARRAY_OR_NULL

#define Z_PARAM_ARRAY_OR_NULL ( dest)
Value:
Z_PARAM_ARRAY_EX(dest, 1, 0)

Definition at line 1685 of file zend_API.h.

◆ Z_PARAM_ARRAY_OR_OBJECT

#define Z_PARAM_ARRAY_OR_OBJECT ( dest)
Value:
#define Z_PARAM_ARRAY_OR_OBJECT_EX(dest, check_null, separate)
Definition zend_API.h:1697

Definition at line 1700 of file zend_API.h.

◆ Z_PARAM_ARRAY_OR_OBJECT_EX

#define Z_PARAM_ARRAY_OR_OBJECT_EX ( dest,
check_null,
separate )
Value:
Z_PARAM_ARRAY_OR_OBJECT_EX2(dest, check_null, separate, separate)
#define Z_PARAM_ARRAY_OR_OBJECT_EX2(dest, check_null, deref, separate)
Definition zend_API.h:1689

Definition at line 1697 of file zend_API.h.

◆ Z_PARAM_ARRAY_OR_OBJECT_EX2

#define Z_PARAM_ARRAY_OR_OBJECT_EX2 ( dest,
check_null,
deref,
separate )
Value:
Z_PARAM_PROLOGUE(deref, separate); \
if (UNEXPECTED(!zend_parse_arg_array(_arg, &dest, check_null, 1))) { \
_expected_type = check_null ? Z_EXPECTED_ARRAY_OR_NULL : Z_EXPECTED_ARRAY; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 1689 of file zend_API.h.

◆ Z_PARAM_ARRAY_OR_OBJECT_HT

#define Z_PARAM_ARRAY_OR_OBJECT_HT ( dest)
Value:
#define Z_PARAM_ARRAY_OR_OBJECT_HT_EX(dest, check_null, separate)
Definition zend_API.h:1881

Definition at line 1884 of file zend_API.h.

◆ Z_PARAM_ARRAY_OR_OBJECT_HT_EX

#define Z_PARAM_ARRAY_OR_OBJECT_HT_EX ( dest,
check_null,
separate )
Value:
Z_PARAM_ARRAY_OR_OBJECT_HT_EX2(dest, check_null, separate, separate)
#define Z_PARAM_ARRAY_OR_OBJECT_HT_EX2(dest, check_null, deref, separate)
Definition zend_API.h:1873

Definition at line 1881 of file zend_API.h.

◆ Z_PARAM_ARRAY_OR_OBJECT_HT_EX2

#define Z_PARAM_ARRAY_OR_OBJECT_HT_EX2 ( dest,
check_null,
deref,
separate )
Value:
Z_PARAM_PROLOGUE(deref, separate); \
if (UNEXPECTED(!zend_parse_arg_array_ht(_arg, &dest, check_null, 1, separate))) { \
_expected_type = check_null ? Z_EXPECTED_ARRAY_OR_NULL : Z_EXPECTED_ARRAY; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 1873 of file zend_API.h.

◆ Z_PARAM_BOOL

#define Z_PARAM_BOOL ( dest)
Value:
Z_PARAM_BOOL_EX(dest, _dummy, 0, 0)
#define Z_PARAM_BOOL_EX(dest, is_null, check_null, deref)
Definition zend_API.h:1718

Definition at line 1726 of file zend_API.h.

◆ Z_PARAM_BOOL_EX

#define Z_PARAM_BOOL_EX ( dest,
is_null,
check_null,
deref )
Value:
Z_PARAM_PROLOGUE(deref, 0); \
if (UNEXPECTED(!zend_parse_arg_bool(_arg, &dest, &is_null, check_null, _i))) { \
_expected_type = check_null ? Z_EXPECTED_BOOL_OR_NULL : Z_EXPECTED_BOOL; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 1718 of file zend_API.h.

◆ Z_PARAM_BOOL_OR_NULL

#define Z_PARAM_BOOL_OR_NULL ( dest,
is_null )
Value:
Z_PARAM_BOOL_EX(dest, is_null, 1, 0)

Definition at line 1729 of file zend_API.h.

◆ Z_PARAM_CLASS

#define Z_PARAM_CLASS ( dest)
Value:
Z_PARAM_CLASS_EX(dest, 0, 0)
#define Z_PARAM_CLASS_EX(dest, check_null, deref)
Definition zend_API.h:1733

Definition at line 1740 of file zend_API.h.

◆ Z_PARAM_CLASS_EX

#define Z_PARAM_CLASS_EX ( dest,
check_null,
deref )
Value:
Z_PARAM_PROLOGUE(deref, 0); \
if (UNEXPECTED(!zend_parse_arg_class(_arg, &dest, _i, check_null))) { \
_error_code = ZPP_ERROR_FAILURE; \
break; \
}
ZEND_API bool ZEND_FASTCALL zend_parse_arg_class(zval *arg, zend_class_entry **pce, uint32_t num, bool check_null)
Definition zend_API.c:468
#define ZPP_ERROR_FAILURE
Definition zend_API.h:1576

Definition at line 1733 of file zend_API.h.

◆ Z_PARAM_CLASS_OR_NULL

#define Z_PARAM_CLASS_OR_NULL ( dest)
Value:
Z_PARAM_CLASS_EX(dest, 1, 0)

Definition at line 1743 of file zend_API.h.

◆ Z_PARAM_DOUBLE

#define Z_PARAM_DOUBLE ( dest)
Value:
Z_PARAM_DOUBLE_EX(dest, _dummy, 0, 0)
#define Z_PARAM_DOUBLE_EX(dest, is_null, check_null, deref)
Definition zend_API.h:1795

Definition at line 1803 of file zend_API.h.

◆ Z_PARAM_DOUBLE_EX

#define Z_PARAM_DOUBLE_EX ( dest,
is_null,
check_null,
deref )
Value:
Z_PARAM_PROLOGUE(deref, 0); \
if (UNEXPECTED(!zend_parse_arg_double(_arg, &dest, &is_null, check_null, _i))) { \
_expected_type = check_null ? Z_EXPECTED_DOUBLE_OR_NULL : Z_EXPECTED_DOUBLE; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 1795 of file zend_API.h.

◆ Z_PARAM_DOUBLE_OR_NULL

#define Z_PARAM_DOUBLE_OR_NULL ( dest,
is_null )
Value:

Definition at line 1806 of file zend_API.h.

◆ Z_PARAM_FUNC

#define Z_PARAM_FUNC ( dest_fci,
dest_fcc )
Value:
Z_PARAM_FUNC_EX2(dest_fci, dest_fcc, 0, 0, true)
#define Z_PARAM_FUNC_EX2(dest_fci, dest_fcc, check_null, deref, free_trampoline)
Definition zend_API.h:1810

Definition at line 1824 of file zend_API.h.

◆ Z_PARAM_FUNC_EX

#define Z_PARAM_FUNC_EX ( dest_fci,
dest_fcc,
check_null,
deref )
Value:
Z_PARAM_FUNC_EX2(dest_fci, dest_fcc, check_null, deref, true)

Definition at line 1822 of file zend_API.h.

◆ Z_PARAM_FUNC_EX2

#define Z_PARAM_FUNC_EX2 ( dest_fci,
dest_fcc,
check_null,
deref,
free_trampoline )
Value:
Z_PARAM_PROLOGUE(deref, 0); \
if (UNEXPECTED(!zend_parse_arg_func(_arg, &dest_fci, &dest_fcc, check_null, &_error, free_trampoline))) { \
if (!_error) { \
_expected_type = check_null ? Z_EXPECTED_FUNC_OR_NULL : Z_EXPECTED_FUNC; \
_error_code = ZPP_ERROR_WRONG_ARG; \
} else { \
} \
break; \
} \
#define ZPP_ERROR_WRONG_CALLBACK
Definition zend_API.h:1577
#define ZPP_ERROR_WRONG_CALLBACK_OR_NULL
Definition zend_API.h:1587

Definition at line 1810 of file zend_API.h.

◆ Z_PARAM_FUNC_NO_TRAMPOLINE_FREE

#define Z_PARAM_FUNC_NO_TRAMPOLINE_FREE ( dest_fci,
dest_fcc )
Value:
Z_PARAM_FUNC_EX2(dest_fci, dest_fcc, 0, 0, false)

Definition at line 1827 of file zend_API.h.

◆ Z_PARAM_FUNC_NO_TRAMPOLINE_FREE_OR_NULL

#define Z_PARAM_FUNC_NO_TRAMPOLINE_FREE_OR_NULL ( dest_fci,
dest_fcc )
Value:
Z_PARAM_FUNC_EX2(dest_fci, dest_fcc, 1, 0, false)

Definition at line 1833 of file zend_API.h.

◆ Z_PARAM_FUNC_OR_NULL

#define Z_PARAM_FUNC_OR_NULL ( dest_fci,
dest_fcc )
Value:
Z_PARAM_FUNC_EX2(dest_fci, dest_fcc, 1, 0, true)

Definition at line 1830 of file zend_API.h.

◆ Z_PARAM_FUNC_OR_NULL_WITH_ZVAL

#define Z_PARAM_FUNC_OR_NULL_WITH_ZVAL ( dest_fci,
dest_fcc,
dest_zp )
Value:
Z_PARAM_FUNC_EX2(dest_fci, dest_fcc, 1, 0, true) \
Z_PARAM_GET_PREV_ZVAL(dest_zp)

Definition at line 1836 of file zend_API.h.

◆ Z_PARAM_GET_PREV_ZVAL

#define Z_PARAM_GET_PREV_ZVAL ( dest)
Value:
zend_parse_arg_zval_deref(_arg, &dest, 0);

Definition at line 1663 of file zend_API.h.

◆ Z_PARAM_ITERABLE

#define Z_PARAM_ITERABLE ( dest)
Value:
#define Z_PARAM_ITERABLE_EX(dest, check_null)
Definition zend_API.h:1703

Definition at line 1711 of file zend_API.h.

◆ Z_PARAM_ITERABLE_EX

#define Z_PARAM_ITERABLE_EX ( dest,
check_null )
Value:
if (UNEXPECTED(!zend_parse_arg_iterable(_arg, &dest, check_null))) { \
_expected_type = check_null ? Z_EXPECTED_ITERABLE_OR_NULL : Z_EXPECTED_ITERABLE; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 1703 of file zend_API.h.

◆ Z_PARAM_ITERABLE_OR_NULL

#define Z_PARAM_ITERABLE_OR_NULL ( dest)
Value:

Definition at line 1714 of file zend_API.h.

◆ Z_PARAM_LONG

#define Z_PARAM_LONG ( dest)
Value:
Z_PARAM_LONG_EX(dest, _dummy, 0, 0)
#define Z_PARAM_LONG_EX(dest, is_null, check_null, deref)
Definition zend_API.h:1888

Definition at line 1896 of file zend_API.h.

◆ Z_PARAM_LONG_EX

#define Z_PARAM_LONG_EX ( dest,
is_null,
check_null,
deref )
Value:
Z_PARAM_PROLOGUE(deref, 0); \
if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, _i))) { \
_expected_type = check_null ? Z_EXPECTED_LONG_OR_NULL : Z_EXPECTED_LONG; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 1888 of file zend_API.h.

◆ Z_PARAM_LONG_OR_NULL

#define Z_PARAM_LONG_OR_NULL ( dest,
is_null )
Value:
Z_PARAM_LONG_EX(dest, is_null, 1, 0)

Definition at line 1899 of file zend_API.h.

◆ Z_PARAM_NUMBER

#define Z_PARAM_NUMBER ( dest)
Value:
#define Z_PARAM_NUMBER_EX(dest, check_null)
Definition zend_API.h:1903

Definition at line 1914 of file zend_API.h.

◆ Z_PARAM_NUMBER_EX

#define Z_PARAM_NUMBER_EX ( dest,
check_null )
Value:
if (UNEXPECTED(!zend_parse_arg_number(_arg, &dest, check_null, _i))) { \
_expected_type = check_null ? Z_EXPECTED_NUMBER_OR_NULL : Z_EXPECTED_NUMBER; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 1903 of file zend_API.h.

◆ Z_PARAM_NUMBER_OR_NULL

#define Z_PARAM_NUMBER_OR_NULL ( dest)
Value:

Definition at line 1911 of file zend_API.h.

◆ Z_PARAM_NUMBER_OR_STR

#define Z_PARAM_NUMBER_OR_STR ( dest)
Value:
#define Z_PARAM_NUMBER_OR_STR_EX(dest, check_null)
Definition zend_API.h:1917

Definition at line 1925 of file zend_API.h.

◆ Z_PARAM_NUMBER_OR_STR_EX

#define Z_PARAM_NUMBER_OR_STR_EX ( dest,
check_null )
Value:
if (UNEXPECTED(!zend_parse_arg_number_or_str(_arg, &dest, check_null, _i))) { \
_expected_type = check_null ? Z_EXPECTED_NUMBER_OR_STRING_OR_NULL : Z_EXPECTED_NUMBER_OR_STRING; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 1917 of file zend_API.h.

◆ Z_PARAM_NUMBER_OR_STR_OR_NULL

#define Z_PARAM_NUMBER_OR_STR_OR_NULL ( dest)
Value:

Definition at line 1928 of file zend_API.h.

◆ Z_PARAM_OBJ

#define Z_PARAM_OBJ ( dest)
Value:
Z_PARAM_OBJ_EX(dest, 0, 0)
#define Z_PARAM_OBJ_EX(dest, check_null, deref)
Definition zend_API.h:1947

Definition at line 1955 of file zend_API.h.

◆ Z_PARAM_OBJ_EX

#define Z_PARAM_OBJ_EX ( dest,
check_null,
deref )
Value:
Z_PARAM_PROLOGUE(deref, 0); \
if (UNEXPECTED(!zend_parse_arg_obj(_arg, &dest, NULL, check_null))) { \
_expected_type = check_null ? Z_EXPECTED_OBJECT_OR_NULL : Z_EXPECTED_OBJECT; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 1947 of file zend_API.h.

◆ Z_PARAM_OBJ_OF_CLASS

#define Z_PARAM_OBJ_OF_CLASS ( dest,
_ce )
Value:
Z_PARAM_OBJ_OF_CLASS_EX(dest, _ce, 0, 0)
#define Z_PARAM_OBJ_OF_CLASS_EX(dest, _ce, check_null, deref)
Definition zend_API.h:1983

Definition at line 1997 of file zend_API.h.

◆ Z_PARAM_OBJ_OF_CLASS_EX

#define Z_PARAM_OBJ_OF_CLASS_EX ( dest,
_ce,
check_null,
deref )
Value:
Z_PARAM_PROLOGUE(deref, 0); \
if (UNEXPECTED(!zend_parse_arg_obj(_arg, &dest, _ce, check_null))) { \
if (_ce) { \
_error = ZSTR_VAL((_ce)->name); \
_error_code = check_null ? ZPP_ERROR_WRONG_CLASS_OR_NULL : ZPP_ERROR_WRONG_CLASS; \
break; \
} else { \
_expected_type = check_null ? Z_EXPECTED_OBJECT_OR_NULL : Z_EXPECTED_OBJECT; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
} \
}
#define ZPP_ERROR_WRONG_CLASS_OR_NULL
Definition zend_API.h:1579
#define ZPP_ERROR_WRONG_CLASS
Definition zend_API.h:1578
#define ZSTR_VAL(zstr)
Definition zend_string.h:68
zend_string * name

Definition at line 1983 of file zend_API.h.

◆ Z_PARAM_OBJ_OF_CLASS_OR_LONG

#define Z_PARAM_OBJ_OF_CLASS_OR_LONG ( dest_obj,
_ce,
dest_long )
Value:
Z_PARAM_OBJ_OF_CLASS_OR_LONG_EX(dest_obj, _ce, dest_long, _dummy, 0)
#define Z_PARAM_OBJ_OF_CLASS_OR_LONG_EX(dest_obj, _ce, dest_long, is_null, allow_null)
Definition zend_API.h:2003

Definition at line 2011 of file zend_API.h.

◆ Z_PARAM_OBJ_OF_CLASS_OR_LONG_EX

#define Z_PARAM_OBJ_OF_CLASS_OR_LONG_EX ( dest_obj,
_ce,
dest_long,
is_null,
allow_null )
Value:
if (UNEXPECTED(!zend_parse_arg_obj_or_long(_arg, &dest_obj, _ce, &dest_long, &is_null, allow_null, _i))) { \
_error = ZSTR_VAL((_ce)->name); \
break; \
}
#define ZPP_ERROR_WRONG_CLASS_OR_LONG_OR_NULL
Definition zend_API.h:1583
#define ZPP_ERROR_WRONG_CLASS_OR_LONG
Definition zend_API.h:1582

Definition at line 2003 of file zend_API.h.

◆ Z_PARAM_OBJ_OF_CLASS_OR_LONG_OR_NULL

#define Z_PARAM_OBJ_OF_CLASS_OR_LONG_OR_NULL ( dest_obj,
_ce,
dest_long,
is_null )
Value:
Z_PARAM_OBJ_OF_CLASS_OR_LONG_EX(dest_obj, _ce, dest_long, is_null, 1)

Definition at line 2014 of file zend_API.h.

◆ Z_PARAM_OBJ_OF_CLASS_OR_NULL

#define Z_PARAM_OBJ_OF_CLASS_OR_NULL ( dest,
_ce )
Value:
Z_PARAM_OBJ_OF_CLASS_EX(dest, _ce, 1, 0)

Definition at line 2000 of file zend_API.h.

◆ Z_PARAM_OBJ_OF_CLASS_OR_STR

#define Z_PARAM_OBJ_OF_CLASS_OR_STR ( destination_object,
base_ce,
destination_string )
Value:
Z_PARAM_OBJ_OF_CLASS_OR_STR_EX(destination_object, base_ce, destination_string, 0);
#define Z_PARAM_OBJ_OF_CLASS_OR_STR_EX(destination_object, base_ce, destination_string, allow_null)
Definition zend_API.h:1774

Definition at line 1788 of file zend_API.h.

◆ Z_PARAM_OBJ_OF_CLASS_OR_STR_EX

#define Z_PARAM_OBJ_OF_CLASS_OR_STR_EX ( destination_object,
base_ce,
destination_string,
allow_null )
Value:
if (UNEXPECTED(!zend_parse_arg_obj_or_str(_arg, &destination_object, base_ce, &destination_string, allow_null, _i))) { \
if (base_ce) { \
_error = ZSTR_VAL((base_ce)->name); \
break; \
} else { \
_expected_type = allow_null ? Z_EXPECTED_OBJECT_OR_STRING_OR_NULL : Z_EXPECTED_OBJECT_OR_STRING; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
} \
}
#define ZPP_ERROR_WRONG_CLASS_OR_STRING_OR_NULL
Definition zend_API.h:1581
#define ZPP_ERROR_WRONG_CLASS_OR_STRING
Definition zend_API.h:1580

Definition at line 1774 of file zend_API.h.

◆ Z_PARAM_OBJ_OF_CLASS_OR_STR_OR_NULL

#define Z_PARAM_OBJ_OF_CLASS_OR_STR_OR_NULL ( destination_object,
base_ce,
destination_string )
Value:
Z_PARAM_OBJ_OF_CLASS_OR_STR_EX(destination_object, base_ce, destination_string, 1);

Definition at line 1791 of file zend_API.h.

◆ Z_PARAM_OBJ_OR_CLASS_NAME

#define Z_PARAM_OBJ_OR_CLASS_NAME ( dest)
Value:
#define Z_PARAM_OBJ_OR_CLASS_NAME_EX(dest, allow_null)
Definition zend_API.h:1746

Definition at line 1754 of file zend_API.h.

◆ Z_PARAM_OBJ_OR_CLASS_NAME_EX

#define Z_PARAM_OBJ_OR_CLASS_NAME_EX ( dest,
allow_null )
Value:
if (UNEXPECTED(!zend_parse_arg_obj_or_class_name(_arg, &dest, allow_null))) { \
_expected_type = allow_null ? Z_EXPECTED_OBJECT_OR_CLASS_NAME_OR_NULL : Z_EXPECTED_OBJECT_OR_CLASS_NAME; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 1746 of file zend_API.h.

◆ Z_PARAM_OBJ_OR_CLASS_NAME_OR_NULL

#define Z_PARAM_OBJ_OR_CLASS_NAME_OR_NULL ( dest)
Value:

Definition at line 1757 of file zend_API.h.

◆ Z_PARAM_OBJ_OR_NULL

#define Z_PARAM_OBJ_OR_NULL ( dest)
Value:
Z_PARAM_OBJ_EX(dest, 1, 0)

Definition at line 1958 of file zend_API.h.

◆ Z_PARAM_OBJ_OR_STR

#define Z_PARAM_OBJ_OR_STR ( destination_object,
destination_string )
Value:
Z_PARAM_OBJ_OR_STR_EX(destination_object, destination_string, 0);
#define Z_PARAM_OBJ_OR_STR_EX(destination_object, destination_string, allow_null)
Definition zend_API.h:1760

Definition at line 1768 of file zend_API.h.

◆ Z_PARAM_OBJ_OR_STR_EX

#define Z_PARAM_OBJ_OR_STR_EX ( destination_object,
destination_string,
allow_null )
Value:
if (UNEXPECTED(!zend_parse_arg_obj_or_str(_arg, &destination_object, NULL, &destination_string, allow_null, _i))) { \
_expected_type = allow_null ? Z_EXPECTED_OBJECT_OR_STRING_OR_NULL : Z_EXPECTED_OBJECT_OR_STRING; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 1760 of file zend_API.h.

◆ Z_PARAM_OBJ_OR_STR_OR_NULL

#define Z_PARAM_OBJ_OR_STR_OR_NULL ( destination_object,
destination_string )
Value:
Z_PARAM_OBJ_OR_STR_EX(destination_object, destination_string, 1);

Definition at line 1771 of file zend_API.h.

◆ Z_PARAM_OBJECT

#define Z_PARAM_OBJECT ( dest)
Value:
Z_PARAM_OBJECT_EX(dest, 0, 0)
#define Z_PARAM_OBJECT_EX(dest, check_null, deref)
Definition zend_API.h:1932

Definition at line 1940 of file zend_API.h.

◆ Z_PARAM_OBJECT_EX

#define Z_PARAM_OBJECT_EX ( dest,
check_null,
deref )
Value:
Z_PARAM_PROLOGUE(deref, 0); \
if (UNEXPECTED(!zend_parse_arg_object(_arg, &dest, NULL, check_null))) { \
_expected_type = check_null ? Z_EXPECTED_OBJECT_OR_NULL : Z_EXPECTED_OBJECT; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 1932 of file zend_API.h.

◆ Z_PARAM_OBJECT_OF_CLASS

#define Z_PARAM_OBJECT_OF_CLASS ( dest,
_ce )
Value:
Z_PARAM_OBJECT_OF_CLASS_EX(dest, _ce, 0, 0)
#define Z_PARAM_OBJECT_OF_CLASS_EX(dest, _ce, check_null, deref)
Definition zend_API.h:1962

Definition at line 1976 of file zend_API.h.

◆ Z_PARAM_OBJECT_OF_CLASS_EX

#define Z_PARAM_OBJECT_OF_CLASS_EX ( dest,
_ce,
check_null,
deref )
Value:
Z_PARAM_PROLOGUE(deref, 0); \
if (UNEXPECTED(!zend_parse_arg_object(_arg, &dest, _ce, check_null))) { \
if (_ce) { \
_error = ZSTR_VAL((_ce)->name); \
_error_code = check_null ? ZPP_ERROR_WRONG_CLASS_OR_NULL : ZPP_ERROR_WRONG_CLASS; \
break; \
} else { \
_expected_type = check_null ? Z_EXPECTED_OBJECT_OR_NULL : Z_EXPECTED_OBJECT; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
} \
}

Definition at line 1962 of file zend_API.h.

◆ Z_PARAM_OBJECT_OF_CLASS_OR_NULL

#define Z_PARAM_OBJECT_OF_CLASS_OR_NULL ( dest,
_ce )
Value:
Z_PARAM_OBJECT_OF_CLASS_EX(dest, _ce, 1, 0)

Definition at line 1979 of file zend_API.h.

◆ Z_PARAM_OBJECT_OR_NULL

#define Z_PARAM_OBJECT_OR_NULL ( dest)
Value:
Z_PARAM_OBJECT_EX(dest, 1, 0)

Definition at line 1943 of file zend_API.h.

◆ Z_PARAM_OPTIONAL

#define Z_PARAM_OPTIONAL    _optional = 1;

Definition at line 1667 of file zend_API.h.

◆ Z_PARAM_PATH

#define Z_PARAM_PATH ( dest,
dest_len )
Value:
Z_PARAM_PATH_EX(dest, dest_len, 0, 0)
#define Z_PARAM_PATH_EX(dest, dest_len, check_null, deref)
Definition zend_API.h:2018

Definition at line 2026 of file zend_API.h.

◆ Z_PARAM_PATH_EX

#define Z_PARAM_PATH_EX ( dest,
dest_len,
check_null,
deref )
Value:
Z_PARAM_PROLOGUE(deref, 0); \
if (UNEXPECTED(!zend_parse_arg_path(_arg, &dest, &dest_len, check_null, _i))) { \
_expected_type = check_null ? Z_EXPECTED_PATH_OR_NULL : Z_EXPECTED_PATH; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 2018 of file zend_API.h.

◆ Z_PARAM_PATH_OR_NULL

#define Z_PARAM_PATH_OR_NULL ( dest,
dest_len )
Value:
Z_PARAM_PATH_EX(dest, dest_len, 1, 0)

Definition at line 2029 of file zend_API.h.

◆ Z_PARAM_PATH_STR

#define Z_PARAM_PATH_STR ( dest)
Value:
Z_PARAM_PATH_STR_EX(dest, 0, 0)
#define Z_PARAM_PATH_STR_EX(dest, check_null, deref)
Definition zend_API.h:2033

Definition at line 2041 of file zend_API.h.

◆ Z_PARAM_PATH_STR_EX

#define Z_PARAM_PATH_STR_EX ( dest,
check_null,
deref )
Value:
Z_PARAM_PROLOGUE(deref, 0); \
if (UNEXPECTED(!zend_parse_arg_path_str(_arg, &dest, check_null, _i))) { \
_expected_type = check_null ? Z_EXPECTED_PATH_OR_NULL : Z_EXPECTED_PATH; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 2033 of file zend_API.h.

◆ Z_PARAM_PATH_STR_OR_NULL

#define Z_PARAM_PATH_STR_OR_NULL ( dest)
Value:
Z_PARAM_PATH_STR_EX(dest, 1, 0)

Definition at line 2044 of file zend_API.h.

◆ Z_PARAM_PROLOGUE

#define Z_PARAM_PROLOGUE ( deref,
separate )
Value:
++_i; \
ZEND_ASSERT(_i <= _min_num_args || _optional==1); \
ZEND_ASSERT(_i > _min_num_args || _optional==0); \
if (_optional) { \
if (UNEXPECTED(_i >_num_args)) break; \
} \
_real_arg++; \
_arg = _real_arg; \
if (deref) { \
if (EXPECTED(Z_ISREF_P(_arg))) { \
_arg = Z_REFVAL_P(_arg); \
} \
} \
if (separate) { \
SEPARATE_ZVAL_NOREF(_arg); \
}
#define EXPECTED(condition)
#define Z_REFVAL_P(zval_p)

Definition at line 1644 of file zend_API.h.

◆ Z_PARAM_RESOURCE

#define Z_PARAM_RESOURCE ( dest)
Value:
Z_PARAM_RESOURCE_EX(dest, 0, 0)
#define Z_PARAM_RESOURCE_EX(dest, check_null, deref)
Definition zend_API.h:2048

Definition at line 2056 of file zend_API.h.

◆ Z_PARAM_RESOURCE_EX

#define Z_PARAM_RESOURCE_EX ( dest,
check_null,
deref )
Value:
Z_PARAM_PROLOGUE(deref, 0); \
if (UNEXPECTED(!zend_parse_arg_resource(_arg, &dest, check_null))) { \
_expected_type = check_null ? Z_EXPECTED_RESOURCE_OR_NULL : Z_EXPECTED_RESOURCE; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 2048 of file zend_API.h.

◆ Z_PARAM_RESOURCE_OR_NULL

#define Z_PARAM_RESOURCE_OR_NULL ( dest)
Value:
Z_PARAM_RESOURCE_EX(dest, 1, 0)

Definition at line 2059 of file zend_API.h.

◆ Z_PARAM_STR

#define Z_PARAM_STR ( dest)
Value:
Z_PARAM_STR_EX(dest, 0, 0)
#define Z_PARAM_STR_EX(dest, check_null, deref)
Definition zend_API.h:2078

Definition at line 2086 of file zend_API.h.

◆ Z_PARAM_STR_EX

#define Z_PARAM_STR_EX ( dest,
check_null,
deref )
Value:
Z_PARAM_PROLOGUE(deref, 0); \
if (UNEXPECTED(!zend_parse_arg_str(_arg, &dest, check_null, _i))) { \
_expected_type = check_null ? Z_EXPECTED_STRING_OR_NULL : Z_EXPECTED_STRING; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 2078 of file zend_API.h.

◆ Z_PARAM_STR_OR_LONG

#define Z_PARAM_STR_OR_LONG ( dest_str,
dest_long )
Value:
Z_PARAM_STR_OR_LONG_EX(dest_str, dest_long, _dummy, 0);
#define Z_PARAM_STR_OR_LONG_EX(dest_str, dest_long, is_null, allow_null)
Definition zend_API.h:2157

Definition at line 2165 of file zend_API.h.

◆ Z_PARAM_STR_OR_LONG_EX

#define Z_PARAM_STR_OR_LONG_EX ( dest_str,
dest_long,
is_null,
allow_null )
Value:
if (UNEXPECTED(!zend_parse_arg_str_or_long(_arg, &dest_str, &dest_long, &is_null, allow_null, _i))) { \
_expected_type = allow_null ? Z_EXPECTED_STRING_OR_LONG_OR_NULL : Z_EXPECTED_STRING_OR_LONG; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 2157 of file zend_API.h.

◆ Z_PARAM_STR_OR_LONG_OR_NULL

#define Z_PARAM_STR_OR_LONG_OR_NULL ( dest_str,
dest_long,
is_null )
Value:
Z_PARAM_STR_OR_LONG_EX(dest_str, dest_long, is_null, 1);

Definition at line 2168 of file zend_API.h.

◆ Z_PARAM_STR_OR_NULL

#define Z_PARAM_STR_OR_NULL ( dest)
Value:
Z_PARAM_STR_EX(dest, 1, 0)

Definition at line 2089 of file zend_API.h.

◆ Z_PARAM_STRING

#define Z_PARAM_STRING ( dest,
dest_len )
Value:
Z_PARAM_STRING_EX(dest, dest_len, 0, 0)
#define Z_PARAM_STRING_EX(dest, dest_len, check_null, deref)
Definition zend_API.h:2063

Definition at line 2071 of file zend_API.h.

◆ Z_PARAM_STRING_EX

#define Z_PARAM_STRING_EX ( dest,
dest_len,
check_null,
deref )
Value:
Z_PARAM_PROLOGUE(deref, 0); \
if (UNEXPECTED(!zend_parse_arg_string(_arg, &dest, &dest_len, check_null, _i))) { \
_expected_type = check_null ? Z_EXPECTED_STRING_OR_NULL : Z_EXPECTED_STRING; \
_error_code = ZPP_ERROR_WRONG_ARG; \
break; \
}

Definition at line 2063 of file zend_API.h.

◆ Z_PARAM_STRING_OR_NULL

#define Z_PARAM_STRING_OR_NULL ( dest,
dest_len )
Value:
Z_PARAM_STRING_EX(dest, dest_len, 1, 0)

Definition at line 2074 of file zend_API.h.

◆ Z_PARAM_VARIADIC

#define Z_PARAM_VARIADIC ( spec,
dest,
dest_num )
Value:
Z_PARAM_VARIADIC_EX(spec, dest, dest_num, 0)
#define Z_PARAM_VARIADIC_EX(spec, dest, dest_num, post_varargs)
Definition zend_API.h:2107

Definition at line 2124 of file zend_API.h.

◆ Z_PARAM_VARIADIC_EX

#define Z_PARAM_VARIADIC_EX ( spec,
dest,
dest_num,
post_varargs )
Value:
do { \
uint32_t _num_varargs = _num_args - _i - (post_varargs); \
if (EXPECTED(_num_varargs > 0)) { \
dest = _real_arg + 1; \
dest_num = _num_varargs; \
_i += _num_varargs; \
_real_arg += _num_varargs; \
} else { \
dest = NULL; \
dest_num = 0; \
} \
break; \
} \
} while (0);
#define ZPP_ERROR_UNEXPECTED_EXTRA_NAMED
Definition zend_API.h:1586
#define ZEND_CALL_HAS_EXTRA_NAMED_PARAMS
#define ZEND_CALL_INFO(call)
execute_data

Definition at line 2107 of file zend_API.h.

◆ Z_PARAM_VARIADIC_WITH_NAMED

#define Z_PARAM_VARIADIC_WITH_NAMED ( dest,
dest_num,
dest_named )
Value:
do { \
uint32_t _num_varargs = _num_args - _i; \
if (EXPECTED(_num_varargs > 0)) { \
dest = _real_arg + 1; \
dest_num = _num_varargs; \
} else { \
dest = NULL; \
dest_num = 0; \
} \
dest_named = execute_data->extra_named_params; \
} else { \
dest_named = NULL; \
} \
} while (0);

Definition at line 2127 of file zend_API.h.

◆ Z_PARAM_ZVAL

#define Z_PARAM_ZVAL ( dest)
Value:
Z_PARAM_ZVAL_EX(dest, 0, 0)
#define Z_PARAM_ZVAL_EX(dest, check_null, separate)
Definition zend_API.h:2097

Definition at line 2100 of file zend_API.h.

◆ Z_PARAM_ZVAL_EX

#define Z_PARAM_ZVAL_EX ( dest,
check_null,
separate )
Value:
Z_PARAM_ZVAL_EX2(dest, check_null, separate, separate)
#define Z_PARAM_ZVAL_EX2(dest, check_null, deref, separate)
Definition zend_API.h:2093

Definition at line 2097 of file zend_API.h.

◆ Z_PARAM_ZVAL_EX2

#define Z_PARAM_ZVAL_EX2 ( dest,
check_null,
deref,
separate )
Value:
Z_PARAM_PROLOGUE(deref, separate); \
zend_parse_arg_zval_deref(_arg, &dest, check_null);

Definition at line 2093 of file zend_API.h.

◆ Z_PARAM_ZVAL_OR_NULL

#define Z_PARAM_ZVAL_OR_NULL ( dest)
Value:
Z_PARAM_ZVAL_EX(dest, 1, 0)

Definition at line 2103 of file zend_API.h.

◆ ZEND_ABSTRACT_ME

#define ZEND_ABSTRACT_ME ( classname,
name,
arg_info )
Value:
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags, frameless_function_infos, doc_comment)
Definition zend_API.h:80
#define ZEND_ACC_ABSTRACT
#define ZEND_ACC_PUBLIC

Definition at line 93 of file zend_API.h.

◆ ZEND_ABSTRACT_ME_WITH_FLAGS

#define ZEND_ABSTRACT_ME_WITH_FLAGS ( classname,
name,
arg_info,
flags )
Value:

Definition at line 94 of file zend_API.h.

◆ ZEND_ARG_ARRAY_INFO

#define ZEND_ARG_ARRAY_INFO ( pass_by_ref,
name,
allow_null )
Value:
{ #name, ZEND_TYPE_INIT_CODE(IS_ARRAY, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), NULL },
#define _ZEND_ARG_INFO_FLAGS(pass_by_ref, is_variadic, is_tentative)
Definition zend_API.h:126
#define ZEND_TYPE_INIT_CODE(code, allow_null, extra_flags)
Definition zend_types.h:286

Definition at line 162 of file zend_API.h.

◆ ZEND_ARG_CALLABLE_INFO

#define ZEND_ARG_CALLABLE_INFO ( pass_by_ref,
name,
allow_null )
Value:
{ #name, ZEND_TYPE_INIT_CODE(IS_CALLABLE, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), NULL },
#define IS_CALLABLE
Definition zend_types.h:615

Definition at line 164 of file zend_API.h.

◆ ZEND_ARG_INFO

#define ZEND_ARG_INFO ( pass_by_ref,
name )
Value:
{ #name, ZEND_TYPE_INIT_NONE(_ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), NULL },
#define ZEND_TYPE_INIT_NONE(extra_flags)
Definition zend_types.h:280

Definition at line 130 of file zend_API.h.

◆ ZEND_ARG_INFO_WITH_DEFAULT_VALUE

#define ZEND_ARG_INFO_WITH_DEFAULT_VALUE ( pass_by_ref,
name,
default_value )
Value:
{ #name, ZEND_TYPE_INIT_NONE(_ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), default_value },

Definition at line 132 of file zend_API.h.

◆ ZEND_ARG_OBJ_INFO

#define ZEND_ARG_OBJ_INFO ( pass_by_ref,
name,
class_name,
allow_null )
Value:
{ #name, ZEND_TYPE_INIT_CLASS_CONST(#class_name, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), NULL },
#define ZEND_TYPE_INIT_CLASS_CONST(class_name, allow_null, extra_flags)
Definition zend_types.h:309

Definition at line 154 of file zend_API.h.

◆ ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE

#define ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE ( pass_by_ref,
name,
class_name,
allow_null,
default_value )
Value:
{ #name, ZEND_TYPE_INIT_CLASS_CONST(#class_name, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), default_value },

Definition at line 156 of file zend_API.h.

◆ ZEND_ARG_OBJ_TYPE_MASK

#define ZEND_ARG_OBJ_TYPE_MASK ( pass_by_ref,
name,
class_name,
type_mask,
default_value )
Value:
{ #name, ZEND_TYPE_INIT_CLASS_CONST_MASK(#class_name, type_mask | _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), default_value },
#define ZEND_TYPE_INIT_CLASS_CONST_MASK(class_name, type_mask)
Definition zend_types.h:312

Definition at line 148 of file zend_API.h.

◆ ZEND_ARG_TYPE_INFO

#define ZEND_ARG_TYPE_INFO ( pass_by_ref,
name,
type_hint,
allow_null )
Value:
{ #name, ZEND_TYPE_INIT_CODE(type_hint, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), NULL },

Definition at line 138 of file zend_API.h.

◆ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE

#define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE ( pass_by_ref,
name,
type_hint,
allow_null,
default_value )
Value:
{ #name, ZEND_TYPE_INIT_CODE(type_hint, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), default_value },

Definition at line 140 of file zend_API.h.

◆ ZEND_ARG_TYPE_MASK

#define ZEND_ARG_TYPE_MASK ( pass_by_ref,
name,
type_mask,
default_value )
Value:
{ #name, ZEND_TYPE_INIT_MASK(type_mask | _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), default_value },
#define ZEND_TYPE_INIT_MASK(_type_mask)
Definition zend_types.h:283

Definition at line 146 of file zend_API.h.

◆ ZEND_ARG_VARIADIC_INFO

#define ZEND_ARG_VARIADIC_INFO ( pass_by_ref,
name )
Value:
{ #name, ZEND_TYPE_INIT_NONE(_ZEND_ARG_INFO_FLAGS(pass_by_ref, 1, 0)), NULL },

Definition at line 134 of file zend_API.h.

◆ ZEND_ARG_VARIADIC_OBJ_INFO

#define ZEND_ARG_VARIADIC_OBJ_INFO ( pass_by_ref,
name,
class_name,
allow_null )
Value:
{ #name, ZEND_TYPE_INIT_CLASS_CONST(#class_name, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 1, 0)), NULL },

Definition at line 158 of file zend_API.h.

◆ ZEND_ARG_VARIADIC_OBJ_TYPE_MASK

#define ZEND_ARG_VARIADIC_OBJ_TYPE_MASK ( pass_by_ref,
name,
class_name,
type_mask )
Value:
{ #name, ZEND_TYPE_INIT_CLASS_CONST_MASK(#class_name, type_mask | _ZEND_ARG_INFO_FLAGS(pass_by_ref, 1, 0)), NULL },

Definition at line 150 of file zend_API.h.

◆ ZEND_ARG_VARIADIC_TYPE_INFO

#define ZEND_ARG_VARIADIC_TYPE_INFO ( pass_by_ref,
name,
type_hint,
allow_null )
Value:
{ #name, ZEND_TYPE_INIT_CODE(type_hint, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 1, 0)), NULL },

Definition at line 142 of file zend_API.h.

◆ ZEND_BEGIN_ARG_INFO

#define ZEND_BEGIN_ARG_INFO ( name,
_unused )
Value:
#define ZEND_BEGIN_ARG_INFO_EX(name, _unused, return_reference, required_num_args)
Definition zend_API.h:214
#define ZEND_RETURN_VALUE

Definition at line 217 of file zend_API.h.

◆ ZEND_BEGIN_ARG_INFO_EX

#define ZEND_BEGIN_ARG_INFO_EX ( name,
_unused,
return_reference,
required_num_args )
Value:
static const zend_internal_arg_info name[] = { \
{ (const char*)(uintptr_t)(required_num_args), ZEND_TYPE_INIT_NONE(_ZEND_ARG_INFO_FLAGS(return_reference, 0, 0)), NULL },
struct _zend_internal_arg_info zend_internal_arg_info

Definition at line 214 of file zend_API.h.

◆ ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO

#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO ( name,
class_name,
allow_null )
Value:
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX2(name, 0, -1, class_name, allow_null, 0)
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX2(name, return_reference, required_num_args, class_name, allow_null, is_tentative_return_type)
Definition zend_API.h:167

Definition at line 178 of file zend_API.h.

◆ ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX

#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX ( name,
return_reference,
required_num_args,
class_name,
allow_null )
Value:
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX2(name, return_reference, required_num_args, class_name, allow_null, 0)

Definition at line 172 of file zend_API.h.

◆ ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX2

#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX2 ( name,
return_reference,
required_num_args,
class_name,
allow_null,
is_tentative_return_type )
Value:
static const zend_internal_arg_info name[] = { \
{ (const char*)(uintptr_t)(required_num_args), \
ZEND_TYPE_INIT_CLASS_CONST(#class_name, allow_null, _ZEND_ARG_INFO_FLAGS(return_reference, 0, is_tentative_return_type)), NULL },

Definition at line 167 of file zend_API.h.

◆ ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX

#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX ( name,
return_reference,
required_num_args,
class_name,
type )
Value:
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX2(name, return_reference, required_num_args, class_name, type, 0)
zend_ffi_type * type
Definition ffi.c:3812
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX2(name, return_reference, required_num_args, class_name, type, is_tentative_return_type)
Definition zend_API.h:191

Definition at line 195 of file zend_API.h.

◆ ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX2

#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX2 ( name,
return_reference,
required_num_args,
class_name,
type,
is_tentative_return_type )
Value:
static const zend_internal_arg_info name[] = { \
{ (const char*)(uintptr_t)(required_num_args), ZEND_TYPE_INIT_CLASS_CONST_MASK(#class_name, type | _ZEND_ARG_INFO_FLAGS(return_reference, 0, is_tentative_return_type)), NULL },

Definition at line 191 of file zend_API.h.

◆ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO

#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO ( name,
type,
allow_null )
Value:
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX2(name, return_reference, required_num_args, type, allow_null, is_tentative_return_type)
Definition zend_API.h:201

Definition at line 211 of file zend_API.h.

◆ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX

#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX ( name,
return_reference,
required_num_args,
type,
allow_null )
Value:
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX2(name, return_reference, required_num_args, type, allow_null, 0)

Definition at line 205 of file zend_API.h.

◆ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX2

#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX2 ( name,
return_reference,
required_num_args,
type,
allow_null,
is_tentative_return_type )
Value:
static const zend_internal_arg_info name[] = { \
{ (const char*)(uintptr_t)(required_num_args), ZEND_TYPE_INIT_CODE(type, allow_null, _ZEND_ARG_INFO_FLAGS(return_reference, 0, is_tentative_return_type)), NULL },

Definition at line 201 of file zend_API.h.

◆ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX

#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX ( name,
return_reference,
required_num_args,
type )
Value:
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX2(name, return_reference, required_num_args, type, 0)
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX2(name, return_reference, required_num_args, type, is_tentative_return_type)
Definition zend_API.h:181

Definition at line 185 of file zend_API.h.

◆ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX2

#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX2 ( name,
return_reference,
required_num_args,
type,
is_tentative_return_type )
Value:
static const zend_internal_arg_info name[] = { \
{ (const char*)(uintptr_t)(required_num_args), ZEND_TYPE_INIT_MASK(type | _ZEND_ARG_INFO_FLAGS(return_reference, 0, is_tentative_return_type)), NULL },

Definition at line 181 of file zend_API.h.

◆ ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX

#define ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX ( name,
return_reference,
required_num_args,
class_name,
allow_null )
Value:
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX2(name, return_reference, required_num_args, class_name, allow_null, 1)

Definition at line 175 of file zend_API.h.

◆ ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_TYPE_MASK_EX

#define ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_TYPE_MASK_EX ( name,
return_reference,
required_num_args,
class_name,
type )
Value:
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX2(name, return_reference, required_num_args, class_name, type, 1)

Definition at line 198 of file zend_API.h.

◆ ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX

#define ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX ( name,
return_reference,
required_num_args,
type,
allow_null )
Value:
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX2(name, return_reference, required_num_args, type, allow_null, 1)

Definition at line 208 of file zend_API.h.

◆ ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX

#define ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX ( name,
return_reference,
required_num_args,
type )
Value:
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX2(name, return_reference, required_num_args, type, 1)

Definition at line 188 of file zend_API.h.

◆ ZEND_BEGIN_MODULE_GLOBALS

#define ZEND_BEGIN_MODULE_GLOBALS ( module_name)
Value:
typedef struct _zend_##module_name##_globals {

Definition at line 246 of file zend_API.h.

◆ ZEND_DECLARE_MODULE_GLOBALS

#define ZEND_DECLARE_MODULE_GLOBALS ( module_name)
Value:
zend_##module_name##_globals module_name##_globals;

Definition at line 268 of file zend_API.h.

◆ ZEND_DEP_FALIAS

#define ZEND_DEP_FALIAS ( name,
alias,
arg_info )
Value:
ZEND_RAW_FENTRY(#name, zif_##alias, arg_info, ZEND_ACC_DEPRECATED, NULL, NULL)
#define ZEND_ACC_DEPRECATED

Definition at line 89 of file zend_API.h.

◆ ZEND_DEP_FE

#define ZEND_DEP_FE ( name,
arg_info )
Value:

Definition at line 87 of file zend_API.h.

◆ ZEND_DEP_ME

#define ZEND_DEP_ME ( classname,
name,
arg_info,
flags )
Value:
ZEND_RAW_FENTRY(#name, zim_##classname##_##name, arg_info, flags | ZEND_ACC_DEPRECATED, NULL, NULL)
_(string $message)

Definition at line 92 of file zend_API.h.

◆ ZEND_END_ARG_INFO

#define ZEND_END_ARG_INFO ( )
Value:
};

Definition at line 219 of file zend_API.h.

◆ ZEND_END_MODULE_GLOBALS

#define ZEND_END_MODULE_GLOBALS ( module_name)
Value:
} zend_##module_name##_globals;

Definition at line 248 of file zend_API.h.

◆ ZEND_EXTERN_MODULE_GLOBALS

#define ZEND_EXTERN_MODULE_GLOBALS ( module_name)
Value:
extern zend_##module_name##_globals module_name##_globals;

Definition at line 270 of file zend_API.h.

◆ ZEND_FALIAS

#define ZEND_FALIAS ( name,
alias,
arg_info )
Value:
ZEND_RAW_FENTRY(#name, zif_##alias, arg_info, 0, NULL, NULL)

Definition at line 88 of file zend_API.h.

◆ ZEND_FCC_INITIALIZED

#define ZEND_FCC_INITIALIZED ( fcc)
Value:
((fcc).function_handler != NULL)

Definition at line 341 of file zend_API.h.

◆ ZEND_FCI_INITIALIZED

#define ZEND_FCI_INITIALIZED ( fci)
Value:
((fci).size != 0)

Definition at line 340 of file zend_API.h.

◆ ZEND_FE

#define ZEND_FE ( name,
arg_info )
Value:
ZEND_RAW_FENTRY(#name, zif_##name, arg_info, 0, NULL, NULL)

Definition at line 86 of file zend_API.h.

◆ ZEND_FE_END

#define ZEND_FE_END   { NULL, NULL, NULL, 0, 0, NULL, NULL }

Definition at line 124 of file zend_API.h.

◆ ZEND_FENTRY

#define ZEND_FENTRY ( zend_name,
name,
arg_info,
flags )
Value:
{ #zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags, NULL, NULL },

Definition at line 78 of file zend_API.h.

◆ ZEND_FN

#define ZEND_FN ( name)
Value:
zif_##name

Definition at line 71 of file zend_API.h.

◆ ZEND_FRAMELESS_FE

#define ZEND_FRAMELESS_FE ( name,
arg_info,
flags,
frameless_function_infos,
doc_comment )
Value:
{ #name, zif_##name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags, frameless_function_infos, doc_comment },

Definition at line 97 of file zend_API.h.

◆ ZEND_FUNCTION

#define ZEND_FUNCTION ( name)
Value:
#define ZEND_NAMED_FUNCTION(name)
Definition zend_API.h:74

Definition at line 75 of file zend_API.h.

◆ ZEND_GET_MODULE

#define ZEND_GET_MODULE ( name)
Value:
ZEND_DLEXPORT zend_module_entry *get_module(void) { return &name##_module_entry; }\
END_EXTERN_C()
zend_module_entry EXTNAME _module_entry
Definition skeleton.c:67
#define ZEND_DLEXPORT
struct _zend_module_entry zend_module_entry
#define BEGIN_EXTERN_C()

Definition at line 241 of file zend_API.h.

◆ zend_get_parameters_array

#define zend_get_parameters_array ( ht,
param_count,
argument_array )
Value:
zend_get_parameters_array_ex(param_count, argument_array)
ZEND_API zend_result zend_get_parameters_array_ex(uint32_t param_count, zval *argument_array)
Definition zend_API.c:50

Definition at line 351 of file zend_API.h.

◆ ZEND_GINIT

#define ZEND_GINIT ( module)
Value:
((void (*)(void*))(ZEND_MODULE_GLOBALS_CTOR_N(module)))
#define ZEND_MODULE_GLOBALS_CTOR_N(module)
Definition zend_API.h:228

Definition at line 1071 of file zend_API.h.

◆ ZEND_GINIT_FUNCTION

#define ZEND_GINIT_FUNCTION   ZEND_MODULE_GLOBALS_CTOR_D

Definition at line 1079 of file zend_API.h.

◆ ZEND_GSHUTDOWN

#define ZEND_GSHUTDOWN ( module)
Value:
((void (*)(void*))(ZEND_MODULE_GLOBALS_DTOR_N(module)))
#define ZEND_MODULE_GLOBALS_DTOR_N(module)
Definition zend_API.h:229

Definition at line 1072 of file zend_API.h.

◆ ZEND_GSHUTDOWN_FUNCTION

#define ZEND_GSHUTDOWN_FUNCTION   ZEND_MODULE_GLOBALS_DTOR_D

Definition at line 1080 of file zend_API.h.

◆ ZEND_INIT_MODULE_GLOBALS

#define ZEND_INIT_MODULE_GLOBALS ( module_name,
globals_ctor,
globals_dtor )
Value:
globals_ctor(&module_name##_globals);

Definition at line 272 of file zend_API.h.

◆ ZEND_IS_METHOD_CALL

#define ZEND_IS_METHOD_CALL ( )
Value:
(EX(func)->common.scope != NULL)
execute_data func
#define EX(element)

Definition at line 527 of file zend_API.h.

◆ ZEND_MALIAS

#define ZEND_MALIAS ( classname,
name,
alias,
arg_info,
flags )
Value:
ZEND_RAW_FENTRY(#name, zim_##classname##_##alias, arg_info, flags, NULL, NULL)

Definition at line 95 of file zend_API.h.

◆ ZEND_ME

#define ZEND_ME ( classname,
name,
arg_info,
flags )
Value:
ZEND_RAW_FENTRY(#name, zim_##classname##_##name, arg_info, flags, NULL, NULL)

Definition at line 91 of file zend_API.h.

◆ ZEND_ME_MAPPING

#define ZEND_ME_MAPPING ( name,
func_name,
arg_info,
flags )
Value:
const char * func_name

Definition at line 96 of file zend_API.h.

◆ ZEND_METHOD

#define ZEND_METHOD ( classname,
name )
Value:
ZEND_NAMED_FUNCTION(zim_##classname##_##name)

Definition at line 76 of file zend_API.h.

◆ ZEND_MINFO

#define ZEND_MINFO   ZEND_MODULE_INFO_N

Definition at line 1070 of file zend_API.h.

◆ ZEND_MINFO_FUNCTION

#define ZEND_MINFO_FUNCTION   ZEND_MODULE_INFO_D

Definition at line 1078 of file zend_API.h.

◆ ZEND_MINIT

#define ZEND_MINIT   ZEND_MODULE_STARTUP_N

Definition at line 1066 of file zend_API.h.

◆ ZEND_MINIT_FUNCTION

#define ZEND_MINIT_FUNCTION   ZEND_MODULE_STARTUP_D

Definition at line 1074 of file zend_API.h.

◆ ZEND_MN

#define ZEND_MN ( name)
Value:
zim_##name

Definition at line 72 of file zend_API.h.

◆ ZEND_MODULE_ACTIVATE_D

#define ZEND_MODULE_ACTIVATE_D ( module)
Value:
#define ZEND_MODULE_ACTIVATE_N(module)
Definition zend_API.h:224
#define INIT_FUNC_ARGS
ZEND_RESULT_CODE zend_result
Definition zend_types.h:64

Definition at line 234 of file zend_API.h.

◆ ZEND_MODULE_ACTIVATE_N

#define ZEND_MODULE_ACTIVATE_N ( module)
Value:
zm_activate_##module

Definition at line 224 of file zend_API.h.

◆ ZEND_MODULE_DEACTIVATE_D

#define ZEND_MODULE_DEACTIVATE_D ( module)
Value:
#define ZEND_MODULE_DEACTIVATE_N(module)
Definition zend_API.h:225
#define SHUTDOWN_FUNC_ARGS

Definition at line 235 of file zend_API.h.

◆ ZEND_MODULE_DEACTIVATE_N

#define ZEND_MODULE_DEACTIVATE_N ( module)
Value:
zm_deactivate_##module

Definition at line 225 of file zend_API.h.

◆ ZEND_MODULE_GLOBALS_ACCESSOR

#define ZEND_MODULE_GLOBALS_ACCESSOR ( module_name,
v )
Value:
(module_name##_globals.v)

Definition at line 274 of file zend_API.h.

◆ ZEND_MODULE_GLOBALS_BULK

#define ZEND_MODULE_GLOBALS_BULK ( module_name)
Value:
(&module_name##_globals)

Definition at line 275 of file zend_API.h.

◆ ZEND_MODULE_GLOBALS_CTOR_D

#define ZEND_MODULE_GLOBALS_CTOR_D ( module)
Value:
void ZEND_MODULE_GLOBALS_CTOR_N(module)(zend_##module##_globals *module##_globals)

Definition at line 238 of file zend_API.h.

◆ ZEND_MODULE_GLOBALS_CTOR_N

#define ZEND_MODULE_GLOBALS_CTOR_N ( module)
Value:
zm_globals_ctor_##module

Definition at line 228 of file zend_API.h.

◆ ZEND_MODULE_GLOBALS_DTOR_D

#define ZEND_MODULE_GLOBALS_DTOR_D ( module)
Value:
void ZEND_MODULE_GLOBALS_DTOR_N(module)(zend_##module##_globals *module##_globals)

Definition at line 239 of file zend_API.h.

◆ ZEND_MODULE_GLOBALS_DTOR_N

#define ZEND_MODULE_GLOBALS_DTOR_N ( module)
Value:
zm_globals_dtor_##module

Definition at line 229 of file zend_API.h.

◆ ZEND_MODULE_INFO_D

#define ZEND_MODULE_INFO_D ( module)
Value:
#define ZEND_MODULE_INFO_N(module)
Definition zend_API.h:227
#define ZEND_MODULE_INFO_FUNC_ARGS
#define ZEND_COLD

Definition at line 237 of file zend_API.h.

◆ ZEND_MODULE_INFO_N

#define ZEND_MODULE_INFO_N ( module)
Value:
zm_info_##module

Definition at line 227 of file zend_API.h.

◆ ZEND_MODULE_POST_ZEND_DEACTIVATE_D

#define ZEND_MODULE_POST_ZEND_DEACTIVATE_D ( module)
Value:
#define ZEND_MODULE_POST_ZEND_DEACTIVATE_N(module)
Definition zend_API.h:226

Definition at line 236 of file zend_API.h.

◆ ZEND_MODULE_POST_ZEND_DEACTIVATE_N

#define ZEND_MODULE_POST_ZEND_DEACTIVATE_N ( module)
Value:
zm_post_zend_deactivate_##module

Definition at line 226 of file zend_API.h.

◆ ZEND_MODULE_SHUTDOWN_D

#define ZEND_MODULE_SHUTDOWN_D ( module)
Value:
#define ZEND_MODULE_SHUTDOWN_N(module)
Definition zend_API.h:223

Definition at line 233 of file zend_API.h.

◆ ZEND_MODULE_SHUTDOWN_N

#define ZEND_MODULE_SHUTDOWN_N ( module)
Value:
zm_shutdown_##module

Definition at line 223 of file zend_API.h.

◆ ZEND_MODULE_STARTUP_D

#define ZEND_MODULE_STARTUP_D ( module)
Value:
#define ZEND_MODULE_STARTUP_N(module)
Definition zend_API.h:222

Definition at line 232 of file zend_API.h.

◆ ZEND_MODULE_STARTUP_N

#define ZEND_MODULE_STARTUP_N ( module)
Value:
zm_startup_##module

Definition at line 222 of file zend_API.h.

◆ ZEND_MSHUTDOWN

#define ZEND_MSHUTDOWN   ZEND_MODULE_SHUTDOWN_N

Definition at line 1067 of file zend_API.h.

◆ ZEND_MSHUTDOWN_FUNCTION

#define ZEND_MSHUTDOWN_FUNCTION   ZEND_MODULE_SHUTDOWN_D

Definition at line 1075 of file zend_API.h.

◆ ZEND_NAMED_FE

#define ZEND_NAMED_FE ( zend_name,
name,
arg_info )
Value:
ZEND_RAW_FENTRY(#zend_name, name, arg_info, 0, NULL, NULL)

Definition at line 85 of file zend_API.h.

◆ ZEND_NAMED_FUNCTION

#define ZEND_NAMED_FUNCTION ( name)
Value:
#define INTERNAL_FUNCTION_PARAMETERS
Definition zend.h:49
#define ZEND_FASTCALL

Definition at line 74 of file zend_API.h.

◆ ZEND_NAMED_ME

#define ZEND_NAMED_ME ( zend_name,
name,
arg_info,
flags )
Value:
ZEND_FENTRY(zend_name, name, arg_info, flags)
#define ZEND_FENTRY(zend_name, name, arg_info, flags)
Definition zend_API.h:78

Definition at line 90 of file zend_API.h.

◆ ZEND_NS_DEP_FALIAS

#define ZEND_NS_DEP_FALIAS ( ns,
name,
alias,
arg_info )
Value:
ZEND_NS_RAW_FENTRY(ns, #name, zif_##alias, arg_info, ZEND_ACC_DEPRECATED)
#define ZEND_NS_RAW_FENTRY(ns, zend_name, name, arg_info, flags)
Definition zend_API.h:102

Definition at line 122 of file zend_API.h.

◆ ZEND_NS_DEP_FE

#define ZEND_NS_DEP_FE ( ns,
name,
arg_info )
Value:

Definition at line 120 of file zend_API.h.

◆ ZEND_NS_FALIAS

#define ZEND_NS_FALIAS ( ns,
name,
alias,
arg_info )
Value:
ZEND_NS_RAW_FENTRY(ns, #name, zif_##alias, arg_info, 0)

Definition at line 121 of file zend_API.h.

◆ ZEND_NS_FE

#define ZEND_NS_FE ( ns,
name,
arg_info )
Value:
ZEND_NS_RAW_FENTRY(ns, #name, zif_##name, arg_info, 0)

Definition at line 119 of file zend_API.h.

◆ ZEND_NS_FENTRY

#define ZEND_NS_FENTRY ( ns,
zend_name,
name,
arg_info,
flags )
Value:
ZEND_RAW_FENTRY(ZEND_NS_NAME(ns, #zend_name), name, arg_info, flags, NULL, NULL)

Definition at line 100 of file zend_API.h.

◆ ZEND_NS_NAME

#define ZEND_NS_NAME ( ns,
name )
Value:
ns "\\" name

Definition at line 67 of file zend_API.h.

◆ ZEND_NS_NAMED_FE

#define ZEND_NS_NAMED_FE ( ns,
zend_name,
name,
arg_info )
Value:
ZEND_NS_RAW_FENTRY(ns, #zend_name, name, arg_info, 0)

Definition at line 118 of file zend_API.h.

◆ ZEND_NS_RAW_FENTRY

#define ZEND_NS_RAW_FENTRY ( ns,
zend_name,
name,
arg_info,
flags )
Value:
ZEND_RAW_FENTRY(ZEND_NS_NAME(ns, zend_name), name, arg_info, flags, NULL, NULL)

Definition at line 102 of file zend_API.h.

◆ ZEND_NS_RAW_NAMED_FE

#define ZEND_NS_RAW_NAMED_FE ( ns,
zend_name,
name,
arg_info )
Value:
ZEND_NS_RAW_FENTRY(ns, #zend_name, name, arg_info, 0)

Definition at line 116 of file zend_API.h.

◆ ZEND_NUM_ARGS

#define ZEND_NUM_ARGS ( )
Value:
#define EX_NUM_ARGS()

Definition at line 530 of file zend_API.h.

◆ ZEND_PARSE_PARAMETERS_END

ZEND_PARSE_PARAMETERS_END ( )
Value:
#define ZEND_PARSE_PARAMETERS_END_EX(failure)
Definition zend_API.h:1630

Definition at line 1641 of file zend_API.h.

◆ ZEND_PARSE_PARAMETERS_END_EX

#define ZEND_PARSE_PARAMETERS_END_EX ( failure)
Value:
ZEND_ASSERT(_i == _max_num_args || _max_num_args == (uint32_t) -1); \
} while (0); \
if (UNEXPECTED(_error_code != ZPP_ERROR_OK)) { \
if (!(_flags & ZEND_PARSE_PARAMS_QUIET)) { \
zend_wrong_parameter_error(_error_code, _i, _error, _expected_type, _arg); \
} \
failure; \
} \
} while (0)
#define ZEND_PARSE_PARAMS_QUIET
Definition zend_API.h:361
#define ZPP_ERROR_OK
Definition zend_API.h:1575

Definition at line 1630 of file zend_API.h.

◆ ZEND_PARSE_PARAMETERS_NONE

#define ZEND_PARSE_PARAMETERS_NONE ( )
Value:
do { \
if (UNEXPECTED(ZEND_NUM_ARGS() != 0)) { \
zend_wrong_parameters_none_error(); \
return; \
} \
} while (0)
#define ZEND_NUM_ARGS()
Definition zend_API.h:530

Definition at line 1623 of file zend_API.h.

◆ zend_parse_parameters_none

#define zend_parse_parameters_none ( )
Value:
#define SUCCESS
Definition hash_sha3.c:261
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameters_none_error(void)
Definition zend_API.c:214
@ FAILURE
Definition zend_types.h:61

Definition at line 353 of file zend_API.h.

◆ zend_parse_parameters_none_throw

#define zend_parse_parameters_none_throw ( )
Value:
#define zend_parse_parameters_none()
Definition zend_API.h:353

Definition at line 355 of file zend_API.h.

◆ ZEND_PARSE_PARAMETERS_START

#define ZEND_PARSE_PARAMETERS_START ( min_num_args,
max_num_args )
Value:
ZEND_PARSE_PARAMETERS_START_EX(0, min_num_args, max_num_args)
#define ZEND_PARSE_PARAMETERS_START_EX(flags, min_num_args, max_num_args)
Definition zend_API.h:1589

Definition at line 1620 of file zend_API.h.

◆ ZEND_PARSE_PARAMETERS_START_EX

#define ZEND_PARSE_PARAMETERS_START_EX ( flags,
min_num_args,
max_num_args )
Value:
do { \
const int _flags = (flags); \
uint32_t _min_num_args = (min_num_args); \
uint32_t _max_num_args = (uint32_t) (max_num_args); \
uint32_t _num_args = EX_NUM_ARGS(); \
uint32_t _i = 0; \
zval *_real_arg, *_arg = NULL; \
zend_expected_type _expected_type = Z_EXPECTED_LONG; \
char *_error = NULL; \
bool _dummy = 0; \
bool _optional = 0; \
int _error_code = ZPP_ERROR_OK; \
((void)_i); \
((void)_real_arg); \
((void)_arg); \
((void)_expected_type); \
((void)_error); \
((void)_optional); \
((void)_dummy); \
\
do { \
if (UNEXPECTED(_num_args < _min_num_args) || \
UNEXPECTED(_num_args > _max_num_args)) { \
if (!(_flags & ZEND_PARSE_PARAMS_QUIET)) { \
zend_wrong_parameters_count_error(_min_num_args, _max_num_args); \
} \
_error_code = ZPP_ERROR_FAILURE; \
break; \
} \
_real_arg = ZEND_CALL_ARG(execute_data, 0);
enum _zend_expected_type zend_expected_type
#define ZEND_CALL_ARG(call, n)

Definition at line 1589 of file zend_API.h.

◆ zend_parse_parameters_throw

#define zend_parse_parameters_throw ( num_args,
... )
Value:
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec,...)
Definition zend_API.c:1300
uint32_t num_args

Definition at line 365 of file zend_API.h.

◆ ZEND_PARSE_PARAMS_QUIET

#define ZEND_PARSE_PARAMS_QUIET   (1<<1)

Definition at line 361 of file zend_API.h.

◆ ZEND_PARSE_PARAMS_THROW

#define ZEND_PARSE_PARAMS_THROW   0 /* No longer used, zpp always uses exceptions */

Definition at line 360 of file zend_API.h.

◆ ZEND_RAW_FENTRY

#define ZEND_RAW_FENTRY ( zend_name,
name,
arg_info,
flags,
frameless_function_infos,
doc_comment )
Value:
{ zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags, frameless_function_infos, doc_comment },

Definition at line 80 of file zend_API.h.

◆ ZEND_RAW_NAMED_FE

#define ZEND_RAW_NAMED_FE ( zend_name,
name,
arg_info )
Value:
ZEND_RAW_FENTRY(#zend_name, name, arg_info, 0, NULL, NULL)

Definition at line 83 of file zend_API.h.

◆ zend_register_ns_class_alias

#define zend_register_ns_class_alias ( ns,
name,
ce )
Value:
ZEND_API zend_result zend_register_class_alias_ex(const char *name, size_t name_len, zend_class_entry *ce, bool persistent)
Definition zend_API.c:3563

Definition at line 402 of file zend_API.h.

◆ ZEND_RINIT

#define ZEND_RINIT   ZEND_MODULE_ACTIVATE_N

Definition at line 1068 of file zend_API.h.

◆ ZEND_RINIT_FUNCTION

#define ZEND_RINIT_FUNCTION   ZEND_MODULE_ACTIVATE_D

Definition at line 1076 of file zend_API.h.

◆ ZEND_RSHUTDOWN

#define ZEND_RSHUTDOWN   ZEND_MODULE_DEACTIVATE_N

Definition at line 1069 of file zend_API.h.

◆ ZEND_RSHUTDOWN_FUNCTION

#define ZEND_RSHUTDOWN_FUNCTION   ZEND_MODULE_DEACTIVATE_D

Definition at line 1077 of file zend_API.h.

◆ ZEND_SUPPORTS_COMPILE_TIME_EVAL_FE

#define ZEND_SUPPORTS_COMPILE_TIME_EVAL_FE ( name,
arg_info )
Value:
#define ZEND_ACC_COMPILE_TIME_EVAL

Note that if you are asserting that a function is compile-time evaluable, you are asserting that

  1. The function will always have the same result for the same arguments
  2. The function does not depend on global state such as ini settings or locale (e.g. mb_strtolower), number_format(), etc.
  3. The function does not have side effects. It is okay if they throw or warn on invalid arguments, as we detect this and will discard the evaluation result.
  4. The function will not take an unreasonable amount of time or memory to compute on code that may be seen in practice. (e.g. str_repeat is special cased to check the length instead of using this)

Definition at line 113 of file zend_API.h.

◆ ZEND_THIS

#define ZEND_THIS   (&EX(This))

Definition at line 523 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_ARR

#define ZEND_TRY_ASSIGN_ARR ( zv,
arr )
Value:
#define _ZEND_TRY_ASSIGN_ARR(zv, arr, is_ref)
Definition zend_API.h:1342

Definition at line 1356 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_BOOL

#define ZEND_TRY_ASSIGN_BOOL ( zv,
bval )
Value:
#define _ZEND_TRY_ASSIGN_BOOL(zv, bval, is_ref)
Definition zend_API.h:1166

Definition at line 1180 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_COPY

#define ZEND_TRY_ASSIGN_COPY ( zv,
other_zv )
Value:
do { \
Z_TRY_ADDREF_P(other_zv); \
ZEND_TRY_ASSIGN_VALUE(zv, other_zv); \
} while (0)

Definition at line 1430 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_COPY_EX

#define ZEND_TRY_ASSIGN_COPY_EX ( zv,
other_zv,
strict )
Value:
do { \
Z_TRY_ADDREF_P(other_zv); \
ZEND_TRY_ASSIGN_VALUE_EX(zv, other_zv, strict); \
} while (0)

Definition at line 1462 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_DOUBLE

#define ZEND_TRY_ASSIGN_DOUBLE ( zv,
dval )
Value:
#define _ZEND_TRY_ASSIGN_DOUBLE(zv, dval, is_ref)
Definition zend_API.h:1210

Definition at line 1224 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_EMPTY_STRING

#define ZEND_TRY_ASSIGN_EMPTY_STRING ( zv)
Value:
#define _ZEND_TRY_ASSIGN_EMPTY_STRING(zv, is_ref)
Definition zend_API.h:1232

Definition at line 1246 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_FALSE

#define ZEND_TRY_ASSIGN_FALSE ( zv)
Value:
#define _ZEND_TRY_ASSIGN_FALSE(zv, is_ref)
Definition zend_API.h:1122

Definition at line 1136 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_LONG

#define ZEND_TRY_ASSIGN_LONG ( zv,
lval )
Value:
#define _ZEND_TRY_ASSIGN_LONG(zv, lval, is_ref)
Definition zend_API.h:1188

Definition at line 1202 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_NEW_STR

#define ZEND_TRY_ASSIGN_NEW_STR ( zv,
str )
Value:
#define _ZEND_TRY_ASSIGN_NEW_STR(zv, str, is_str)
Definition zend_API.h:1276

Definition at line 1290 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_NULL

#define ZEND_TRY_ASSIGN_NULL ( zv)
Value:
#define _ZEND_TRY_ASSIGN_NULL(zv, is_ref)
Definition zend_API.h:1100

Definition at line 1114 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_REF_ARR

#define ZEND_TRY_ASSIGN_REF_ARR ( zv,
arr )
Value:
do { \
ZEND_ASSERT(Z_ISREF_P(zv)); \
_ZEND_TRY_ASSIGN_ARR(zv, arr, 1); \
} while (0)

Definition at line 1359 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_REF_BOOL

#define ZEND_TRY_ASSIGN_REF_BOOL ( zv,
bval )
Value:
do { \
ZEND_ASSERT(Z_ISREF_P(zv)); \
_ZEND_TRY_ASSIGN_BOOL(zv, bval, 1); \
} while (0)

Definition at line 1183 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_REF_COPY

#define ZEND_TRY_ASSIGN_REF_COPY ( zv,
other_zv )
Value:
do { \
Z_TRY_ADDREF_P(other_zv); \
ZEND_TRY_ASSIGN_REF_VALUE(zv, other_zv); \
} while (0)

Definition at line 1435 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_REF_COPY_EX

#define ZEND_TRY_ASSIGN_REF_COPY_EX ( zv,
other_zv,
strict )
Value:
do { \
Z_TRY_ADDREF_P(other_zv); \
ZEND_TRY_ASSIGN_REF_VALUE_EX(zv, other_zv, strict); \
} while (0)

Definition at line 1467 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_REF_DOUBLE

#define ZEND_TRY_ASSIGN_REF_DOUBLE ( zv,
dval )
Value:
do { \
ZEND_ASSERT(Z_ISREF_P(zv)); \
_ZEND_TRY_ASSIGN_DOUBLE(zv, dval, 1); \
} while (0)

Definition at line 1227 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_REF_EMPTY_STRING

#define ZEND_TRY_ASSIGN_REF_EMPTY_STRING ( zv)
Value:
do { \
ZEND_ASSERT(Z_ISREF_P(zv)); \
_ZEND_TRY_ASSIGN_EMPTY_STRING(zv, 1); \
} while (0)

Definition at line 1249 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_REF_FALSE

#define ZEND_TRY_ASSIGN_REF_FALSE ( zv)
Value:
do { \
ZEND_ASSERT(Z_ISREF_P(zv)); \
_ZEND_TRY_ASSIGN_FALSE(zv, 1); \
} while (0)

Definition at line 1139 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_REF_LONG

#define ZEND_TRY_ASSIGN_REF_LONG ( zv,
lval )
Value:
do { \
ZEND_ASSERT(Z_ISREF_P(zv)); \
_ZEND_TRY_ASSIGN_LONG(zv, lval, 1); \
} while (0)

Definition at line 1205 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_REF_NEW_STR

#define ZEND_TRY_ASSIGN_REF_NEW_STR ( zv,
str )
Value:
do { \
ZEND_ASSERT(Z_ISREF_P(zv)); \
_ZEND_TRY_ASSIGN_NEW_STR(zv, str, 1); \
} while (0)

Definition at line 1293 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_REF_NULL

#define ZEND_TRY_ASSIGN_REF_NULL ( zv)
Value:
do { \
ZEND_ASSERT(Z_ISREF_P(zv)); \
_ZEND_TRY_ASSIGN_NULL(zv, 1); \
} while (0)

Definition at line 1117 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_REF_RES

#define ZEND_TRY_ASSIGN_REF_RES ( zv,
res )
Value:
do { \
ZEND_ASSERT(Z_ISREF_P(zv)); \
_ZEND_TRY_ASSIGN_RES(zv, res, 1); \
} while (0)

Definition at line 1381 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_REF_STR

#define ZEND_TRY_ASSIGN_REF_STR ( zv,
str )
Value:
do { \
ZEND_ASSERT(Z_ISREF_P(zv)); \
_ZEND_TRY_ASSIGN_STR(zv, str, 1); \
} while (0)

Definition at line 1271 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_REF_STRING

#define ZEND_TRY_ASSIGN_REF_STRING ( zv,
string )
Value:
do { \
ZEND_ASSERT(Z_ISREF_P(zv)); \
_ZEND_TRY_ASSIGN_STRING(zv, string, 1); \
} while (0)

Definition at line 1315 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_REF_STRINGL

#define ZEND_TRY_ASSIGN_REF_STRINGL ( zv,
string,
len )
Value:
do { \
ZEND_ASSERT(Z_ISREF_P(zv)); \
_ZEND_TRY_ASSIGN_STRINGL(zv, string, len, 1); \
} while (0)

Definition at line 1337 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_REF_TMP

#define ZEND_TRY_ASSIGN_REF_TMP ( zv,
other_zv )
Value:
do { \
ZEND_ASSERT(Z_ISREF_P(zv)); \
_ZEND_TRY_ASSIGN_TMP(zv, other_zv, 1); \
} while (0)

Definition at line 1403 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_REF_TRUE

#define ZEND_TRY_ASSIGN_REF_TRUE ( zv)
Value:
do { \
ZEND_ASSERT(Z_ISREF_P(zv)); \
_ZEND_TRY_ASSIGN_TRUE(zv, 1); \
} while (0)

Definition at line 1161 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_REF_VALUE

#define ZEND_TRY_ASSIGN_REF_VALUE ( zv,
other_zv )
Value:
do { \
ZEND_ASSERT(Z_ISREF_P(zv)); \
_ZEND_TRY_ASSIGN_VALUE(zv, other_zv, 1); \
} while (0)

Definition at line 1425 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_REF_VALUE_EX

#define ZEND_TRY_ASSIGN_REF_VALUE_EX ( zv,
other_zv,
strict )
Value:
do { \
ZEND_ASSERT(Z_ISREF_P(zv)); \
_ZEND_TRY_ASSIGN_VALUE_EX(zv, other_zv, strict, 1); \
} while (0)

Definition at line 1457 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_RES

#define ZEND_TRY_ASSIGN_RES ( zv,
res )
Value:
#define _ZEND_TRY_ASSIGN_RES(zv, res, is_ref)
Definition zend_API.h:1364

Definition at line 1378 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_STR

#define ZEND_TRY_ASSIGN_STR ( zv,
str )
Value:
#define _ZEND_TRY_ASSIGN_STR(zv, str, is_ref)
Definition zend_API.h:1254

Definition at line 1268 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_STRING

#define ZEND_TRY_ASSIGN_STRING ( zv,
string )
Value:
#define _ZEND_TRY_ASSIGN_STRING(zv, string, is_ref)
Definition zend_API.h:1298

Definition at line 1312 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_STRINGL

#define ZEND_TRY_ASSIGN_STRINGL ( zv,
string,
len )
Value:
#define _ZEND_TRY_ASSIGN_STRINGL(zv, string, len, is_ref)
Definition zend_API.h:1320

Definition at line 1334 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_TMP

#define ZEND_TRY_ASSIGN_TMP ( zv,
other_zv )
Value:
_ZEND_TRY_ASSIGN_TMP(zv, other_zv, 0)
#define _ZEND_TRY_ASSIGN_TMP(zv, other_zv, is_ref)
Definition zend_API.h:1386

Definition at line 1400 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_TRUE

#define ZEND_TRY_ASSIGN_TRUE ( zv)
Value:
#define _ZEND_TRY_ASSIGN_TRUE(zv, is_ref)
Definition zend_API.h:1144

Definition at line 1158 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_VALUE

#define ZEND_TRY_ASSIGN_VALUE ( zv,
other_zv )
Value:
_ZEND_TRY_ASSIGN_VALUE(zv, other_zv, 0)
#define _ZEND_TRY_ASSIGN_VALUE(zv, other_zv, is_ref)
Definition zend_API.h:1408

Definition at line 1422 of file zend_API.h.

◆ ZEND_TRY_ASSIGN_VALUE_EX

#define ZEND_TRY_ASSIGN_VALUE_EX ( zv,
other_zv,
strict )
Value:
_ZEND_TRY_ASSIGN_VALUE_EX(zv, other_zv, strict, 0)
#define _ZEND_TRY_ASSIGN_VALUE_EX(zv, other_zv, strict, is_ref)
Definition zend_API.h:1440

Definition at line 1454 of file zend_API.h.

◆ ZEND_WRONG_PARAM_COUNT

#define ZEND_WRONG_PARAM_COUNT ( )
Value:
{ zend_wrong_param_count(); return; }
ZEND_API ZEND_COLD void zend_wrong_param_count(void)
Definition zend_API.c:94

Definition at line 531 of file zend_API.h.

◆ ZPP_ERROR_FAILURE

#define ZPP_ERROR_FAILURE   1

Definition at line 1576 of file zend_API.h.

◆ ZPP_ERROR_OK

#define ZPP_ERROR_OK   0

Definition at line 1575 of file zend_API.h.

◆ ZPP_ERROR_UNEXPECTED_EXTRA_NAMED

#define ZPP_ERROR_UNEXPECTED_EXTRA_NAMED   11

Definition at line 1586 of file zend_API.h.

◆ ZPP_ERROR_WRONG_ARG

#define ZPP_ERROR_WRONG_ARG   9

Definition at line 1584 of file zend_API.h.

◆ ZPP_ERROR_WRONG_CALLBACK

#define ZPP_ERROR_WRONG_CALLBACK   2

Definition at line 1577 of file zend_API.h.

◆ ZPP_ERROR_WRONG_CALLBACK_OR_NULL

#define ZPP_ERROR_WRONG_CALLBACK_OR_NULL   12

Definition at line 1587 of file zend_API.h.

◆ ZPP_ERROR_WRONG_CLASS

#define ZPP_ERROR_WRONG_CLASS   3

Definition at line 1578 of file zend_API.h.

◆ ZPP_ERROR_WRONG_CLASS_OR_LONG

#define ZPP_ERROR_WRONG_CLASS_OR_LONG   7

Definition at line 1582 of file zend_API.h.

◆ ZPP_ERROR_WRONG_CLASS_OR_LONG_OR_NULL

#define ZPP_ERROR_WRONG_CLASS_OR_LONG_OR_NULL   8

Definition at line 1583 of file zend_API.h.

◆ ZPP_ERROR_WRONG_CLASS_OR_NULL

#define ZPP_ERROR_WRONG_CLASS_OR_NULL   4

Definition at line 1579 of file zend_API.h.

◆ ZPP_ERROR_WRONG_CLASS_OR_STRING

#define ZPP_ERROR_WRONG_CLASS_OR_STRING   5

Definition at line 1580 of file zend_API.h.

◆ ZPP_ERROR_WRONG_CLASS_OR_STRING_OR_NULL

#define ZPP_ERROR_WRONG_CLASS_OR_STRING_OR_NULL   6

Definition at line 1581 of file zend_API.h.

◆ ZPP_ERROR_WRONG_COUNT

#define ZPP_ERROR_WRONG_COUNT   10

Definition at line 1585 of file zend_API.h.

◆ ZVAL_CHAR

#define ZVAL_CHAR ( z,
c )
Value:
do { \
char _c = (c); \
ZVAL_INTERNED_STR(z, ZSTR_CHAR((zend_uchar) _c)); \
} while (0)
#define ZSTR_CHAR(c)
unsigned char zend_uchar
Definition zend_types.h:57

Definition at line 978 of file zend_API.h.

◆ ZVAL_EMPTY_PSTRING

#define ZVAL_EMPTY_PSTRING ( z)
Value:
do { \
ZVAL_PSTRINGL(z, "", 0); \
} while (0)

Definition at line 974 of file zend_API.h.

◆ ZVAL_EMPTY_STRING

#define ZVAL_EMPTY_STRING ( z)
Value:
do { \
ZVAL_INTERNED_STR(z, ZSTR_EMPTY_ALLOC()); \
} while (0)
#define ZSTR_EMPTY_ALLOC()

Definition at line 961 of file zend_API.h.

◆ ZVAL_IS_NULL

#define ZVAL_IS_NULL ( z)
Value:
#define IS_NULL
Definition zend_types.h:601

Definition at line 1063 of file zend_API.h.

◆ ZVAL_PSTRING

#define ZVAL_PSTRING ( z,
s )
Value:
do { \
const char *_s = (s); \
ZVAL_PSTRINGL(z, _s, strlen(_s)); \
} while (0)

Definition at line 969 of file zend_API.h.

◆ ZVAL_PSTRINGL

#define ZVAL_PSTRINGL ( z,
s,
l )
Value:
do { \
ZVAL_NEW_STR(z, zend_string_init(s, l, 1)); \
} while (0)

Definition at line 965 of file zend_API.h.

◆ ZVAL_STRING

#define ZVAL_STRING ( z,
s )
Value:
do { \
const char *_s = (s); \
ZVAL_STRINGL(z, _s, strlen(_s)); \
} while (0)

Definition at line 956 of file zend_API.h.

◆ ZVAL_STRING_FAST

#define ZVAL_STRING_FAST ( z,
s )
Value:
do { \
const char *_s = (s); \
ZVAL_STRINGL_FAST(z, _s, strlen(_s)); \
} while (0)

Definition at line 987 of file zend_API.h.

◆ ZVAL_STRINGL

#define ZVAL_STRINGL ( z,
s,
l )
Value:
do { \
ZVAL_NEW_STR(z, zend_string_init(s, l, 0)); \
} while (0)

Definition at line 952 of file zend_API.h.

◆ ZVAL_STRINGL_FAST

#define ZVAL_STRINGL_FAST ( z,
s,
l )
Value:
do { \
ZVAL_STR(z, zend_string_init_fast(s, l)); \
} while (0)

Definition at line 983 of file zend_API.h.

◆ ZVAL_ZVAL

#define ZVAL_ZVAL ( z,
zv,
copy,
dtor )
Value:
do { \
zval *__z = (z); \
zval *__zv = (zv); \
if (EXPECTED(!Z_ISREF_P(__zv))) { \
if (copy && !dtor) { \
ZVAL_COPY(__z, __zv); \
} else { \
ZVAL_COPY_VALUE(__z, __zv); \
} \
} else { \
ZVAL_COPY(__z, Z_REFVAL_P(__zv)); \
if (dtor || !copy) { \
zval_ptr_dtor(__zv); \
} \
} \
} while (0)

Definition at line 992 of file zend_API.h.

Typedef Documentation

◆ zend_expected_type

◆ zend_fcall_info

◆ zend_fcall_info_cache

◆ zend_function_entry

Enumeration Type Documentation

◆ _zend_expected_type

Enumerator
Z_EXPECTED_LAST 

Definition at line 1549 of file zend_API.h.

Function Documentation

◆ _call_user_function_impl()

ZEND_API zend_result _call_user_function_impl ( zval * object,
zval * function_name,
zval * retval_ptr,
uint32_t param_count,
zval params[],
HashTable * named_params )

Definition at line 775 of file zend_execute_API.c.

◆ add_assoc_array_ex()

ZEND_API void add_assoc_array_ex ( zval * arg,
const char * key,
size_t key_len,
zend_array * arr )

Definition at line 2000 of file zend_API.c.

◆ add_assoc_bool_ex()

ZEND_API void add_assoc_bool_ex ( zval * arg,
const char * key,
size_t key_len,
bool b )

Definition at line 1946 of file zend_API.c.

◆ add_assoc_double_ex()

ZEND_API void add_assoc_double_ex ( zval * arg,
const char * key,
size_t key_len,
double d )

Definition at line 1964 of file zend_API.c.

◆ add_assoc_long_ex()

ZEND_API void add_assoc_long_ex ( zval * arg,
const char * key,
size_t key_len,
zend_long n )

Definition at line 1928 of file zend_API.c.

◆ add_assoc_null_ex()

ZEND_API void add_assoc_null_ex ( zval * arg,
const char * key,
size_t key_len )

Definition at line 1937 of file zend_API.c.

◆ add_assoc_object_ex()

ZEND_API void add_assoc_object_ex ( zval * arg,
const char * key,
size_t key_len,
zend_object * obj )

Definition at line 2009 of file zend_API.c.

◆ add_assoc_reference_ex()

ZEND_API void add_assoc_reference_ex ( zval * arg,
const char * key,
size_t key_len,
zend_reference * ref )

Definition at line 2018 of file zend_API.c.

◆ add_assoc_resource_ex()

ZEND_API void add_assoc_resource_ex ( zval * arg,
const char * key,
size_t key_len,
zend_resource * r )

Definition at line 1955 of file zend_API.c.

◆ add_assoc_str_ex()

ZEND_API void add_assoc_str_ex ( zval * arg,
const char * key,
size_t key_len,
zend_string * str )

Definition at line 1973 of file zend_API.c.

◆ add_assoc_string_ex()

ZEND_API void add_assoc_string_ex ( zval * arg,
const char * key,
size_t key_len,
const char * str )

Definition at line 1982 of file zend_API.c.

◆ add_assoc_stringl_ex()

ZEND_API void add_assoc_stringl_ex ( zval * arg,
const char * key,
size_t key_len,
const char * str,
size_t length )

Definition at line 1991 of file zend_API.c.

◆ add_assoc_zval_ex()

ZEND_API void add_assoc_zval_ex ( zval * arg,
const char * key,
size_t key_len,
zval * value )

Definition at line 2027 of file zend_API.c.

◆ add_index_array()

ZEND_API void add_index_array ( zval * arg,
zend_ulong index,
zend_array * arr )

Definition at line 2105 of file zend_API.c.

◆ add_index_bool()

ZEND_API void add_index_bool ( zval * arg,
zend_ulong index,
bool b )

Definition at line 2051 of file zend_API.c.

◆ add_index_double()

ZEND_API void add_index_double ( zval * arg,
zend_ulong index,
double d )

Definition at line 2069 of file zend_API.c.

◆ add_index_long()

ZEND_API void add_index_long ( zval * arg,
zend_ulong index,
zend_long n )

Definition at line 2033 of file zend_API.c.

◆ add_index_null()

ZEND_API void add_index_null ( zval * arg,
zend_ulong index )

Definition at line 2042 of file zend_API.c.

◆ add_index_object()

ZEND_API void add_index_object ( zval * arg,
zend_ulong index,
zend_object * obj )

Definition at line 2114 of file zend_API.c.

◆ add_index_reference()

ZEND_API void add_index_reference ( zval * arg,
zend_ulong index,
zend_reference * ref )

Definition at line 2123 of file zend_API.c.

◆ add_index_resource()

ZEND_API void add_index_resource ( zval * arg,
zend_ulong index,
zend_resource * r )

Definition at line 2060 of file zend_API.c.

◆ add_index_str()

ZEND_API void add_index_str ( zval * arg,
zend_ulong index,
zend_string * str )

Definition at line 2078 of file zend_API.c.

◆ add_index_string()

ZEND_API void add_index_string ( zval * arg,
zend_ulong index,
const char * str )

Definition at line 2087 of file zend_API.c.

◆ add_index_stringl()

ZEND_API void add_index_stringl ( zval * arg,
zend_ulong index,
const char * str,
size_t length )

Definition at line 2096 of file zend_API.c.

◆ add_next_index_array()

ZEND_API zend_result add_next_index_array ( zval * arg,
zend_array * arr )

Definition at line 2204 of file zend_API.c.

◆ add_next_index_bool()

ZEND_API zend_result add_next_index_bool ( zval * arg,
bool b )

Definition at line 2150 of file zend_API.c.

◆ add_next_index_double()

ZEND_API zend_result add_next_index_double ( zval * arg,
double d )

Definition at line 2168 of file zend_API.c.

◆ add_next_index_long()

ZEND_API zend_result add_next_index_long ( zval * arg,
zend_long n )

Definition at line 2132 of file zend_API.c.

◆ add_next_index_null()

ZEND_API zend_result add_next_index_null ( zval * arg)

Definition at line 2141 of file zend_API.c.

◆ add_next_index_object()

ZEND_API zend_result add_next_index_object ( zval * arg,
zend_object * obj )

Definition at line 2213 of file zend_API.c.

◆ add_next_index_reference()

ZEND_API zend_result add_next_index_reference ( zval * arg,
zend_reference * ref )

Definition at line 2222 of file zend_API.c.

◆ add_next_index_resource()

ZEND_API zend_result add_next_index_resource ( zval * arg,
zend_resource * r )

Definition at line 2159 of file zend_API.c.

◆ add_next_index_str()

ZEND_API zend_result add_next_index_str ( zval * arg,
zend_string * str )

Definition at line 2177 of file zend_API.c.

◆ add_next_index_string()

ZEND_API zend_result add_next_index_string ( zval * arg,
const char * str )

Definition at line 2186 of file zend_API.c.

◆ add_next_index_stringl()

ZEND_API zend_result add_next_index_stringl ( zval * arg,
const char * str,
size_t length )

Definition at line 2195 of file zend_API.c.

◆ add_property_array_ex()

ZEND_API void add_property_array_ex ( zval * arg,
const char * key,
size_t key_len,
zend_array * arr )

Definition at line 2348 of file zend_API.c.

◆ add_property_bool_ex()

ZEND_API void add_property_bool_ex ( zval * arg,
const char * key,
size_t key_len,
zend_long b )

Definition at line 2281 of file zend_API.c.

◆ add_property_double_ex()

ZEND_API void add_property_double_ex ( zval * arg,
const char * key,
size_t key_len,
double d )

Definition at line 2309 of file zend_API.c.

◆ add_property_long_ex()

ZEND_API void add_property_long_ex ( zval * arg,
const char * key,
size_t key_len,
zend_long l )

Definition at line 2272 of file zend_API.c.

◆ add_property_null_ex()

ZEND_API void add_property_null_ex ( zval * arg,
const char * key,
size_t key_len )

Definition at line 2290 of file zend_API.c.

◆ add_property_object_ex()

ZEND_API void add_property_object_ex ( zval * arg,
const char * key,
size_t key_len,
zend_object * obj )

Definition at line 2358 of file zend_API.c.

◆ add_property_reference_ex()

ZEND_API void add_property_reference_ex ( zval * arg,
const char * key,
size_t key_len,
zend_reference * ref )

Definition at line 2368 of file zend_API.c.

◆ add_property_resource_ex()

ZEND_API void add_property_resource_ex ( zval * arg,
const char * key,
size_t key_len,
zend_resource * r )

Definition at line 2299 of file zend_API.c.

◆ add_property_str_ex()

ZEND_API void add_property_str_ex ( zval * arg,
const char * key,
size_t key_len,
zend_string * str )

Definition at line 2318 of file zend_API.c.

◆ add_property_string_ex()

ZEND_API void add_property_string_ex ( zval * arg,
const char * key,
size_t key_len,
const char * str )

Definition at line 2328 of file zend_API.c.

◆ add_property_stringl_ex()

ZEND_API void add_property_stringl_ex ( zval * arg,
const char * key,
size_t key_len,
const char * str,
size_t length )

Definition at line 2338 of file zend_API.c.

◆ add_property_zval_ex()

ZEND_API void add_property_zval_ex ( zval * arg,
const char * key,
size_t key_len,
zval * value )

Definition at line 2378 of file zend_API.c.

◆ array_set_zval_key()

ZEND_API zend_result array_set_zval_key ( HashTable * ht,
zval * key,
zval * value )

Definition at line 2231 of file zend_API.c.

◆ object_and_properties_init()

ZEND_API zend_result object_and_properties_init ( zval * arg,
zend_class_entry * ce,
HashTable * properties )

Definition at line 1843 of file zend_API.c.

◆ object_init()

ZEND_API void object_init ( zval * arg)

Definition at line 1922 of file zend_API.c.

◆ object_init_ex()

ZEND_API zend_result object_init_ex ( zval * arg,
zend_class_entry * ce )

Definition at line 1849 of file zend_API.c.

◆ object_init_with_constructor()

ZEND_API zend_result object_init_with_constructor ( zval * arg,
zend_class_entry * class_type,
uint32_t param_count,
zval * params,
HashTable * named_params )

Definition at line 1855 of file zend_API.c.

◆ object_properties_init()

ZEND_API void object_properties_init ( zend_object * object,
zend_class_entry * class_type )

Definition at line 1688 of file zend_API.c.

◆ object_properties_init_ex()

ZEND_API void object_properties_init_ex ( zend_object * object,
HashTable * properties )

Definition at line 1695 of file zend_API.c.

◆ object_properties_load()

ZEND_API void object_properties_load ( zend_object * object,
HashTable * properties )

Definition at line 1728 of file zend_API.c.

◆ zend_add_magic_method()

ZEND_API void zend_add_magic_method ( zend_class_entry * ce,
zend_function * fptr,
zend_string * lcname )

Definition at line 2859 of file zend_API.c.

◆ zend_argument_error()

ZEND_API ZEND_COLD void zend_argument_error ( zend_class_entry * error_ce,
uint32_t arg_num,
const char * format,
... )

Definition at line 413 of file zend_API.c.

◆ zend_argument_error_variadic()

ZEND_API ZEND_COLD void ZEND_FASTCALL zend_argument_error_variadic ( zend_class_entry * error_ce,
uint32_t arg_num,
const char * format,
va_list va )

Definition at line 391 of file zend_API.c.

◆ zend_argument_must_not_be_empty_error()

ZEND_API ZEND_COLD void zend_argument_must_not_be_empty_error ( uint32_t arg_num)

Definition at line 443 of file zend_API.c.

◆ zend_argument_type_error()

ZEND_API ZEND_COLD void zend_argument_type_error ( uint32_t arg_num,
const char * format,
... )

Definition at line 423 of file zend_API.c.

◆ zend_argument_value_error()

ZEND_API ZEND_COLD void zend_argument_value_error ( uint32_t arg_num,
const char * format,
... )

Definition at line 433 of file zend_API.c.

◆ zend_attach_symbol_table()

ZEND_API void zend_attach_symbol_table ( zend_execute_data * execute_data)

Definition at line 1845 of file zend_execute_API.c.

◆ zend_call_function()

ZEND_API zend_result zend_call_function ( zend_fcall_info * fci,
zend_fcall_info_cache * fci_cache )

Definition at line 796 of file zend_execute_API.c.

◆ zend_call_known_function()

ZEND_API void zend_call_known_function ( zend_function * fn,
zend_object * object,
zend_class_entry * called_scope,
zval * retval_ptr,
uint32_t param_count,
zval * params,
HashTable * named_params )

Definition at line 1072 of file zend_execute_API.c.

◆ zend_call_known_instance_method_with_2_params()

ZEND_API void zend_call_known_instance_method_with_2_params ( zend_function * fn,
zend_object * object,
zval * retval_ptr,
zval * param1,
zval * param2 )

Definition at line 1108 of file zend_execute_API.c.

◆ zend_call_method_if_exists()

ZEND_API zend_result zend_call_method_if_exists ( zend_object * object,
zend_string * method_name,
zval * retval,
uint32_t param_count,
zval * params )

Definition at line 1117 of file zend_execute_API.c.

◆ zend_check_magic_method_implementation()

ZEND_API void zend_check_magic_method_implementation ( const zend_class_entry * ce,
const zend_function * fptr,
zend_string * lcname,
int error_type )

Definition at line 2762 of file zend_API.c.

◆ zend_class_implements()

ZEND_API void zend_class_implements ( zend_class_entry * class_entry,
int num_interfaces,
... )

Definition at line 3527 of file zend_API.c.

◆ zend_class_redeclaration_error()

ZEND_API ZEND_COLD void zend_class_redeclaration_error ( int type,
zend_class_entry * old_ce )

Definition at line 463 of file zend_API.c.

◆ zend_class_redeclaration_error_ex()

ZEND_API ZEND_COLD void zend_class_redeclaration_error_ex ( int type,
zend_string * new_name,
zend_class_entry * old_ce )

Definition at line 448 of file zend_API.c.

◆ zend_collect_module_handlers()

ZEND_API void zend_collect_module_handlers ( void )

Definition at line 2489 of file zend_API.c.

◆ zend_copy_parameters_array()

ZEND_API zend_result zend_copy_parameters_array ( uint32_t param_count,
zval * argument_array )

Definition at line 72 of file zend_API.c.

◆ zend_declare_class_constant()

ZEND_API void zend_declare_class_constant ( zend_class_entry * ce,
const char * name,
size_t name_length,
zval * value )

Definition at line 4914 of file zend_API.c.

◆ zend_declare_class_constant_bool()

ZEND_API void zend_declare_class_constant_bool ( zend_class_entry * ce,
const char * name,
size_t name_length,
bool value )

Definition at line 4946 of file zend_API.c.

◆ zend_declare_class_constant_double()

ZEND_API void zend_declare_class_constant_double ( zend_class_entry * ce,
const char * name,
size_t name_length,
double value )

Definition at line 4955 of file zend_API.c.

◆ zend_declare_class_constant_ex()

ZEND_API zend_class_constant * zend_declare_class_constant_ex ( zend_class_entry * ce,
zend_string * name,
zval * value,
int access_type,
zend_string * doc_comment )

Definition at line 4909 of file zend_API.c.

◆ zend_declare_class_constant_long()

ZEND_API void zend_declare_class_constant_long ( zend_class_entry * ce,
const char * name,
size_t name_length,
zend_long value )

Definition at line 4937 of file zend_API.c.

◆ zend_declare_class_constant_null()

ZEND_API void zend_declare_class_constant_null ( zend_class_entry * ce,
const char * name,
size_t name_length )

Definition at line 4928 of file zend_API.c.

◆ zend_declare_class_constant_string()

ZEND_API void zend_declare_class_constant_string ( zend_class_entry * ce,
const char * name,
size_t name_length,
const char * value )

Definition at line 4973 of file zend_API.c.

◆ zend_declare_class_constant_stringl()

ZEND_API void zend_declare_class_constant_stringl ( zend_class_entry * ce,
const char * name,
size_t name_length,
const char * value,
size_t value_length )

Definition at line 4964 of file zend_API.c.

◆ zend_declare_property()

ZEND_API void zend_declare_property ( zend_class_entry * ce,
const char * name,
size_t name_length,
zval * property,
int access_type )

Definition at line 4797 of file zend_API.c.

◆ zend_declare_property_bool()

ZEND_API void zend_declare_property_bool ( zend_class_entry * ce,
const char * name,
size_t name_length,
zend_long value,
int access_type )

Definition at line 4814 of file zend_API.c.

◆ zend_declare_property_double()

ZEND_API void zend_declare_property_double ( zend_class_entry * ce,
const char * name,
size_t name_length,
double value,
int access_type )

Definition at line 4832 of file zend_API.c.

◆ zend_declare_property_ex()

ZEND_API void zend_declare_property_ex ( zend_class_entry * ce,
zend_string * name,
zval * property,
int access_type,
zend_string * doc_comment )

Definition at line 4791 of file zend_API.c.

◆ zend_declare_property_long()

ZEND_API void zend_declare_property_long ( zend_class_entry * ce,
const char * name,
size_t name_length,
zend_long value,
int access_type )

Definition at line 4823 of file zend_API.c.

◆ zend_declare_property_null()

ZEND_API void zend_declare_property_null ( zend_class_entry * ce,
const char * name,
size_t name_length,
int access_type )

Definition at line 4805 of file zend_API.c.

◆ zend_declare_property_string()

ZEND_API void zend_declare_property_string ( zend_class_entry * ce,
const char * name,
size_t name_length,
const char * value,
int access_type )

Definition at line 4841 of file zend_API.c.

◆ zend_declare_property_stringl()

ZEND_API void zend_declare_property_stringl ( zend_class_entry * ce,
const char * name,
size_t name_length,
const char * value,
size_t value_len,
int access_type )

Definition at line 4850 of file zend_API.c.

◆ zend_declare_typed_class_constant()

ZEND_API zend_class_constant * zend_declare_typed_class_constant ( zend_class_entry * ce,
zend_string * name,
zval * value,
int access_type,
zend_string * doc_comment,
zend_type type )

Definition at line 4859 of file zend_API.c.

◆ zend_declare_typed_property()

ZEND_API zend_property_info * zend_declare_typed_property ( zend_class_entry * ce,
zend_string * name,
zval * property,
int access_type,
zend_string * doc_comment,
zend_type type )

Definition at line 4505 of file zend_API.c.

◆ zend_delete_global_variable()

ZEND_API zend_result zend_delete_global_variable ( zend_string * name)

Definition at line 1792 of file zend_execute_API.c.

◆ zend_destroy_modules()

ZEND_API void zend_destroy_modules ( void )

Definition at line 2577 of file zend_API.c.

◆ zend_detach_symbol_table()

ZEND_API void zend_detach_symbol_table ( zend_execute_data * execute_data)

Definition at line 1880 of file zend_execute_API.c.

◆ zend_disable_class()

ZEND_API zend_result zend_disable_class ( const char * class_name,
size_t class_name_length )

Definition at line 3707 of file zend_API.c.

◆ zend_disable_functions()

ZEND_API void zend_disable_functions ( const char * function_list)

Definition at line 3641 of file zend_API.c.

◆ zend_fcall_info_argn()

ZEND_API void zend_fcall_info_argn ( zend_fcall_info * fci,
uint32_t argc,
... )

Set arguments in the zend_fcall_info struct taking care of refcount. If argc is 0 the arguments which are set will be cleared, else pass a variable amount of zval** arguments.

Definition at line 4435 of file zend_API.c.

◆ zend_fcall_info_argp()

ZEND_API void zend_fcall_info_argp ( zend_fcall_info * fci,
uint32_t argc,
zval * argv )

Set arguments in the zend_fcall_info struct taking care of refcount. If argc is 0 the arguments which are set will be cleared, else pass a variable amount of zval** arguments.

Definition at line 4403 of file zend_API.c.

◆ zend_fcall_info_args()

ZEND_API zend_result zend_fcall_info_args ( zend_fcall_info * fci,
zval * args )

Set or clear the arguments in the zend_call_info struct taking care of refcount. If args is NULL and arguments are set then those are cleared.

Definition at line 4397 of file zend_API.c.

◆ zend_fcall_info_args_clear()

ZEND_API void zend_fcall_info_args_clear ( zend_fcall_info * fci,
bool free_mem )

Clear arguments connected with zend_fcall_info *fci If free_mem is not zero then the params array gets free'd as well

Definition at line 4328 of file zend_API.c.

◆ zend_fcall_info_args_ex()

ZEND_API zend_result zend_fcall_info_args_ex ( zend_fcall_info * fci,
zend_function * func,
zval * args )

Definition at line 4364 of file zend_API.c.

◆ zend_fcall_info_args_restore()

ZEND_API void zend_fcall_info_args_restore ( zend_fcall_info * fci,
uint32_t param_count,
zval * params )

Free arguments connected with zend_fcall_info *fci and set back saved ones.

Definition at line 4356 of file zend_API.c.

◆ zend_fcall_info_args_save()

ZEND_API void zend_fcall_info_args_save ( zend_fcall_info * fci,
uint32_t * param_count,
zval ** params )

Save current arguments from zend_fcall_info *fci params array will be set to NULL

Definition at line 4347 of file zend_API.c.

◆ zend_fcall_info_argv()

ZEND_API void zend_fcall_info_argv ( zend_fcall_info * fci,
uint32_t argc,
va_list * argv )

Set arguments in the zend_fcall_info struct taking care of refcount. If argc is 0 the arguments which are set will be cleared, else pass a variable amount of zval** arguments.

Definition at line 4418 of file zend_API.c.

◆ zend_fcall_info_call()

ZEND_API zend_result zend_fcall_info_call ( zend_fcall_info * fci,
zend_fcall_info_cache * fcc,
zval * retval,
zval * args )

Call a function using information created by zend_fcall_info_init()/args(). If args is given then those replace the argument info in fci is temporarily.

Definition at line 4445 of file zend_API.c.

◆ zend_fcall_info_init()

ZEND_API zend_result zend_fcall_info_init ( zval * callable,
uint32_t check_flags,
zend_fcall_info * fci,
zend_fcall_info_cache * fcc,
zend_string ** callable_name,
char ** error )

Build zend_call_info/cache from a zval*

Caller is responsible to provide a return value (fci->retval), otherwise the we will crash. In order to pass parameters the following members need to be set: fci->param_count = 0; fci->params = NULL; The callable_name argument may be NULL.

Definition at line 4310 of file zend_API.c.

◆ zend_flf_parse_arg_bool_slow()

ZEND_API bool ZEND_FASTCALL zend_flf_parse_arg_bool_slow ( const zval * arg,
bool * dest,
uint32_t arg_num )

Definition at line 549 of file zend_API.c.

◆ zend_flf_parse_arg_long_slow()

ZEND_API bool ZEND_FASTCALL zend_flf_parse_arg_long_slow ( const zval * arg,
zend_long * dest,
uint32_t arg_num )

Definition at line 636 of file zend_API.c.

◆ zend_flf_parse_arg_str_slow()

ZEND_API bool ZEND_FASTCALL zend_flf_parse_arg_str_slow ( zval * arg,
zend_string ** dest,
uint32_t arg_num )

Definition at line 785 of file zend_API.c.

◆ zend_get_callable_name()

ZEND_API zend_string * zend_get_callable_name ( zval * callable)

Definition at line 4154 of file zend_API.c.

◆ zend_get_callable_name_ex()

ZEND_API zend_string * zend_get_callable_name_ex ( zval * callable,
zend_object * object )

Definition at line 4106 of file zend_API.c.

◆ zend_get_callable_zval_from_fcc()

ZEND_API void zend_get_callable_zval_from_fcc ( const zend_fcall_info_cache * fcc,
zval * callable )

Definition at line 4468 of file zend_API.c.

◆ zend_get_default_from_internal_arg_info()

ZEND_API zend_result zend_get_default_from_internal_arg_info ( zval * default_value_zval,
zend_internal_arg_info * arg_info )

Definition at line 5352 of file zend_API.c.

◆ zend_get_module_started()

ZEND_API zend_result zend_get_module_started ( const char * module_name)

Definition at line 3262 of file zend_API.c.

◆ zend_get_module_version()

ZEND_API const char * zend_get_module_version ( const char * module_name)

Definition at line 4486 of file zend_API.c.

◆ zend_get_object_type_case()

ZEND_API ZEND_COLD const char * zend_get_object_type_case ( const zend_class_entry * ce,
bool upper_case )

Definition at line 5260 of file zend_API.c.

◆ zend_get_parameters_array_ex()

ZEND_API zend_result zend_get_parameters_array_ex ( uint32_t param_count,
zval * argument_array )

Definition at line 50 of file zend_API.c.

◆ zend_get_type_by_const()

ZEND_API const char * zend_get_type_by_const ( int type)

Definition at line 112 of file zend_API.c.

◆ zend_is_callable()

ZEND_API bool zend_is_callable ( zval * callable,
uint32_t check_flags,
zend_string ** callable_name )

Definition at line 4286 of file zend_API.c.

◆ zend_is_callable_at_frame()

ZEND_API bool zend_is_callable_at_frame ( zval * callable,
zend_object * object,
zend_execute_data * frame,
uint32_t check_flags,
zend_fcall_info_cache * fcc,
char ** error )

Definition at line 4160 of file zend_API.c.

◆ zend_is_callable_ex()

ZEND_API bool zend_is_callable_ex ( zval * callable,
zend_object * object,
uint32_t check_flags,
zend_string ** callable_name,
zend_fcall_info_cache * fcc,
char ** error )

Definition at line 4271 of file zend_API.c.

◆ zend_is_countable()

ZEND_API bool zend_is_countable ( const zval * countable)

Definition at line 5287 of file zend_API.c.

◆ zend_is_iterable()

ZEND_API bool zend_is_iterable ( const zval * iterable)

Definition at line 5274 of file zend_API.c.

◆ zend_make_callable()

ZEND_API bool zend_make_callable ( zval * callable,
zend_string ** callable_name )

Definition at line 4292 of file zend_API.c.

◆ zend_merge_properties()

ZEND_API void zend_merge_properties ( zval * obj,
HashTable * properties )

Definition at line 1392 of file zend_API.c.

◆ zend_next_free_module()

ZEND_API int zend_next_free_module ( void )

Definition at line 3464 of file zend_API.c.

◆ zend_parse_arg_bool_slow()

ZEND_API bool ZEND_FASTCALL zend_parse_arg_bool_slow ( const zval * arg,
bool * dest,
uint32_t arg_num )

Definition at line 540 of file zend_API.c.

◆ zend_parse_arg_bool_weak()

ZEND_API bool ZEND_FASTCALL zend_parse_arg_bool_weak ( const zval * arg,
bool * dest,
uint32_t arg_num )

Definition at line 526 of file zend_API.c.

◆ zend_parse_arg_class()

ZEND_API bool ZEND_FASTCALL zend_parse_arg_class ( zval * arg,
zend_class_entry ** pce,
uint32_t num,
bool check_null )

Definition at line 468 of file zend_API.c.

◆ zend_parse_arg_double_slow()

ZEND_API bool ZEND_FASTCALL zend_parse_arg_double_slow ( const zval * arg,
double * dest,
uint32_t arg_num )

Definition at line 676 of file zend_API.c.

◆ zend_parse_arg_double_weak()

ZEND_API bool ZEND_FASTCALL zend_parse_arg_double_weak ( const zval * arg,
double * dest,
uint32_t arg_num )

Definition at line 644 of file zend_API.c.

◆ zend_parse_arg_long_slow()

ZEND_API bool ZEND_FASTCALL zend_parse_arg_long_slow ( const zval * arg,
zend_long * dest,
uint32_t arg_num )

Definition at line 627 of file zend_API.c.

◆ zend_parse_arg_long_weak()

ZEND_API bool ZEND_FASTCALL zend_parse_arg_long_weak ( const zval * arg,
zend_long * dest,
uint32_t arg_num )

Definition at line 557 of file zend_API.c.

◆ zend_parse_arg_number_or_str_slow()

ZEND_API bool ZEND_FASTCALL zend_parse_arg_number_or_str_slow ( zval * arg,
zval ** dest,
uint32_t arg_num )

Definition at line 722 of file zend_API.c.

◆ zend_parse_arg_number_slow()

ZEND_API bool ZEND_FASTCALL zend_parse_arg_number_slow ( zval * arg,
zval ** dest,
uint32_t arg_num )

Definition at line 688 of file zend_API.c.

◆ zend_parse_arg_str_or_long_slow()

ZEND_API bool ZEND_FASTCALL zend_parse_arg_str_or_long_slow ( zval * arg,
zend_string ** dest_str,
zend_long * dest_long,
uint32_t arg_num )

Definition at line 793 of file zend_API.c.

◆ zend_parse_arg_str_slow()

ZEND_API bool ZEND_FASTCALL zend_parse_arg_str_slow ( zval * arg,
zend_string ** dest,
uint32_t arg_num )

Definition at line 776 of file zend_API.c.

◆ zend_parse_arg_str_weak()

ZEND_API bool ZEND_FASTCALL zend_parse_arg_str_weak ( zval * arg,
zend_string ** dest,
uint32_t arg_num )

Definition at line 751 of file zend_API.c.

◆ zend_parse_method_parameters()

ZEND_API zend_result zend_parse_method_parameters ( uint32_t num_args,
zval * this_ptr,
const char * type_spec,
... )

Definition at line 1314 of file zend_API.c.

◆ zend_parse_method_parameters_ex()

ZEND_API zend_result zend_parse_method_parameters_ex ( int flags,
uint32_t num_args,
zval * this_ptr,
const char * type_spec,
... )

Definition at line 1354 of file zend_API.c.

◆ zend_parse_parameter()

ZEND_API zend_result zend_parse_parameter ( int flags,
uint32_t arg_num,
zval * arg,
const char * spec,
... )

Definition at line 1123 of file zend_API.c.

◆ zend_parse_parameters()

ZEND_API zend_result zend_parse_parameters ( uint32_t num_args,
const char * type_spec,
... )

Definition at line 1300 of file zend_API.c.

◆ zend_parse_parameters_ex()

ZEND_API zend_result zend_parse_parameters_ex ( int flags,
uint32_t num_args,
const char * type_spec,
... )

Definition at line 1287 of file zend_API.c.

◆ zend_read_property()

ZEND_API zval * zend_read_property ( zend_class_entry * scope,
zend_object * object,
const char * name,
size_t name_length,
bool silent,
zval * rv )

Definition at line 5201 of file zend_API.c.

◆ zend_read_property_ex()

ZEND_API zval * zend_read_property_ex ( zend_class_entry * scope,
zend_object * object,
zend_string * name,
bool silent,
zval * rv )

Definition at line 5187 of file zend_API.c.

◆ zend_read_static_property()

ZEND_API zval * zend_read_static_property ( zend_class_entry * scope,
const char * name,
size_t name_length,
bool silent )

Definition at line 5226 of file zend_API.c.

◆ zend_read_static_property_ex()

ZEND_API zval * zend_read_static_property_ex ( zend_class_entry * scope,
zend_string * name,
bool silent )

Definition at line 5213 of file zend_API.c.

◆ zend_rebuild_symbol_table()

ZEND_API zend_array * zend_rebuild_symbol_table ( void )

Definition at line 1798 of file zend_execute_API.c.

◆ zend_register_class_alias_ex()

ZEND_API zend_result zend_register_class_alias_ex ( const char * name,
size_t name_len,
zend_class_entry * ce,
bool persistent )

Definition at line 3563 of file zend_API.c.

◆ zend_register_functions()

ZEND_API zend_result zend_register_functions ( zend_class_entry * scope,
const zend_function_entry * functions,
HashTable * function_table,
int type )

Definition at line 2927 of file zend_API.c.

◆ zend_register_internal_class()

ZEND_API zend_class_entry * zend_register_internal_class ( zend_class_entry * class_entry)

Definition at line 3551 of file zend_API.c.

◆ zend_register_internal_class_ex()

ZEND_API zend_class_entry * zend_register_internal_class_ex ( zend_class_entry * class_entry,
zend_class_entry * parent_ce )

Definition at line 3506 of file zend_API.c.

◆ zend_register_internal_class_with_flags()

ZEND_API zend_class_entry * zend_register_internal_class_with_flags ( zend_class_entry * class_entry,
zend_class_entry * parent_ce,
uint32_t flags )

Definition at line 3512 of file zend_API.c.

◆ zend_register_internal_interface()

ZEND_API zend_class_entry * zend_register_internal_interface ( zend_class_entry * orig_class_entry)

Definition at line 3557 of file zend_API.c.

◆ zend_register_internal_module()

ZEND_API zend_module_entry * zend_register_internal_module ( zend_module_entry * module_entry)

Definition at line 2655 of file zend_API.c.

◆ zend_register_module_ex()

ZEND_API zend_module_entry * zend_register_module_ex ( zend_module_entry * module,
int module_type )

Definition at line 2587 of file zend_API.c.

◆ zend_release_fcall_info_cache()

ZEND_API void zend_release_fcall_info_cache ( zend_fcall_info_cache * fcc)

Definition at line 3845 of file zend_API.c.

◆ zend_separate_class_constants_table()

ZEND_API HashTable * zend_separate_class_constants_table ( zend_class_entry * class_type)

Definition at line 1429 of file zend_API.c.

◆ zend_set_hash_symbol()

ZEND_API zend_result zend_set_hash_symbol ( zval * symbol,
const char * name,
size_t name_length,
bool is_ref,
int num_symbol_tables,
... )

Definition at line 3605 of file zend_API.c.

◆ zend_set_local_var()

ZEND_API zend_result zend_set_local_var ( zend_string * name,
zval * value,
bool force )

Definition at line 1905 of file zend_execute_API.c.

◆ zend_set_local_var_str()

ZEND_API zend_result zend_set_local_var_str ( const char * name,
size_t len,
zval * value,
bool force )

Definition at line 1948 of file zend_execute_API.c.

◆ zend_startup_module()

ZEND_API zend_result zend_startup_module ( zend_module_entry * module_entry)

Definition at line 3253 of file zend_API.c.

◆ zend_startup_module_ex()

ZEND_API zend_result zend_startup_module_ex ( zend_module_entry * module)

Definition at line 2388 of file zend_API.c.

◆ zend_startup_modules()

ZEND_API void zend_startup_modules ( void )

Definition at line 2570 of file zend_API.c.

◆ zend_try_assign_typed_ref()

ZEND_API zend_result zend_try_assign_typed_ref ( zend_reference * ref,
zval * zv )

Definition at line 4677 of file zend_API.c.

◆ zend_try_assign_typed_ref_arr()

ZEND_API zend_result zend_try_assign_typed_ref_arr ( zend_reference * ref,
zend_array * arr )

Definition at line 4755 of file zend_API.c.

◆ zend_try_assign_typed_ref_bool()

ZEND_API zend_result zend_try_assign_typed_ref_bool ( zend_reference * ref,
bool val )

Definition at line 4692 of file zend_API.c.

◆ zend_try_assign_typed_ref_double()

ZEND_API zend_result zend_try_assign_typed_ref_double ( zend_reference * ref,
double dval )

Definition at line 4710 of file zend_API.c.

◆ zend_try_assign_typed_ref_empty_string()

ZEND_API zend_result zend_try_assign_typed_ref_empty_string ( zend_reference * ref)

Definition at line 4719 of file zend_API.c.

◆ zend_try_assign_typed_ref_ex()

ZEND_API zend_result zend_try_assign_typed_ref_ex ( zend_reference * ref,
zval * zv,
bool strict )

Definition at line 4664 of file zend_API.c.

◆ zend_try_assign_typed_ref_long()

ZEND_API zend_result zend_try_assign_typed_ref_long ( zend_reference * ref,
zend_long lval )

Definition at line 4701 of file zend_API.c.

◆ zend_try_assign_typed_ref_null()

ZEND_API zend_result zend_try_assign_typed_ref_null ( zend_reference * ref)

Definition at line 4683 of file zend_API.c.

◆ zend_try_assign_typed_ref_res()

ZEND_API zend_result zend_try_assign_typed_ref_res ( zend_reference * ref,
zend_resource * res )

Definition at line 4764 of file zend_API.c.

◆ zend_try_assign_typed_ref_str()

ZEND_API zend_result zend_try_assign_typed_ref_str ( zend_reference * ref,
zend_string * str )

Definition at line 4728 of file zend_API.c.

◆ zend_try_assign_typed_ref_string()

ZEND_API zend_result zend_try_assign_typed_ref_string ( zend_reference * ref,
const char * string )

Definition at line 4737 of file zend_API.c.

◆ zend_try_assign_typed_ref_stringl()

ZEND_API zend_result zend_try_assign_typed_ref_stringl ( zend_reference * ref,
const char * string,
size_t len )

Definition at line 4746 of file zend_API.c.

◆ zend_try_assign_typed_ref_zval()

ZEND_API zend_result zend_try_assign_typed_ref_zval ( zend_reference * ref,
zval * zv )

Definition at line 4773 of file zend_API.c.

◆ zend_try_assign_typed_ref_zval_ex()

ZEND_API zend_result zend_try_assign_typed_ref_zval_ex ( zend_reference * ref,
zval * zv,
bool strict )

Definition at line 4782 of file zend_API.c.

◆ zend_unexpected_extra_named_error()

ZEND_API ZEND_COLD void ZEND_FASTCALL zend_unexpected_extra_named_error ( void )

Definition at line 383 of file zend_API.c.

◆ zend_unregister_functions()

ZEND_API void zend_unregister_functions ( const zend_function_entry * functions,
int count,
HashTable * function_table )

Definition at line 3227 of file zend_API.c.

◆ zend_unset_property()

ZEND_API void zend_unset_property ( zend_class_entry * scope,
zend_object * object,
const char * name,
size_t name_length )

Definition at line 5015 of file zend_API.c.

◆ zend_update_class_constant()

ZEND_API zend_result zend_update_class_constant ( zend_class_constant * c,
const zend_string * name,
zend_class_entry * scope )

Definition at line 1490 of file zend_API.c.

◆ zend_update_class_constants()

ZEND_API zend_result zend_update_class_constants ( zend_class_entry * class_type)

Definition at line 1518 of file zend_API.c.

◆ zend_update_property()

ZEND_API void zend_update_property ( zend_class_entry * scope,
zend_object * object,
const char * name,
size_t name_length,
zval * value )

Definition at line 4991 of file zend_API.c.

◆ zend_update_property_bool()

ZEND_API void zend_update_property_bool ( zend_class_entry * scope,
zend_object * object,
const char * name,
size_t name_length,
zend_long value )

Definition at line 5030 of file zend_API.c.

◆ zend_update_property_double()

ZEND_API void zend_update_property_double ( zend_class_entry * scope,
zend_object * object,
const char * name,
size_t name_length,
double value )

Definition at line 5048 of file zend_API.c.

◆ zend_update_property_ex()

ZEND_API void zend_update_property_ex ( zend_class_entry * scope,
zend_object * object,
zend_string * name,
zval * value )

Definition at line 4979 of file zend_API.c.

◆ zend_update_property_long()

ZEND_API void zend_update_property_long ( zend_class_entry * scope,
zend_object * object,
const char * name,
size_t name_length,
zend_long value )

Definition at line 5039 of file zend_API.c.

◆ zend_update_property_null()

ZEND_API void zend_update_property_null ( zend_class_entry * scope,
zend_object * object,
const char * name,
size_t name_length )

Definition at line 5006 of file zend_API.c.

◆ zend_update_property_str()

ZEND_API void zend_update_property_str ( zend_class_entry * scope,
zend_object * object,
const char * name,
size_t name_length,
zend_string * value )

Definition at line 5057 of file zend_API.c.

◆ zend_update_property_string()

ZEND_API void zend_update_property_string ( zend_class_entry * scope,
zend_object * object,
const char * name,
size_t name_length,
const char * value )

Definition at line 5066 of file zend_API.c.

◆ zend_update_property_stringl()

ZEND_API void zend_update_property_stringl ( zend_class_entry * scope,
zend_object * object,
const char * name,
size_t name_length,
const char * value,
size_t value_length )

Definition at line 5076 of file zend_API.c.

◆ zend_update_static_property()

ZEND_API zend_result zend_update_static_property ( zend_class_entry * scope,
const char * name,
size_t name_length,
zval * value )

Definition at line 5122 of file zend_API.c.

◆ zend_update_static_property_bool()

ZEND_API zend_result zend_update_static_property_bool ( zend_class_entry * scope,
const char * name,
size_t name_length,
zend_long value )

Definition at line 5140 of file zend_API.c.

◆ zend_update_static_property_double()

ZEND_API zend_result zend_update_static_property_double ( zend_class_entry * scope,
const char * name,
size_t name_length,
double value )

Definition at line 5158 of file zend_API.c.

◆ zend_update_static_property_ex()

ZEND_API zend_result zend_update_static_property_ex ( zend_class_entry * scope,
zend_string * name,
zval * value )

Definition at line 5086 of file zend_API.c.

◆ zend_update_static_property_long()

ZEND_API zend_result zend_update_static_property_long ( zend_class_entry * scope,
const char * name,
size_t name_length,
zend_long value )

Definition at line 5149 of file zend_API.c.

◆ zend_update_static_property_null()

ZEND_API zend_result zend_update_static_property_null ( zend_class_entry * scope,
const char * name,
size_t name_length )

Definition at line 5131 of file zend_API.c.

◆ zend_update_static_property_string()

ZEND_API zend_result zend_update_static_property_string ( zend_class_entry * scope,
const char * name,
size_t name_length,
const char * value )

Definition at line 5167 of file zend_API.c.

◆ zend_update_static_property_stringl()

ZEND_API zend_result zend_update_static_property_stringl ( zend_class_entry * scope,
const char * name,
size_t name_length,
const char * value,
size_t value_length )

Definition at line 5177 of file zend_API.c.

◆ zend_wrong_callback_error()

ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_error ( uint32_t num,
char * error )

Definition at line 365 of file zend_API.c.

◆ zend_wrong_callback_or_null_error()

ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_or_null_error ( uint32_t num,
char * error )

Definition at line 374 of file zend_API.c.

◆ zend_wrong_param_count()

ZEND_API ZEND_COLD void zend_wrong_param_count ( void )

Definition at line 94 of file zend_API.c.

◆ zend_wrong_parameter_class_error()

ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_class_error ( uint32_t num,
const char * name,
zval * arg )

Definition at line 305 of file zend_API.c.

◆ zend_wrong_parameter_class_or_long_error()

ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_class_or_long_error ( uint32_t num,
const char * name,
zval * arg )

Definition at line 325 of file zend_API.c.

◆ zend_wrong_parameter_class_or_long_or_null_error()

ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_class_or_long_or_null_error ( uint32_t num,
const char * name,
zval * arg )

Definition at line 335 of file zend_API.c.

◆ zend_wrong_parameter_class_or_null_error()

ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_class_or_null_error ( uint32_t num,
const char * name,
zval * arg )

Definition at line 315 of file zend_API.c.

◆ zend_wrong_parameter_class_or_string_error()

ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_class_or_string_error ( uint32_t num,
const char * name,
zval * arg )

Definition at line 345 of file zend_API.c.

◆ zend_wrong_parameter_class_or_string_or_null_error()

ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_class_or_string_or_null_error ( uint32_t num,
const char * name,
zval * arg )

Definition at line 355 of file zend_API.c.

◆ zend_wrong_parameter_error()

ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_error ( int error_code,
uint32_t num,
char * name,
zend_expected_type expected_type,
zval * arg )

Definition at line 243 of file zend_API.c.

◆ zend_wrong_parameter_type_error()

ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_type_error ( uint32_t num,
zend_expected_type expected_type,
zval * arg )

Definition at line 284 of file zend_API.c.

◆ zend_wrong_parameters_count_error()

ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameters_count_error ( uint32_t min_num_args,
uint32_t max_num_args )

Definition at line 225 of file zend_API.c.

◆ zend_wrong_parameters_none_error()

ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameters_none_error ( void )

Definition at line 214 of file zend_API.c.

◆ zend_wrong_property_read()

ZEND_API ZEND_COLD void zend_wrong_property_read ( zval * object,
zval * property )

Definition at line 103 of file zend_API.c.

◆ zend_zval_get_legacy_type()

ZEND_API zend_string * zend_zval_get_legacy_type ( const zval * arg)

Definition at line 184 of file zend_API.c.

◆ zend_zval_type_name()

ZEND_API const char * zend_zval_type_name ( const zval * arg)

Definition at line 167 of file zend_API.c.

◆ zend_zval_value_name()

ZEND_API const char * zend_zval_value_name ( const zval * arg)

Definition at line 148 of file zend_API.c.

Variable Documentation

◆ empty_fcall_info

ZEND_API const zend_fcall_info empty_fcall_info
extern

Definition at line 57 of file zend_execute_API.c.

◆ empty_fcall_info_cache

ZEND_API const zend_fcall_info_cache empty_fcall_info_cache
extern

Definition at line 58 of file zend_execute_API.c.