diff options
author | Anatol Belski <ab@php.net> | 2018-09-10 09:51:58 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2018-09-10 09:51:58 +0200 |
commit | c126061e4c6eaa98df0e6d07ad81f79ebd77c33f (patch) | |
tree | c2d9078bc52e86b8ef3c6dae9cb6bcddc9359d20 | |
parent | 1e550e6f7e8faf2cdde77fee9a2166341f189489 (diff) | |
parent | 27b270de896be6dbe3ce70866421d704cbee4c6f (diff) | |
download | php-git-c126061e4c6eaa98df0e6d07ad81f79ebd77c33f.tar.gz |
Merge branch 'PHP-7.3'
* PHP-7.3:
Skip test on unsuitable env
-rw-r--r-- | ext/pcre/tests/bug76850.phpt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/pcre/tests/bug76850.phpt b/ext/pcre/tests/bug76850.phpt index ec06ccf897..89a64f9f78 100644 --- a/ext/pcre/tests/bug76850.phpt +++ b/ext/pcre/tests/bug76850.phpt @@ -1,5 +1,12 @@ --TEST-- Bug #76850 Exit code mangled by set locale/preg_match +--SKIPIF-- +<?php + $l = setlocale(LC_CTYPE, 0); + if ("C" == $l) { + die("skip need the current locale to be other than C"); + } +?> --FILE-- <?php |