Skip to content

Commit 9a7d407

Browse files
committed
Update ast patch for PHP 8.5
1 parent 4617f49 commit 9a7d407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/patch-extensions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Function to patch ast source.
22
patch_ast() {
33
[[ "$PHP_VERSION" = "8.4" || "$PHP_VERSION" = "8.5" ]] && sed -i '/ast_register_flag_constant("DIM_ALTERNATIVE_SYNTAX/d' ast.c
4-
[[ "$PHP_VERSION" = "8.5" ]] && sed -i '/ZEND_AST_EXIT/d' ast_data.c
4+
[[ "$PHP_VERSION" = "8.5" ]] && sed -i -e '/ZEND_AST_EXIT/d' -e '/ZEND_AST_CLONE/d' ast_data.c
55
}
66

77
# Function to patch imagick source.

0 commit comments

Comments
 (0)