XCache is a fast, stable PHP opcode cacher that has been proven and is now running on production servers under high load. https://xcache.lighttpd.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
884 B

#include "php.h"
#define OPSPECS(OPSPEC) \
OPSPEC(STD) \
OPSPEC(UNUSED) \
OPSPEC(OPLINE) \
OPSPEC(FCALL) \
OPSPEC(INIT_FCALL) \
OPSPEC(ARG) \
OPSPEC(CAST) \
OPSPEC(FETCH) \
OPSPEC(DECLARE) \
OPSPEC(SEND) \
OPSPEC(SEND_NOREF) \
OPSPEC(FCLASS) \
OPSPEC(UCLASS) \
OPSPEC(CLASS) \
OPSPEC(FE) \
OPSPEC(IFACE) \
OPSPEC(ISSET) \
OPSPEC(BIT) \
OPSPEC(VAR) \
OPSPEC(TMP) \
OPSPEC(JMPADDR) \
OPSPEC(BRK) \
OPSPEC(CONT) \
OPSPEC(INCLUDE) \
OPSPEC(ASSIGN)
#define OPSPECS_DEF_ENUM(name) OPSPEC_##name,
typedef enum { OPSPECS(OPSPECS_DEF_ENUM) OPSPEC_DUMMY } xc_op_spec_t;
typedef struct {
xc_op_spec_t ext;
xc_op_spec_t op1;
xc_op_spec_t op2;
xc_op_spec_t res;
} xc_opcode_spec_t;
const xc_opcode_spec_t *xc_get_opcode_spec(zend_uchar opcode);
zend_uchar xc_get_opcode_spec_count();
zend_uchar xc_get_op_spec_count();
const char *xc_get_op_spec(zend_uchar spec);