Home
last modified time | relevance | path

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

/PHP-7.2/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 Dltrim_variation1.phpt2 Test ltrim() function : usage variations - test values for $str argument
6 /* Prototype : string ltrim ( string $str [, string $charlist ] )
11 echo "*** Testing ltrim() function: with unexpected inputs for 'str' argument ***\n";
71 // loop through with each element of the $inputs array to test ltrim() function
76 var_dump( ltrim($input, " \t-") );
85 *** Testing ltrim() function: with unexpected inputs for 'str' argument ***
106 Warning: ltrim() expects parameter 1 to be string, array given in %s on line %d
110 Warning: ltrim() expects parameter 1 to be string, array given in %s on line %d
114 Warning: ltrim() expects parameter 1 to be string, array given in %s on line %d
132 Warning: ltrim() expects parameter 1 to be string, resource given in %s on line %d
H A Dltrim_variation2.phpt2 Test ltrim() function : usage variations - test values for $charlist argument
6 /* Prototype : string ltrim ( string $str [, string $charlist ] )
11 echo "*** Testing ltrim() function: with unexpected inputs for 'charlist' argument ***\n";
71 // loop through with each element of the $inputs array to test ltrim() function
76 var_dump( ltrim("!---Hello World---!", $charlist) );
85 *** Testing ltrim() function: with unexpected inputs for 'charlist' argument ***
106 Warning: ltrim() expects parameter 2 to be string, array given in %s on line %d
110 Warning: ltrim() expects parameter 2 to be string, array given in %s on line %d
114 Warning: ltrim() expects parameter 2 to be string, array given in %s on line %d
132 Warning: ltrim() expects parameter 2 to be string, resource given in %s on line %d
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.2/ext/openssl/tests/
H A Dopenssl_pkey_new_basic.phpt8 var_dump(strcasecmp(ltrim($expected, '0'), bin2hex($bin_key)));
/PHP-7.2/Zend/tests/
H A Dbug55509.phpt22 $value = (int)ltrim($tmp[1], " ")*1024;
/PHP-7.2/ext/standard/
H A Dphp_string.h33 PHP_FUNCTION(ltrim);
H A Dbasic_functions.c2812 PHP_FE(ltrim, arginfo_ltrim)
H A Dstring.c934 PHP_FUNCTION(ltrim) in PHP_FUNCTION() argument
/PHP-7.2/
H A Drun-tests.php1646 if (!strncasecmp('skip', ltrim($output), 4)) {
1663 if (!strncasecmp('info', ltrim($output), 4)) {
1669 if (!strncasecmp('warn', ltrim($output), 4)) {
1676 if (!strncasecmp('xfail', ltrim($output), 5)) {
1678 $section_text['XFAIL'] = trim(substr(ltrim($output), 5));
/PHP-7.2/ext/sqlite3/libsqlite/
H A Dsqlite3.c114921 FUNCTION(ltrim, 1, 1, 0, trimFunc ),
114922 FUNCTION(ltrim, 2, 1, 0, trimFunc ),

Completed in 373 milliseconds