Skip to content

Commit a08f79d

Browse files
committed
Update patch for pdo_sqlsrv for PHP 8.5
1 parent cd81134 commit a08f79d

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
@@ -24,6 +24,7 @@ patch_pdo_sqlsrv() {
2424
cd source/pdo_sqlsrv || exit 1
2525
cp -rf ../shared ./
2626
fi
27+
[[ "$PHP_VERSION" = "8.5" ]] && sed -i 's/zval_ptr_dtor( &dbh->query_stmt_zval );/OBJ_RELEASE(dbh->query_stmt_obj);dbh->query_stmt_obj = NULL;/' php_pdo_sqlsrv_int.h
2728
}
2829

2930
# Function to patch xdebug source.

0 commit comments

Comments
 (0)