8f7eec80d4
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.
13 lines
319 B
Bash
Executable file
13 lines
319 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# Optional: Import test library
|
|
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
|
|
reportResults |