Home
last modified time | relevance | path

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

/PHP-8.1/ext/standard/tests/strings/
H A Drtrim.phpt2 Testing rtrim() function
9 var_dump ( rtrim("rtrim test \t\0 ") ); /* without second Argument */
27 var_dump( rtrim($obj, "tc") );
40 var_dump( rtrim($str, "ing") );
46 string(10) "rtrim test"
47 string(13) "rtrim test "
49 string(10) "rtrim test"
50 string(11) "rtrim test "
51 string(10) "rtrim test"
52 string(10) "rtrim test"
[all …]
H A Drtrim_error.phpt2 Test rtrim() function : error conditions
6 echo "*** Testing rtrim() : error conditions ***\n";
9 echo "\n-- Test rtrim function with various invalid charlists\n";
10 var_dump(rtrim($hello, "..a"));
11 var_dump(rtrim($hello, "a.."));
12 var_dump(rtrim($hello, "z..a"));
13 var_dump(rtrim($hello, "a..b..c"));
17 *** Testing rtrim() : error conditions ***
19 -- Test rtrim function with various invalid charlists
21 Warning: rtrim(): Invalid '..'-range, no character to the left of '..' in %s on line %d
[all …]
H A Drtrim_basic.phpt2 Test rtrim() function : basic functionality
6 echo "*** Testing rtrim() : basic functionality ***\n";
16 var_dump(rtrim($text));
19 var_dump(rtrim($hello, "=!"));
22 var_dump(rtrim($hello, "!dlWro="));
25 var_dump(rtrim($alpha, "A..Z"));
28 var_dump(rtrim($binary, "\x00..\x1F"));
32 *** Testing rtrim() : basic functionality ***
H A Dtrim.phpt2 trim(), rtrim() and ltrim() functions
8 var_dump('ABC' === rtrim('ABC'));
11 var_dump(" \0\t\nABC" === rtrim(" \0\t\nABC \0\t\n"));
14 var_dump(" \0\t\nABC \0\t\n" === rtrim(" \0\t\nABC \0\t\n",''));
/PHP-8.1/ext/openssl/tests/
H A Dopenssl_decrypt_basic.phpt26 var_dump(rtrim($output));
/PHP-8.1/sapi/cgi/tests/
H A D011.phpt20 echo rtrim($script) . "\n";
/PHP-8.1/scripts/dev/
H A Dcheck_parameters.php165 $name = rtrim($name, ')');
/PHP-8.1/ext/intl/tests/
H A Dlocale_parse_locale2.phpt81 $res_str = rtrim($res_str);
/PHP-8.1/ext/standard/html_tables/
H A Dhtml_table_gen.php329 $map[] = array($matches[1], $matches[2], rtrim($matches[3]));
/PHP-8.1/sapi/fpm/tests/
H A Dstatus.inc105 $pattern = rtrim($pattern, $rowPattern[strlen($rowPattern) - 1]);
H A Dlogtool.inc299 $out = rtrim($line);
520 $line = rtrim($line);
H A Dtester.inc1257 $fileName = rtrim(basename($this->fileName), '.');
1272 $fileName = rtrim($this->fileName, '.');
/PHP-8.1/ext/mbstring/tests/
H A Diso2022jp_kddi_encoding.phpt55 $fields = explode(';', rtrim($line));
H A Dsjis_mobile_encodings.phpt95 $fields = explode(';', rtrim($line));
/PHP-8.1/ext/standard/
H A Dbasic_functions_arginfo.h2465 ZEND_FUNCTION(rtrim);
3102 ZEND_FE(rtrim, arginfo_rtrim)
3103 ZEND_FALIAS(chop, rtrim, arginfo_chop)
H A Dbasic_functions.stub.php730 function rtrim(string $string, string $characters = " \n\r\t\v\0"): string {} function
H A Dstring.c867 PHP_FUNCTION(rtrim) in PHP_FUNCTION() argument

Completed in 54 milliseconds