summaryrefslogtreecommitdiff
path: root/ext/iconv/tests/iconv_substr.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/iconv/tests/iconv_substr.phpt')
-rw-r--r--ext/iconv/tests/iconv_substr.phpt3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/iconv/tests/iconv_substr.phpt b/ext/iconv/tests/iconv_substr.phpt
index 6ca545b2ea..2a514e6f61 100644
--- a/ext/iconv/tests/iconv_substr.phpt
+++ b/ext/iconv/tests/iconv_substr.phpt
@@ -34,6 +34,7 @@ foo("あいうえおかきくけこさしす", 5, 7, "EUC-JP");
bar("This is a test", 100000);
bar("This is a test", 0, 100000);
bar("This is a test", -3);
+bar("This is a test", -3, null);
bar("This is a test", 0, -9);
bar("This is a test", 0, -100000);
bar("This is a test", -9, -100000);
@@ -50,6 +51,8 @@ string(14) "This is a test"
string(14) "This is a test"
string(3) "est"
string(3) "est"
+string(3) "est"
+string(3) "est"
string(5) "This "
string(5) "This "
bool(false)