Skip to content

Conversation

hyh19962008
Copy link
Contributor

On Windows(with php 8.4.7 NTS-x64), if you run php -r "var_dump(ICONV_IMPL);", the result is like this:

string(10) ""libiconv""

So, the translit-failure.phpt and translit-utf8.phpt tests currently would be skipped on Windows.

@hyh19962008 hyh19962008 changed the title fix iconv tests got skipped on windows ext/iconv: fix iconv tests got skipped on windows Jun 8, 2025
@nielsdos nielsdos requested a review from cmb69 June 9, 2025 09:46
@nielsdos
Copy link
Member

nielsdos commented Jun 9, 2025

Intuitively it seems to me that the quotes should be dropped from the constant, but deferring this to cmb

@hyh19962008
Copy link
Contributor Author

I think it would be better not to change that constant value, cause it has been there since 2003. People might have codes depend on it.

Copy link
Member

@nielsdos nielsdos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, probably makes sense. I'll apply this to all active branches

@nielsdos nielsdos closed this in 5ff5ee0 Jun 18, 2025
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.

2 participants