35#define ASSERTG(v) ZEND_MODULE_GLOBALS_ACCESSOR(assert, v)
41#define ZEND_INI_STAGE_ASSERT_OPTIONS (1<<6)
43static inline bool php_must_emit_ini_deprecation(
int stage)
50 if (
EG(current_execute_data)) {
56 if (php_must_emit_ini_deprecation(stage)) {
65 if (new_value &&
ZSTR_LEN(new_value)) {
66 if (php_must_emit_ini_deprecation(stage)) {
84 if (php_must_emit_ini_deprecation(stage) && !*
p) {
94 if (php_must_emit_ini_deprecation(stage) && *
p) {
104 if (php_must_emit_ini_deprecation(stage) && !*
p) {
115 if (php_must_emit_ini_deprecation(stage) && !*
p) {
130static
void php_assert_init_globals(zend_assert_globals *assert_globals_p)
133 assert_globals_p->cb =
NULL;
199 if (description_obj) {
215 filename =
ZSTR_KNOWN(ZEND_STR_UNKNOWN_CAPITALIZED);
224 if (description_str) {
PHPAPI zend_class_entry * assertion_error_ce
#define ZEND_INI_STAGE_ASSERT_OPTIONS
assert_options(int $option, mixed $value=UNKNOWN)
assert(mixed $assertion, Throwable|string|null $description=null)
PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format,...)
#define PHP_MSHUTDOWN_FUNCTION
#define PHP_MINIT_FUNCTION
#define PHP_MINFO_FUNCTION
#define PHP_RSHUTDOWN_FUNCTION
#define STD_PHP_INI_BOOLEAN
php_output_handler * active
unsigned char key[REFLECTION_KEY_LEN]
ZEND_API ZEND_COLD void zend_argument_value_error(uint32_t arg_num, const char *format,...)
#define ZEND_PARSE_PARAMETERS_END()
#define ZEND_INIT_MODULE_GLOBALS(module_name, globals_ctor, globals_dtor)
#define ZVAL_STRING(z, s)
#define ZEND_DECLARE_MODULE_GLOBALS(module_name)
#define ZEND_PARSE_PARAMETERS_START(min_num_args, max_num_args)
#define ZEND_END_MODULE_GLOBALS(module_name)
#define Z_PARAM_LONG(dest)
#define Z_PARAM_OBJ_OF_CLASS_OR_STR_OR_NULL(destination_object, base_ce, destination_string)
#define call_user_function(function_table, object, function_name, retval_ptr, param_count, params)
#define Z_PARAM_ZVAL(dest)
#define ZEND_BEGIN_MODULE_GLOBALS(module_name)
#define pefree(ptr, persistent)
#define pemalloc(size, persistent)
zend_string_release_ex(func->internal_function.function_name, 0)
ZEND_API ZEND_COLD void zend_throw_exception_internal(zend_object *exception)
ZEND_API ZEND_COLD zend_result zend_exception_error(zend_object *ex, int severity)
ZEND_API ZEND_COLD zend_object * zend_throw_exception(zend_class_entry *exception_ce, const char *message, zend_long code)
ZEND_API ZEND_COLD void zend_throw_unwind_exit(void)
ZEND_API zend_class_entry * zend_ce_throwable
ZEND_API uint32_t zend_get_executed_lineno(void)
ZEND_API zend_string * zend_get_executed_filename_ex(void)
ZEND_API zend_result zend_alter_ini_entry_ex(zend_string *name, zend_string *new_value, int modify_type, int stage, bool force_change)
ZEND_API bool zend_ini_parse_bool(zend_string *str)
#define ZEND_INI_STAGE_SHUTDOWN
#define DISPLAY_INI_ENTRIES()
#define ZEND_INI_STAGE_DEACTIVATE
#define ZEND_INI_GET_ADDR()
struct _zend_string zend_string
ZEND_API bool ZEND_FASTCALL zend_is_true(const zval *op)
#define UNEXPECTED(condition)
struct _zend_class_entry zend_class_entry
struct _zend_object zend_object
#define ZSTR_INIT_LITERAL(s, persistent)
#define ZVAL_STR_COPY(z, s)
ZEND_API void zval_ptr_dtor(zval *zval_ptr)