aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulien Boudry <julien.boudry@gmail.com>2023-01-05 00:12:53 +0300
committerGitHub <noreply@github.com>2023-01-05 00:12:53 +0300
commit8f7eec80d44f74c3aaa20634e938b071d95ff5c3 (patch)
treee36ca69a575fe729d450b34b41e0fff020bf96ed /test
parent2c646ed9fe2e34197e5632f71bce4aa59cdbcc4d (diff)
[PHP] Enable Mbstring (#371)
Mbstring is such a popular PHP extension that it is used everywhere and most libraries don't work without it. It can be compiled directly with PHP. The official Docker images of PHP include it.
Diffstat (limited to 'test')
-rwxr-xr-xtest/php/test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/php/test.sh b/test/php/test.sh
index 3e4e722..0f49c1a 100755
--- a/test/php/test.sh
+++ b/test/php/test.sh
@@ -6,6 +6,7 @@ set -e
source dev-container-features-test-lib
check "PHP version" php --version
+check "Mbstring loaded" php -r "extension_loaded('mbstring') || throw new Error('Extension Mbstring is not loaded');"
check "Composer version" composer --version
# Report result