summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2020-05-13 10:56:10 +0200
committerRemi Collet <remi@php.net>2020-05-13 10:56:10 +0200
commitebdcdf39ed779d9b9fc1f2dec5200f05d9c17996 (patch)
tree71c0d821726e64620def8b3970def1a9f1cccd74
parentecc0a87ff2ec887726d1585ebdbe307bb4056610 (diff)
downloadphp-git-ebdcdf39ed779d9b9fc1f2dec5200f05d9c17996.tar.gz
skip when mbstring missing (no warning)
-rw-r--r--ext/standard/tests/strings/htmlentities25.phpt4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/tests/strings/htmlentities25.phpt b/ext/standard/tests/strings/htmlentities25.phpt
index 39f2b6113d..f2ac50df2c 100644
--- a/ext/standard/tests/strings/htmlentities25.phpt
+++ b/ext/standard/tests/strings/htmlentities25.phpt
@@ -4,6 +4,10 @@ htmlentities() should not be influenced by mb_internal_encoding()
default_charset=
internal_encoding=
mbstring.internal_encoding=ISO-8859-1
+--SKIPIF--
+<?php
+ extension_loaded("mbstring") or die("skip mbstring not available\n");
+?>
--FILE--
<?php