Skip to content

Commit bfc3e45

Browse files
committed
Move _IS_PLACEHOLDER constants
1 parent 3ddb387 commit bfc3e45

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Zend/zend_types.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,10 @@ struct _zend_ast_ref {
649649
#define _IS_BOOL 18
650650
#define _IS_NUMBER 19
651651

652+
/* used for place holders */
653+
#define _IS_PLACEHOLDER_ARG 20
654+
#define _IS_PLACEHOLDER_VARIADIC 21
655+
652656
/* guard flags */
653657
#define ZEND_GUARD_PROPERTY_GET (1<<0)
654658
#define ZEND_GUARD_PROPERTY_SET (1<<1)
@@ -666,10 +670,6 @@ struct _zend_ast_ref {
666670
#define ZEND_GUARD_PROTECT_RECURSION(pg, t) *pg |= ZEND_GUARD_RECURSION_TYPE(t)
667671
#define ZEND_GUARD_UNPROTECT_RECURSION(pg, t) *pg &= ~ZEND_GUARD_RECURSION_TYPE(t)
668672

669-
/* used for place holders */
670-
#define _IS_PLACEHOLDER_ARG 20
671-
#define _IS_PLACEHOLDER_VARIADIC 21
672-
673673
static zend_always_inline uint8_t zval_get_type(const zval* pz) {
674674
return pz->u1.v.type;
675675
}

0 commit comments

Comments
 (0)