From 957bdafb86e5ec46f2ccee24dac532a833a065c6 Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Fri, 1 Aug 2008 22:56:35 +0000 Subject: [PATCH] - Add a test for bug #43993. --- ext/mbstring/tests/bug43993.phpt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 ext/mbstring/tests/bug43993.phpt diff --git a/ext/mbstring/tests/bug43993.phpt b/ext/mbstring/tests/bug43993.phpt new file mode 100644 index 0000000000..662045d3a9 --- /dev/null +++ b/ext/mbstring/tests/bug43993.phpt @@ -0,0 +1,26 @@ +--TEST-- +Bug #43993 (mb_substr_count() behaves differently to substr_count() with overlapping needles) +--SKIPIF-- + +--FILE-- + +--EXPECT-- +int(1) +int(3) +int(2) +int(3) +int(4) +int(5) +int(0) +int(10) +int(0) -- 2.50.1