Searched refs:wordwrap (Results 1 – 12 of 12) sorted by relevance
/PHP-8.1/ext/standard/tests/strings/ |
H A D | wordwrap.phpt | 2 wordwrap() function 6 var_dump("12345 12345 12345 12345" === wordwrap("12345 12345 12345 12345")); 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)); 23 var_dump("1ab2ab3ab4" === wordwrap("1234", 1, "ab", 1)); 31 wordwrap(chr(0), 0, ""); [all …]
|
H A D | wordwrap_basic.phpt | 2 Test wordwrap() function : basic functionality 5 echo "*** Testing wordwrap() : basic functionality ***\n"; 12 // Calling wordwrap() with default arguments 13 var_dump( wordwrap($str) ); 15 // Calling wordwrap() with all possible optional arguments 17 var_dump( wordwrap($str, $width) ); 19 var_dump( wordwrap($str, $width, $break) ); 21 // Calling wordwrap() with all arguments 25 var_dump( wordwrap($str, $width, $break, $cut) ); 30 var_dump( wordwrap($str, $width, $break, $cut) ); [all …]
|
H A D | wordwrap_variation5.phpt | 2 Test wordwrap() function : usage variations - valid break arguments(spaces) 6 *test wordwrap() with break arguments as single spaces 9 echo "*** Testing wordwrap() : usage variations ***\n"; 18 var_dump( wordwrap($str, $width) ); // default break and cut value 23 var_dump( wordwrap($str, $width, $break) ); 24 var_dump( wordwrap($str, $width, $break1) ); 28 var_dump( wordwrap($str, $width, $break, $cut) ); 29 var_dump( wordwrap($str, $width, $break1, $cut) ); 33 var_dump( wordwrap($str, $width, $break, $cut) ); 34 var_dump( wordwrap($str, $width, $break1, $cut) ); [all …]
|
H A D | wordwrap_error.phpt | 2 Test wordwrap() function : error conditions 5 echo "*** Testing wordwrap() : error conditions ***\n"; 7 $str = 'testing wordwrap function'; 13 echo "\n-- Testing wordwrap() function with negative/zero value for width argument --\n"; 18 var_dump( wordwrap($str, $width, $break, $cut) ); 26 wordwrap($str, $width, $break, $cut); 35 var_dump( wordwrap($str, $width, $break, $cut) ); 41 var_dump( wordwrap($str, $width, $break, $cut) ); 44 *** Testing wordwrap() : error conditions *** 46 -- Testing wordwrap() function with negative/zero value for width argument -- [all …]
|
H A D | bug28386.phpt | 2 Bug #28386 (wordwrap() wraps text 1 character too soon) 7 echo wordwrap($string, 9);
|
H A D | wordwrap_memory_limit_win32.phpt | 2 No overflow should occur during the memory_limit check for wordwrap() 15 wordwrap($str, 1, $str2);
|
H A D | wordwrap_memory_limit.phpt | 2 No overflow should occur during the memory_limit check for wordwrap() 15 wordwrap($str, 1, $str2);
|
H A D | bug20927.phpt | 2 Bug #20927 (Segfault on wordwrap statement) 12 var_dump(wordwrap($string, $linelength, $break, 1));
|
/PHP-8.1/ext/phar/phar/ |
H A D | clicommand.inc | 239 return $b . wordwrap($r, $p, "\n".$sp);
|
/PHP-8.1/ext/standard/ |
H A D | basic_functions.stub.php | 738 function wordwrap(string $string, int $width = 75, string $break = "\n", bool $cut_long_words = fal… function
|
H A D | basic_functions_arginfo.h | 2467 ZEND_FUNCTION(wordwrap); 3105 ZEND_FE(wordwrap, arginfo_wordwrap)
|
H A D | string.c | 881 PHP_FUNCTION(wordwrap) in PHP_FUNCTION() argument
|
Completed in 82 milliseconds