php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zend_verify_type_inference.h File Reference
#include "zend_type_info.h"
#include "zend_compile.h"

Go to the source code of this file.

Macros

#define VM_TRACE_START()
 
#define VM_TRACE_END()
 
#define VM_TRACE(op)
 
#define VM_TRACE_OP_END(op)
 
#define ZEND_VERIFY_TYPE_INFERENCE_ERROR(msg, ...)
 

Macro Definition Documentation

◆ VM_TRACE

#define VM_TRACE ( op)
Value:
zend_verify_inference_use(execute_data, OPLINE); \
{ \
zend_execute_data *__current_ex = NULL; \
const zend_op *__current_op = NULL; \
if (OPLINE->opcode != ZEND_GENERATOR_RETURN) { \
__current_ex = execute_data; __current_op = OPLINE; \
}
#define NULL
Definition gdcache.h:45
struct _zend_op zend_op
struct _zend_execute_data zend_execute_data
Definition zend_types.h:91
execute_data
#define OPLINE
#define ZEND_GENERATOR_RETURN

Definition at line 22 of file zend_verify_type_inference.h.

◆ VM_TRACE_END

#define VM_TRACE_END ( )

Definition at line 21 of file zend_verify_type_inference.h.

◆ VM_TRACE_OP_END

#define VM_TRACE_OP_END ( op)
Value:
if (__current_ex && __current_op) { \
zend_verify_inference_def(__current_ex, __current_op); \
} \
}

Definition at line 29 of file zend_verify_type_inference.h.

◆ VM_TRACE_START

#define VM_TRACE_START ( )

Definition at line 20 of file zend_verify_type_inference.h.

◆ ZEND_VERIFY_TYPE_INFERENCE_ERROR

#define ZEND_VERIFY_TYPE_INFERENCE_ERROR ( msg,
... )
Value:
do { \
fprintf(stderr, "Inference verification failed at %04d %s (" msg ")\n", (int)(opline - EX(func)->op_array.opcodes), operand, __VA_ARGS__); \
_exit(139); \
} while (0)
char * msg
Definition phpdbg.h:289
execute_data func
#define EX(element)

Definition at line 35 of file zend_verify_type_inference.h.