Home
last modified time | relevance | path

Searched refs:rtrim (Results 1 – 23 of 23) sorted by relevance

/PHP-7.2/ext/standard/tests/strings/
H A Drtrim.phpt2 Testing rtrim() function
11 rtrim();
12 rtrim("", " ", 1);
17 var_dump ( rtrim("rtrim test \t\0 ") ); /* without second Argument */
61 string(10) "rtrim test"
62 string(13) "rtrim test "
65 string(10) "rtrim test"
66 string(11) "rtrim test "
67 string(10) "rtrim test"
68 string(10) "rtrim test"
[all …]
H A Drtrim_error.phpt2 Test rtrim() function : error conditions
12 echo "*** Testing rtrim() : error conditions ***\n";
15 var_dump( rtrim() );
19 var_dump( rtrim("Hello World", "Heo", $extra_arg) );
24 var_dump(rtrim($hello, "..a"));
25 var_dump(rtrim($hello, "a.."));
26 var_dump(rtrim($hello, "z..a"));
27 var_dump(rtrim($hello, "a..b..c"));
32 *** Testing rtrim() : error conditions ***
34 -- Testing rtrim() function with no arguments --
[all …]
H A Drtrim_basic.phpt2 Test rtrim() function : basic functionality
6 /* Prototype : string rtrim ( string $str [, string $charlist ] )
11 echo "*** Testing rtrim() : basic functionality ***\n";
21 var_dump(rtrim($text));
24 var_dump(rtrim($hello, "=!"));
27 var_dump(rtrim($hello, "!dlWro="));
30 var_dump(rtrim($alpha, "A..Z"));
33 var_dump(rtrim($binary, "\x00..\x1F"));
38 *** Testing rtrim() : basic functionality ***
H A Drtrim_variation1.phpt2 Test rtrim() function : usage variations - test values for $str argument
6 /* Prototype : string rtrim ( string $str [, string $charlist ] )
11 echo "*** Testing rtrim() function: with unexpected inputs for 'str' argument ***\n";
71 // loop through with each element of the $inputs array to test rtrim() function
76 var_dump( rtrim($input, " !-") );
85 *** Testing rtrim() function: with unexpected inputs for 'str' argument ***
106 Warning: rtrim() expects parameter 1 to be string, array given in %s on line %d
110 Warning: rtrim() expects parameter 1 to be string, array given in %s on line %d
114 Warning: rtrim() expects parameter 1 to be string, array given in %s on line %d
132 Warning: rtrim() expects parameter 1 to be string, resource given in %s on line %d
H A Drtrim_variation2.phpt2 Test rtrim() function : usage variations - test values for $charlist argument
6 /* Prototype : string rtrim ( string $str [, string $charlist ] )
11 echo "*** Testing rtrim() function: with unexpected inputs for 'charlist' argument ***\n";
71 // loop through with each element of the $inputs array to test rtrim() function
76 var_dump( rtrim("!---Hello World---!", $charlist) );
85 *** Testing rtrim() function: with unexpected inputs for 'charlist' argument ***
106 Warning: rtrim() expects parameter 2 to be string, array given in %s on line %d
110 Warning: rtrim() expects parameter 2 to be string, array given in %s on line %d
114 Warning: rtrim() expects parameter 2 to be string, array given in %s on line %d
132 Warning: rtrim() expects parameter 2 to be string, resource given in %s on line %d
H A Dtrim.phpt2 trim(), rtrim() and ltrim() functions
9 'ABC' === rtrim('ABC')
12 " \\0\\t\\nABC" === rtrim(" \\0\\t\\nABC \\0\\t\\n")
15 " \\0\\t\\nABC \\0\\t\\n" === rtrim(" \\0\\t\\nABC \\0\\t\\n",'')
/PHP-7.2/scripts/dev/generate-phpt/src/
H A DgtCodeSnippet.php26 $array[] = rtrim($l);
48 $array[] = rtrim($t);
/PHP-7.2/ext/openssl/tests/
H A Dopenssl_decrypt_basic.phpt26 var_dump(rtrim($output));
/PHP-7.2/sapi/cgi/tests/
H A D011.phpt20 echo rtrim($script) . "\n";
/PHP-7.2/ext/standard/
H A Dphp_string.h31 PHP_FUNCTION(rtrim);
H A Dbasic_functions.c2805 PHP_FE(rtrim, arginfo_rtrim)
2832 PHP_FALIAS(chop, rtrim, arginfo_rtrim)
H A Dstring.c926 PHP_FUNCTION(rtrim) in PHP_FUNCTION() argument
/PHP-7.2/scripts/dev/
H A Dcheck_parameters.php169 $name = rtrim($name, ')');
H A Dgenerate-phpt.phar306 $array[] = rtrim($l);
328 $array[] = rtrim($t);
/PHP-7.2/sapi/fpm/tests/
H A Dstatus.inc104 $pattern = rtrim($pattern, $rowPattern[strlen($rowPattern) - 1]);
H A Dlogtool.inc175 $out = rtrim($line);
324 $line = rtrim($line);
H A Dtester.inc911 $fileName = rtrim(basename($this->fileName), '.');
923 $fileName = rtrim($this->fileName, '.');
/PHP-7.2/ext/intl/tests/
H A Dlocale_parse_locale.phpt81 $res_str = rtrim($res_str);
H A Dlocale_parse_locale2.phpt82 $res_str = rtrim($res_str);
/PHP-7.2/ext/standard/html_tables/
H A Dhtml_table_gen.php334 $map[] = array($matches[1], $matches[2], rtrim($matches[3]));
/PHP-7.2/
H A D.gitattributes74 /ext/standard/tests/strings/rtrim.phpt -crlf
H A Drun-tests.php1248 echo rtrim($block);
2215 $info = ' XFAIL REASON: ' . rtrim($section_text['XFAIL']);
/PHP-7.2/ext/sqlite3/libsqlite/
H A Dsqlite3.c114923 FUNCTION(rtrim, 1, 2, 0, trimFunc ),
114924 FUNCTION(rtrim, 2, 2, 0, trimFunc ),

Completed in 586 milliseconds