Skip to content

Conversation

@kitrio
Copy link
Contributor

@kitrio kitrio commented Dec 31, 2025

htmlpurifier support PHP 5.6 ~ PHP 8.5

so, below PHP 5.5 removed

remove items:

  • PHP_EOL constant (for PHP 5.0.2).
  • ze_compatibility ini setting check.
  • Check for PHP 5.0.0 or higher in getClass method.
  • remove: idna constant check, icu 49.2 (PHP 5.5) below support

IDNA_NONTRANSITIONAL_TO_ASCII, INTL_IDNA_VARIANT_UTS46
support above icu 4.6 version so always support

This constant check statement was added to support PHP 5.3 (icu 3.8 ~ 4.8)

IDNA_NONTRANSITIONAL_TO_ASCII, INTL_IDNA_VARIANT_UTS46
support above icu 4.6 version so always support

this constant add because support PHP 5.3 (icu 3.8 ~ 4.8)
ezyang#168
This is support php 4 version code.
so, it was removed.
This option is removed PHP 5.3
@kitrio kitrio changed the title Remove old php support code. Remove: old php support code. Dec 31, 2025
@kitrio kitrio changed the title Remove: old php support code. refactor: old php support code. Dec 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant