Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
  CLDR 40a0 uses a lowercase "temp" instead of "Temp" in ICU >= 70.1
  Accommodate changes to canonicalized forms in ICU >= 70.1
  Change UBool to bool for equality operators in ICU >= 70.1
This commit is contained in:
Nikita Popov 2021-11-02 16:17:16 +01:00
commit 2654c3449f
7 changed files with 438 additions and 4 deletions

View file

@ -73,7 +73,11 @@ CodePointBreakIterator::~CodePointBreakIterator()
clearCurrentCharIter();
}
#if U_ICU_VERSION_MAJOR_NUM >= 70
bool CodePointBreakIterator::operator==(const BreakIterator& that) const
#else
UBool CodePointBreakIterator::operator==(const BreakIterator& that) const
#endif
{
if (typeid(*this) != typeid(that)) {
return false;