From 51fb8398e2dcd56e7cb07bce9e0596ea14e2f03a Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Tue, 7 Apr 2020 15:41:06 +0200 Subject: Add additional preg_match test case (cherry picked from commit a1a044dcc74379fafb2b63db5ab033aa062aada7 on author's explicit request) --- ext/pcre/tests/preg_match_latin.phpt | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 ext/pcre/tests/preg_match_latin.phpt diff --git a/ext/pcre/tests/preg_match_latin.phpt b/ext/pcre/tests/preg_match_latin.phpt new file mode 100644 index 0000000000..8f1d1899cb --- /dev/null +++ b/ext/pcre/tests/preg_match_latin.phpt @@ -0,0 +1,35 @@ +--TEST-- +preg_match() single line match with latin input +--FILE-- + +===Done=== +--EXPECT-- +array(3) { + [0]=> + array(1) { + [0]=> + string(5) "latin" + } + [1]=> + array(1) { + [0]=> + string(18) "кириллица" + } + [2]=> + array(1) { + [0]=> + string(5) "latin" + } +} +===Done=== -- cgit v1.2.1