Get support for ramsey/php-icu-testing

If you're new to LTH, please see our FAQ for more information on what it is we do.

Support Options

Unfortunately, there are currently no active helpers for this repository on the platform. Until they become available, we reccomend the following actions:

View Open Issues

Take a look to see if anyone else has experienced the same issue as you and if they managed to solve it.

Open an Issue

Make sure to read any relevant guidelines for opening issues on this repo before posting a new issue.

Sponsor directly

Check out the page and see if there are any options to sponsor this project or it's developers directly.

ramsey/php-icu-testing

php-icu-testing

I put this repository together to illustrate issues I'm facing with various versions of ICU, any of which PHP might be built with, depending on the default distribution packages of the underlying system.

First, clone this repository and run build_images.sh to build a handful of Docker images to use for testing:

git clone https://github.com/ramsey/php-icu-testing.git
cd php-icu-testing/
./build_images.sh

Then, run the following Docker commands to execute the example within the containers.

docker run --rm -it -v $PWD:/src -w /src php-icu:7.4-70 php example.php
docker run --rm -it -v $PWD:/src -w /src php-icu:7.4-69 php example.php
docker run --rm -it -v $PWD:/src -w /src php-icu:7.4-68 php example.php
docker run --rm -it -v $PWD:/src -w /src php-icu:7.4-67 php example.php
docker run --rm -it -v $PWD:/src -w /src php-icu:7.4-66 php example.php

You'll note that the script begins failing in image php-icu:7.4-68. The version of ICU used in this image is 68.1. As this illustrates, either ICU 68.1 doesn't support the message format syntax in the example, or PHP's integration with ICU 68.1 doesn't support it. Either way, it's incredibly difficult to communicate this dependency from composer.json, since ext-intl is not versioned, much less can you specify the version of ICU to use.

Our Mission

We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.

Interesting Articles

Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated

p-e622a1a2