From 0388d4a82ba98ce095b6f2e9414043f5351a29a0 Mon Sep 17 00:00:00 2001 From: Santiago San Martin Date: Sun, 8 Mar 2026 13:15:13 -0300 Subject: [PATCH] fix: `run-tests` script with xdebug version `>=` `3.0.0` --- tests/run-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run-tests b/tests/run-tests index 8f710753b87..b66d8be20c2 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -922,7 +922,7 @@ More .INIs : " , (function_exists(\'php_ini_scanned_files\') ? str_replace("\n" 'session' => array('session.auto_start=0'), 'tidy' => array('tidy.clean_output=0'), 'zlib' => array('zlib.output_compression=Off'), - 'xdebug' => array('xdebug.default_enable=0'), + 'xdebug' => version_compare(phpversion('xdebug'), '3.0.0', '>=') ? array('xdebug.mode=off') : array('xdebug.default_enable=0'), 'mbstring' => array('mbstring.func_overload=0'), );