From 1b2b773a878b98aad2897e4ba6fbe8a4aa906c9f Mon Sep 17 00:00:00 2001 From: Ignas Rudaitis Date: Wed, 19 Aug 2026 16:54:33 +0300 Subject: [PATCH 1/5] Set display_error_function_args=On --- tests/require-missing-phpgte86.phpt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/require-missing-phpgte86.phpt b/tests/require-missing-phpgte86.phpt index db3ced0..850afa9 100644 --- a/tests/require-missing-phpgte86.phpt +++ b/tests/require-missing-phpgte86.phpt @@ -8,6 +8,11 @@ Include and require of nonexistent files (PHP >= 8.6) if (version_compare(PHP_VERSION_ID, "80600", "<")) { echo "skip PHP 8.6+ version of the test on PHP <8.6"; } +?> + +--INI-- +display_error_function_args=On + --FILE-- Date: Wed, 19 Aug 2026 16:59:07 +0300 Subject: [PATCH 2/5] The php.ini setting is actually named error_include_args --- tests/require-missing-phpgte86.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/require-missing-phpgte86.phpt b/tests/require-missing-phpgte86.phpt index 850afa9..32a0c4d 100644 --- a/tests/require-missing-phpgte86.phpt +++ b/tests/require-missing-phpgte86.phpt @@ -11,7 +11,7 @@ if (version_compare(PHP_VERSION_ID, "80600", "<")) { ?> --INI-- -display_error_function_args=On +error_include_args=On --FILE-- Date: Wed, 19 Aug 2026 17:09:23 +0300 Subject: [PATCH 3/5] Also set zend.exception_string_param_max_len --- tests/require-missing-phpgte86.phpt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/require-missing-phpgte86.phpt b/tests/require-missing-phpgte86.phpt index 32a0c4d..76c5062 100644 --- a/tests/require-missing-phpgte86.phpt +++ b/tests/require-missing-phpgte86.phpt @@ -12,6 +12,7 @@ if (version_compare(PHP_VERSION_ID, "80600", "<")) { --INI-- error_include_args=On +zend.exception_string_param_max_len=1000 --FILE-- Date: Thu, 20 Aug 2026 10:38:12 +0300 Subject: [PATCH 4/5] Try another way of ensuring the desired php.ini values --- .github/workflows/tests.yml | 1 + tests/require-missing-phpgte86.phpt | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0ab3398..2a0b44e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -51,6 +51,7 @@ jobs: with: php-version: ${{ matrix.php-versions }} extensions: mbstring + ini-file: development ini-values: zend.assertions=1, error_reporting=-1, display_errors=On, display_startup_errors=On, log_errors_max_len=0 coverage: none env: diff --git a/tests/require-missing-phpgte86.phpt b/tests/require-missing-phpgte86.phpt index 76c5062..2eb6601 100644 --- a/tests/require-missing-phpgte86.phpt +++ b/tests/require-missing-phpgte86.phpt @@ -10,10 +10,6 @@ if (version_compare(PHP_VERSION_ID, "80600", "<")) { } ?> ---INI-- -error_include_args=On -zend.exception_string_param_max_len=1000 - --FILE-- Date: Thu, 20 Aug 2026 10:43:54 +0300 Subject: [PATCH 5/5] List error_include_args=On under ini-values on its own --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2a0b44e..da5320b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -52,7 +52,7 @@ jobs: php-version: ${{ matrix.php-versions }} extensions: mbstring ini-file: development - ini-values: zend.assertions=1, error_reporting=-1, display_errors=On, display_startup_errors=On, log_errors_max_len=0 + ini-values: zend.assertions=1, error_reporting=-1, display_errors=On, display_startup_errors=On, log_errors_max_len=0, error_include_args=On coverage: none env: fail-fast: true