Searched refs:ltrim (Results 1 – 13 of 13) sorted by relevance
/PHP-7.2/ext/standard/tests/strings/ |
H A D | ltrim.phpt | 2 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 D | ltrim_error.phpt | 2 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 D | ltrim_basic.phpt | 2 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 D | ltrim_variation1.phpt | 2 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 D | ltrim_variation2.phpt | 2 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 D | trim.phpt | 2 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 D | openssl_pkey_new_basic.phpt | 8 var_dump(strcasecmp(ltrim($expected, '0'), bin2hex($bin_key)));
|
/PHP-7.2/Zend/tests/ |
H A D | bug55509.phpt | 22 $value = (int)ltrim($tmp[1], " ")*1024;
|
/PHP-7.2/ext/standard/ |
H A D | php_string.h | 33 PHP_FUNCTION(ltrim);
|
H A D | basic_functions.c | 2812 PHP_FE(ltrim, arginfo_ltrim)
|
H A D | string.c | 934 PHP_FUNCTION(ltrim) in PHP_FUNCTION() argument
|
/PHP-7.2/ |
H A D | run-tests.php | 1646 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 D | sqlite3.c | 114921 FUNCTION(ltrim, 1, 1, 0, trimFunc ), 114922 FUNCTION(ltrim, 2, 1, 0, trimFunc ),
|
Completed in 373 milliseconds