Skip to content

Commit 81b0f46

Browse files
committed
Update Xdebug patch for PHP 8.5
1 parent 9f241ac commit 81b0f46

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
@@ -34,6 +34,7 @@ patch_pdo_sqlsrv() {
3434
# Function to patch xdebug source.
3535
patch_xdebug() {
3636
[[ "$PHP_VERSION" = "8.5" ]] && sed -i 's/80500/80600/g' config.m4
37+
[[ "$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
3738
[[ "$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
3839
}
3940

0 commit comments

Comments
 (0)