Home
last modified time | relevance | path

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

/PHP-8.0/ext/standard/tests/strings/
H A Drtrim.phpt2 Testing rtrim() function
9 var_dump ( rtrim("rtrim test \t\0 ") ); /* without second Argument */
11 var_dump ( rtrim("rtrim test ", NULL) ); /* with NULL as second Argument */
28 var_dump( rtrim($obj, "tc") );
47 string(10) "rtrim test"
48 string(13) "rtrim test "
51 string(10) "rtrim test"
52 string(11) "rtrim test "
53 string(10) "rtrim test"
54 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
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-8.0/ext/openssl/tests/
H A Dopenssl_decrypt_basic.phpt26 var_dump(rtrim($output));
/PHP-8.0/sapi/cgi/tests/
H A D011.phpt20 echo rtrim($script) . "\n";
/PHP-8.0/scripts/dev/
H A Dcheck_parameters.php165 $name = rtrim($name, ')');
/PHP-8.0/sapi/fpm/tests/
H A Dstatus.inc104 $pattern = rtrim($pattern, $rowPattern[strlen($rowPattern) - 1]);
H A Dlogtool.inc285 $out = rtrim($line);
505 $line = rtrim($line);
H A Dtester.inc1227 $fileName = rtrim(basename($this->fileName), '.');
1242 $fileName = rtrim($this->fileName, '.');
/PHP-8.0/ext/intl/tests/
H A Dlocale_parse_locale2.phpt81 $res_str = rtrim($res_str);
/PHP-8.0/ext/standard/html_tables/
H A Dhtml_table_gen.php329 $map[] = array($matches[1], $matches[2], rtrim($matches[3]));
/PHP-8.0/
H A Drun-tests.php1812 echo rtrim($block);
2759 $info = ' XFAIL REASON: ' . rtrim($section_text['XFAIL']);
2762 $info = ' XLEAK REASON: ' . rtrim($section_text['XLEAK']);
/PHP-8.0/ext/standard/
H A Dbasic_functions_arginfo.h2455 ZEND_FUNCTION(rtrim);
3089 ZEND_FE(rtrim, arginfo_rtrim)
3090 ZEND_FALIAS(chop, rtrim, arginfo_chop)
H A Dbasic_functions.stub.php553 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 79 milliseconds