php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
compact_literals.c File Reference

Go to the source code of this file.

Data Structures

struct  _literal_info
 

Macros

#define DEBUG_COMPACT_LITERALS   0
 
#define LITERAL_CLASS_CONST   1
 
#define LITERAL_STATIC_METHOD   2
 
#define LITERAL_STATIC_PROPERTY   3
 
#define LITERAL_INFO(n, related)
 

Typedefs

typedef struct _literal_info literal_info
 

Functions

void zend_optimizer_compact_literals (zend_op_array *op_array, zend_optimizer_ctx *ctx)
 

Macro Definition Documentation

◆ DEBUG_COMPACT_LITERALS

#define DEBUG_COMPACT_LITERALS   0

Definition at line 32 of file compact_literals.c.

◆ LITERAL_CLASS_CONST

#define LITERAL_CLASS_CONST   1

Definition at line 34 of file compact_literals.c.

◆ LITERAL_INFO

#define LITERAL_INFO ( n,
related )
Value:
do { \
info[n].num_related = (related); \
} while (0)
zend_long n
Definition ffi.c:4979

Definition at line 42 of file compact_literals.c.

◆ LITERAL_STATIC_METHOD

#define LITERAL_STATIC_METHOD   2

Definition at line 35 of file compact_literals.c.

◆ LITERAL_STATIC_PROPERTY

#define LITERAL_STATIC_PROPERTY   3

Definition at line 36 of file compact_literals.c.

Typedef Documentation

◆ literal_info

typedef struct _literal_info literal_info

Function Documentation

◆ zend_optimizer_compact_literals()

void zend_optimizer_compact_literals ( zend_op_array * op_array,
zend_optimizer_ctx * ctx )

Definition at line 154 of file compact_literals.c.