Skip to content

Commit bb6d98f

Browse files
committed
Add patch for mongodb for PHP 8.5 [skip ci]
1 parent 024dd1c commit bb6d98f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/patch-extensions.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,7 @@ patch_yaml() {
9696
patch_zmq() {
9797
[[ "$PHP_VERSION" = "8.5" ]] && sed -i 's/zend_exception_get_default()/zend_ce_exception/' zmq.c
9898
}
99+
100+
patch_mongodb() {
101+
[[ "$PHP_VERSION" = "8.5" ]] && sed -i 's/IS_INTERNED/ZSTR_IS_INTERNED/' src/contrib/php_array_api.h
102+
}

0 commit comments

Comments
 (0)