Searched refs:wordwrap (Results 1 – 15 of 15) sorted by relevance
/PHP-7.1/ext/standard/tests/strings/ |
H A D | wordwrap.phpt | 2 wordwrap() function 7 "12345 12345 12345 12345" === wordwrap("12345 12345 12345 12345") 12 "123ab123ab123" === wordwrap("123ab123ab123", 3, "ab") 13 "123ab123ab123" === wordwrap("123ab123ab123", 5, "ab") 14 "123ab 123ab123" === wordwrap("123 123ab123", 3, "ab") 15 "123ab123ab123" === wordwrap("123 123ab123", 5, "ab") 16 "123 123ab123" === wordwrap("123 123 123", 10, "ab") 18 "123ab123ab123" === wordwrap("123ab123ab123", 3, "ab", 1) 19 "123ab123ab123" === wordwrap("123ab123ab123", 5, "ab", 1) 24 "1ab2ab3ab4" === wordwrap("1234", 1, "ab", 1) [all …]
|
H A D | wordwrap_variation3.phpt | 13 echo "*** Testing wordwrap() : usage variations ***\n"; 15 $str = 'testing wordwrap function'; 85 var_dump( wordwrap($str, $width, $break) ); 89 var_dump( wordwrap($str, $width, $break, $cut) ); 104 *** Testing wordwrap() : usage variations *** 120 string(33) "testing-2345wordwrap-2345function" 121 string(33) "testing-2345wordwrap-2345function" 122 string(33) "testing-2345wordwrap-2345function" 128 string(33) "testing-10.5wordwrap-10.5function" 129 string(33) "testing-10.5wordwrap-10.5function" [all …]
|
H A D | wordwrap_variation2.phpt | 108 wordwrap 117 wordwrap 124 wordwrap 196 wordwrap 203 wordwrap 212 wordwrap 219 wordwrap 267 wordwrap 276 wordwrap 324 wordwrap [all …]
|
H A D | wordwrap_variation1.phpt | 2 Test wordwrap() function : usage variations - unexpected values for str argument 11 * testing wordwrap() by providing different values for str argument 14 echo "*** Testing wordwrap() : usage variations ***\n"; 77 // loop though each element of the array and check the working of wordwrap() 85 var_dump( wordwrap($str) ); 86 var_dump( wordwrap($str, $width) ); 87 var_dump( wordwrap($str, $width, $break) ); 91 var_dump( wordwrap($str, $width, $break, $cut) ); 95 var_dump( wordwrap($str, $width, $break, $cut) ); 106 *** Testing wordwrap() : usage variations *** [all …]
|
H A D | wordwrap_error.phpt | 2 Test wordwrap() function : error conditions 10 echo "*** Testing wordwrap() : error conditions ***\n"; 14 var_dump( wordwrap() ); 18 $str = 'testing wordwrap function'; 24 var_dump( wordwrap($str, $width, $break, $cut, $extra_arg) ); 32 var_dump( wordwrap($str, $width, $break, $cut) ); 38 var_dump( wordwrap($str, $width, $break, $cut) ); 44 var_dump( wordwrap($str, $width, $break, $cut) ); 50 var_dump( wordwrap($str, $width, $break, $cut) ); 55 *** Testing wordwrap() : error conditions *** [all …]
|
H A D | wordwrap_variation5.phpt | 2 Test wordwrap() function : usage variations - valid break arguments(spaces) 11 *test wordwrap() with break arguments as single spaces 14 echo "*** Testing wordwrap() : usage variations ***\n"; 23 var_dump( wordwrap($str, $width) ); // default break and cut value 28 var_dump( wordwrap($str, $width, $break) ); 29 var_dump( wordwrap($str, $width, $break1) ); 33 var_dump( wordwrap($str, $width, $break, $cut) ); 34 var_dump( wordwrap($str, $width, $break1, $cut) ); 38 var_dump( wordwrap($str, $width, $break, $cut) ); 39 var_dump( wordwrap($str, $width, $break1, $cut) ); [all …]
|
H A D | wordwrap_basic.phpt | 2 Test wordwrap() function : basic functionality 10 echo "*** Testing wordwrap() : basic functionality ***\n"; 17 // Calling wordwrap() with default arguments 18 var_dump( wordwrap($str) ); 20 // Calling wordwrap() with all possible optional arguments 22 var_dump( wordwrap($str, $width) ); 24 var_dump( wordwrap($str, $width, $break) ); 26 // Calling wordwrap() with all arguments 30 var_dump( wordwrap($str, $width, $break, $cut) ); 35 var_dump( wordwrap($str, $width, $break, $cut) ); [all …]
|
H A D | wordwrap_variation4.phpt | 2 Test wordwrap() function : usage variations - unexptected value for cut argument 5 /* Prototype : string wordwrap ( string $str [, int $width [, string $break [, bool $cut]]] ) 11 * test wordwrap() by supplying different values for cut argument 14 echo "*** Testing wordwrap() : usage variations ***\n"; 16 $str = 'testing wordwrap function'; 68 // loop though each element of the array and check the working of wordwrap() 76 var_dump( wordwrap($str, $width, $break, $cut) ); 87 *** Testing wordwrap() : usage variations *** 89 --- Testing wordwrap() by supplying different values for 'cut' argument --- 110 Warning: wordwrap() expects parameter 4 to be boolean, array given in %s on line %d [all …]
|
H A D | bug28386.phpt | 2 Bug #28386 (wordwrap() wraps text 1 character too soon) 7 echo wordwrap($string, 9);
|
H A D | bug20927.phpt | 2 Bug #20927 (Segfault on wordwrap statement) 12 var_dump(wordwrap($string, $linelength, $break, 1));
|
/PHP-7.1/ext/standard/ |
H A D | php_string.h | 38 PHP_FUNCTION(wordwrap);
|
H A D | string.c | 935 PHP_FUNCTION(wordwrap) in PHP_FUNCTION() argument
|
H A D | basic_functions.c | 2714 PHP_FE(wordwrap, arginfo_wordwrap)
|
/PHP-7.1/ext/phar/phar/ |
H A D | clicommand.inc | 239 return $b . wordwrap($r, $p, "\n".$sp);
|
/PHP-7.1/ |
H A D | .gitattributes | 136 /ext/standard/tests/strings/wordwrap.phpt -crlf
|
Completed in 123 milliseconds