Skip to content

Commit

Permalink
Update Xdebug to 3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus-and committed Nov 28, 2024
1 parent 306f092 commit c254bed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ext/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MAKEFLAGS += --always-make

XDEBUG_VERSION := 3.3.2
XDEBUG_VERSION := 3.4.0
XDEBUG_GIT_URL := https://github.com/xdebug/xdebug

all: fetch-xdebug apply-patch build
Expand Down
8 changes: 4 additions & 4 deletions ext/fracker.patch
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ diff --git a/config.m4 b/config.m4
AC_MSG_CHECKING([for supported PHP version])
PHP_XDEBUG_FOUND_VERSION=`${PHP_CONFIG} --version`
PHP_XDEBUG_FOUND_VERNUM=`${PHP_CONFIG} --vernum`
@@ -114,7 +119,7 @@ if test "$PHP_XDEBUG" != "no"; then
@@ -115,7 +120,7 @@ if test "$PHP_XDEBUG" != "no"; then
XDEBUG_DEVELOP_SOURCES="src/develop/develop.c src/develop/monitor.c src/develop/php_functions.c src/develop/stack.c src/develop/superglobals.c"
XDEBUG_GCSTATS_SOURCES="src/gcstats/gc_stats.c"
XDEBUG_PROFILER_SOURCES="src/profiler/profiler.c"
Expand Down Expand Up @@ -401,7 +401,7 @@ diff --git a/src/tracing/tracing.h b/src/tracing/tracing.h
diff --git a/xdebug.c b/xdebug.c
--- a/xdebug.c
+++ b/xdebug.c
@@ -300,13 +300,17 @@ ZEND_INI_DISP(display_start_upon_error)
@@ -303,13 +303,17 @@ ZEND_INI_DISP(display_start_upon_error)
#endif

PHP_INI_BEGIN()
Expand All @@ -421,8 +421,8 @@ diff --git a/xdebug.c b/xdebug.c
+ STD_PHP_INI_ENTRY("xdebug.trigger_value", "FRACKER", PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateString, settings.library.trigger_value, zend_xdebug_globals, xdebug_globals)
STD_PHP_INI_ENTRY("xdebug.file_link_format", "", PHP_INI_ALL, OnUpdateString, settings.library.file_link_format, zend_xdebug_globals, xdebug_globals)
STD_PHP_INI_ENTRY("xdebug.filename_format", "", PHP_INI_ALL, OnUpdateString, settings.library.filename_format, zend_xdebug_globals, xdebug_globals)
#if __linux__
@@ -370,11 +374,11 @@ PHP_INI_BEGIN()
#if HAVE_XDEBUG_CONTROL_SOCKET_SUPPORT
@@ -373,11 +377,11 @@ PHP_INI_BEGIN()

/* Tracing settings */
STD_PHP_INI_ENTRY("xdebug.trace_output_name", "trace.%c", PHP_INI_ALL, OnUpdateString, settings.tracing.trace_output_name, zend_xdebug_globals, xdebug_globals)
Expand Down

0 comments on commit c254bed

Please sign in to comment.