Skip to content

Commit 134527f

Browse files
committed
Fix ast patch for PHP 8.5
1 parent 6713507 commit 134527f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/patch-extensions.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +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
45
}
56

67
# Function to patch imagick source.

0 commit comments

Comments
 (0)