summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2004-05-13 17:44:24 +0000
committerSVN Migration <svn@php.net>2004-05-13 17:44:24 +0000
commit739846a6a833c48bf8f8f7ccc4b645fce829e8cc (patch)
treeb2750b1cd40b7b9689cb0ec123c6b4e8ecca0519
parente5d7aef143b375321afb1a30eb5efbdeed8bcdb3 (diff)
downloadphp-git-739846a6a833c48bf8f8f7ccc4b645fce829e8cc.tar.gz
This commit was manufactured by cvs2svn to create branch 'PHP_4_3'.
-rw-r--r--ext/standard/tests/strings/bug28386.phpt13
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/standard/tests/strings/bug28386.phpt b/ext/standard/tests/strings/bug28386.phpt
new file mode 100644
index 0000000000..9c7c158bc9
--- /dev/null
+++ b/ext/standard/tests/strings/bug28386.phpt
@@ -0,0 +1,13 @@
+--TEST--
+Bug #28386 (wordwrap() wraps text 1 character too soon)
+--FILE--
+<?php
+$text = "Some text";
+$string = "$text $text $text $text";
+echo wordwrap($string, 9);
+?>
+--EXPECT--
+Some text
+Some text
+Some text
+Some text