Skip to content

Commit faca6cc

Browse files
authored
Add compatibility define for ZEND_AST_CLONE (#253)
1 parent 7e7c1c4 commit faca6cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

php_ast.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,10 @@ extern ast_str_globals str_globals;
9393
# define ZEND_AST_PARENT_PROPERTY_HOOK_CALL 0x2f8
9494
#endif
9595

96-
/* ZEND_AST_EXIT has been replaced with plain function call. */
96+
/* ZEND_AST_EXIT and ZEND_AST_CLONE have been replaced with plain function call. */
9797
#if PHP_VERSION_ID >= 80500
9898
# define ZEND_AST_EXIT 0x1fd
99+
# define ZEND_AST_CLONE 0x1fc
99100
#endif
100101

101102
/* Pretend it still exists */

0 commit comments

Comments
 (0)