Skip to content

Commit 520c8fb

Browse files
committed
Update Xdebug patch for PHP 8.5
1 parent 54107d5 commit 520c8fb

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
@@ -50,6 +50,7 @@ patch_pdo_sqlsrv() {
5050
patch_xdebug() {
5151
[[ "$PHP_VERSION" = "8.5" ]] && sed -i 's/80500/80600/g' config.m4
5252
[[ "$PHP_VERSION" = "8.5" ]] && sed -i 's#ext/standard/php_smart_string.h#Zend/zend_smart_string.h#' src/develop/stack.c src/lib/var.c
53+
[[ "$PHP_VERSION" = "8.5" ]] && sed -i 's/samesite_s,/samesite_s, 0,/g' src/lib/compat.c
5354
[[ "$PHP_VERSION" = "8.4" || "$PHP_VERSION" = "8.5" ]] && sed -i -e "s|ext/standard/php_lcg.h|ext/random/php_random.h|" src/lib/usefulstuff.c
5455
}
5556

0 commit comments

Comments
 (0)