diff options
| author | Antony Dovgal <tony2001@php.net> | 2007-02-12 14:22:19 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2007-02-12 14:22:19 +0000 |
| commit | b877bb70de8b17076a83ef0f28e95be6ec84b9c6 (patch) | |
| tree | a25bde0e3ee7492c58f1542507dca60279f3f39c /ext/pcre/tests/preg_replace2.phpt | |
| parent | 8e49f0c54cee1a474426aa97edd8e736ae3d6304 (diff) | |
| download | php-git-b877bb70de8b17076a83ef0f28e95be6ec84b9c6.tar.gz | |
MFH: fix pcre tests
Diffstat (limited to 'ext/pcre/tests/preg_replace2.phpt')
| -rw-r--r-- | ext/pcre/tests/preg_replace2.phpt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/pcre/tests/preg_replace2.phpt b/ext/pcre/tests/preg_replace2.phpt index 4e2f39f8ca..0901c3b024 100644 --- a/ext/pcre/tests/preg_replace2.phpt +++ b/ext/pcre/tests/preg_replace2.phpt @@ -1,5 +1,11 @@ --TEST-- preg_replace() +--SKIPIF-- +<?php +if (@preg_match_all('/./u', "", $matches) === false) { + die("skip no utf8 support in PCRE library"); +} +?> --FILE-- <?php |
