diff options
Diffstat (limited to 'ext/pcre/tests/recursion_limit.phpt')
-rw-r--r-- | ext/pcre/tests/recursion_limit.phpt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/pcre/tests/recursion_limit.phpt b/ext/pcre/tests/recursion_limit.phpt index 2a43aa27d6..9933b5c4d7 100644 --- a/ext/pcre/tests/recursion_limit.phpt +++ b/ext/pcre/tests/recursion_limit.phpt @@ -1,5 +1,11 @@ --TEST-- PCRE Recursion limit +--SKIPIF-- +<?php +if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) { + die("skip no support for \p support PCRE library"); +} +?> --INI-- pcre.recursion_limit=2 --FILE-- |