Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Infinite loop in BundleEntryReader after updating php7.2-intl to 7.2.17 which installs libicu64 #31089
locale_parse('root') now return an empty array as opposed to previos php versions which makes the Symfony\Component\Intl\Data\Bundle\Reader loop through fallback locales as
"en" => "root" => "" => "root" => "" and so on without it becoming null to break the loop
when reading from the regions because in the Symfony\Component\Intl\Locale::getFallback()
We had the same problem on some projects so we did overwrite the Locale.php class of the symfony/intl. The package is available under https://github.com/sulu/symfony-intl-fix. But I really would recommend to update to 3.4 and only use it as a temporary solution.