Home
last modified time | relevance | path

Searched refs:ltrim (Results 1 – 10 of 10) sorted by relevance

/PHP-7.4/ext/standard/tests/strings/
H A Dltrim.phpt2 Test ltrim() function
13 var_dump( ltrim() );
16 var_dump( ltrim("", " ", 1) );
30 var_dump ( ltrim(" \t\0 ltrim test") ); /* without second Argument */
67 string(10) "ltrim test"
68 string(13) " ltrim test"
71 string(10) "ltrim test"
72 string(11) " ltrim test"
73 string(10) "ltrim test"
74 string(10) "ltrim test"
[all …]
H A Dltrim_error.phpt2 Test ltrim() function : error conditions
12 echo "*** Testing ltrim() : error conditions ***\n";
15 var_dump( ltrim() );
19 var_dump( ltrim("Hello World", "Heo", $extra_arg) );
24 var_dump(ltrim($hello, "..a"));
25 var_dump(ltrim($hello, "a.."));
26 var_dump(ltrim($hello, "z..a"));
27 var_dump(ltrim($hello, "a..b..c"));
32 *** Testing ltrim() : error conditions ***
34 -- Testing ltrim() function with no arguments --
[all …]
H A Dltrim_basic.phpt2 Test ltrim() function : basic functionality
6 /* Prototype : string ltrim ( string $str [, string $charlist ] )
11 echo "*** Testing ltrim() : basic functionality ***\n";
19 var_dump(ltrim($text));
22 var_dump(ltrim($hello, "=!"));
25 var_dump(ltrim($hello, "!oleH="));
28 var_dump(ltrim($alpha, "A..Z"));
32 var_dump(ltrim($binary, "\x00..\x1F"));
37 *** Testing ltrim() : basic functionality ***
H A Dtrim.phpt2 trim(), rtrim() and ltrim() functions
8 'ABC' === ltrim('ABC')
11 "ABC \\0\\t\\n" === ltrim(" \\0\\t\\nABC \\0\\t\\n")
14 " \\0\\t\\nABC \\0\\t\\n" === ltrim(" \\0\\t\\nABC \\0\\t\\n",'')
/PHP-7.4/ext/openssl/tests/
H A Dopenssl_pkey_new_basic.phpt8 var_dump(strcasecmp(ltrim($expected, '0'), bin2hex($bin_key)));
/PHP-7.4/Zend/tests/
H A Dbug55509.phpt22 $value = (int)ltrim($tmp[1], " ")*1024;
/PHP-7.4/ext/standard/
H A Dphp_string.h29 PHP_FUNCTION(ltrim);
H A Dbasic_functions.c2826 PHP_FE(ltrim, arginfo_ltrim)
H A Dstring.c908 PHP_FUNCTION(ltrim) in PHP_FUNCTION() argument
/PHP-7.4/
H A Drun-tests.php2150 if (!strncasecmp('skip', ltrim($output), 4)) {
2167 if (!strncasecmp('info', ltrim($output), 4)) {
2173 if (!strncasecmp('warn', ltrim($output), 4)) {
2180 if (!strncasecmp('xfail', ltrim($output), 5)) {
2182 $section_text['XFAIL'] = trim(substr(ltrim($output), 5));

Completed in 40 milliseconds