summaryrefslogtreecommitdiff
path: root/ext/pcre/tests/bug67238.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcre/tests/bug67238.phpt')
-rw-r--r--ext/pcre/tests/bug67238.phpt10
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/pcre/tests/bug67238.phpt b/ext/pcre/tests/bug67238.phpt
new file mode 100644
index 000000000..117662af6
--- /dev/null
+++ b/ext/pcre/tests/bug67238.phpt
@@ -0,0 +1,10 @@
+--TEST--
+Bug #67238 Ungreedy and min/max quantifier bug in PCRE 8.34 upstream
+--FILE--
+<?php
+
+echo preg_match('/a{1,3}b/U', 'ab');
+
+?>
+--EXPECTF--
+1