Lines Matching refs:wordwrap

2 wordwrap() function
6 var_dump("12345 12345 12345 12345" === wordwrap("12345 12345 12345 12345"));
7 var_dump("12345 12345\n1234567890\n1234567890" === wordwrap("12345 12345 1234567890 1234567890",12)…
8 var_dump("12345\n12345\n12345\n12345" === wordwrap("12345 12345 12345 12345",0));
9 var_dump("12345ab12345ab12345ab12345" === wordwrap("12345 12345 12345 12345",0,"ab"));
10 var_dump("12345 12345ab1234567890ab1234567890" === wordwrap("12345 12345 1234567890 1234567890",12,…
11 var_dump("123ab123ab123" === wordwrap("123ab123ab123", 3, "ab"));
12 var_dump("123ab123ab123" === wordwrap("123ab123ab123", 5, "ab"));
13 var_dump("123ab 123ab123" === wordwrap("123 123ab123", 3, "ab"));
14 var_dump("123ab123ab123" === wordwrap("123 123ab123", 5, "ab"));
15 var_dump("123 123ab123" === wordwrap("123 123 123", 10, "ab"));
17 var_dump("123ab123ab123" === wordwrap("123ab123ab123", 3, "ab", 1));
18 var_dump("123ab123ab123" === wordwrap("123ab123ab123", 5, "ab", 1));
19 var_dump("123ab 12ab3ab123" === wordwrap("123 123ab123", 3, "ab", 1));
20 var_dump("123 ab123ab123" === wordwrap("123 123ab123", 5, "ab", 1));
21 var_dump("123 123ab 123" === wordwrap("123 123 123", 8, "ab", 1));
22 var_dump("123 ab12345 ab123" === wordwrap("123 12345 123", 8, "ab", 1));
23 var_dump("1ab2ab3ab4" === wordwrap("1234", 1, "ab", 1));
25 var_dump("12345|12345|67890" === wordwrap("12345 1234567890", 5, "|", 1));
27 var_dump("123|==1234567890|==123" === wordwrap("123 1234567890 123", 10, "|==", 1));
31 wordwrap(chr(0), 0, "");
56 wordwrap(): Argument #3 ($break) must not be empty