Skip to content

Fix GH-24752: php_ini_loaded_file.phpt fails under make test - #24753

Closed
lazerg wants to merge 1 commit into
php:PHP-8.4from
lazerg:fix/gh-24752-php-ini-loaded-file-test
Closed

lazerg wants to merge 1 commit into
php:PHP-8.4from
lazerg:fix/gh-24752-php-ini-loaded-file-test

Conversation

@lazerg

@lazerg lazerg commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

make test runs the tests with -c tmp-php.ini, and that ends up in TEST_PHP_EXTRA_ARGS. The "no ini file" case passed those args along with -n, but -c still wins over -n, so it reported tmp-php.ini instead of false. That call already runs with -n, so it doesn't need the extra args at all.

Fixes #24752

@Sjord

Sjord commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

#24406

@lazerg

lazerg commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

Ah, same fix for this file, missed that - I'll close this one if #24406 lands first, otherwise the two shouldn't conflict since the hunk is identical.

@andypost

andypost commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

@lazerg

lazerg commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

Hey @Girgias, please take a look when you have time~

@lazerg

lazerg commented Nov 29, 2026

Copy link
Copy Markdown
Contributor Author

Closing this. The same change landed upstream in 6521c11.

@lazerg lazerg closed this Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants