diff options
author | Matteo Beccati <mbeccati@php.net> | 2019-03-29 14:09:39 +0100 |
---|---|---|
committer | Matteo Beccati <mbeccati@php.net> | 2019-03-30 18:29:49 +0100 |
commit | 263c58785433a555a56cd6226a9fa96cf699a7f5 (patch) | |
tree | 842a21e80afd9102f5ff234e1857d26f5ec2c860 | |
parent | f030f34622dbdf3b9c00fa714ee1ab87e7f7ec4e (diff) | |
download | php-git-263c58785433a555a56cd6226a9fa96cf699a7f5.tar.gz |
Fixed SKIPIF when --disable-mbregex is used
-rw-r--r-- | ext/mbstring/tests/bug77367.phpt | 4 | ||||
-rw-r--r-- | ext/mbstring/tests/bug77428.phpt | 5 | ||||
-rw-r--r-- | ext/mbstring/tests/bug77514.phpt | 5 |
3 files changed, 12 insertions, 2 deletions
diff --git a/ext/mbstring/tests/bug77367.phpt b/ext/mbstring/tests/bug77367.phpt index 76c0a9568f..6e00aa7a60 100644 --- a/ext/mbstring/tests/bug77367.phpt +++ b/ext/mbstring/tests/bug77367.phpt @@ -2,8 +2,8 @@ Bug #77367 (Negative size parameter in mb_split) --SKIPIF-- <?php -if (!extension_loaded('mbstring')) die('mbstring extension not available'); -if (!function_exists('mb_split')) die('mb_split() not available'); +if (!extension_loaded('mbstring')) die('skip mbstring extension not available'); +if (!function_exists('mb_split')) die('skip mb_split() not available'); ?> --FILE-- <?php diff --git a/ext/mbstring/tests/bug77428.phpt b/ext/mbstring/tests/bug77428.phpt index f153412acb..d387f34b77 100644 --- a/ext/mbstring/tests/bug77428.phpt +++ b/ext/mbstring/tests/bug77428.phpt @@ -1,5 +1,10 @@ --TEST-- Bug #77428: mb_ereg_replace() doesn't replace a substitution variable +--SKIPIF-- +<?php +if (!extension_loaded('mbstring')) die('skip mbstring extension not available'); +if (!function_exists('mb_ereg_replace')) die('skip mb_ereg_replace() not available'); +?> --FILE-- <?php diff --git a/ext/mbstring/tests/bug77514.phpt b/ext/mbstring/tests/bug77514.phpt index efcbea24d7..565a8fd773 100644 --- a/ext/mbstring/tests/bug77514.phpt +++ b/ext/mbstring/tests/bug77514.phpt @@ -1,5 +1,10 @@ --TEST-- Bug #77514: mb_ereg_replace() with trailing backslash adds null byte +--SKIPIF-- +<?php +if (!extension_loaded('mbstring')) die('skip mbstring extension not available'); +if (!function_exists('mb_ereg_replace')) die('skip mb_ereg_replace() not available'); +?> --FILE-- <?php |