Searched refs:ltrim (Results 1 – 10 of 10) sorted by relevance
/PHP-8.2/ext/standard/tests/strings/ |
H A D | ltrim.phpt | 2 Test ltrim() function 19 var_dump( ltrim($str, "\nusi") ); 24 var_dump ( ltrim(" \t\0 ltrim test") ); /* without second Argument */ 47 string(10) "ltrim test" 48 string(13) " ltrim test" 49 string(18) " ltrim test" 50 string(10) "ltrim test" 51 string(11) " ltrim test" 52 string(10) "ltrim test" 53 string(10) "ltrim test" [all …]
|
H A D | ltrim_error.phpt | 2 Test ltrim() function : error conditions 6 echo "*** Testing ltrim() : error conditions ***\n"; 9 echo "\n-- Test ltrim function with various invalid charlists\n"; 10 var_dump(ltrim($hello, "..a")); 11 var_dump(ltrim($hello, "a..")); 12 var_dump(ltrim($hello, "z..a")); 13 var_dump(ltrim($hello, "a..b..c")); 17 *** Testing ltrim() : error conditions *** 19 -- Test ltrim function with various invalid charlists 21 Warning: ltrim(): Invalid '..'-range, no character to the left of '..' in %s on line %d [all …]
|
H A D | ltrim_basic.phpt | 2 Test ltrim() function : basic functionality 6 echo "*** Testing ltrim() : basic functionality ***\n"; 14 var_dump(ltrim($text)); 17 var_dump(ltrim($hello, "=!")); 20 var_dump(ltrim($hello, "!oleH=")); 23 var_dump(ltrim($alpha, "A..Z")); 27 var_dump(ltrim($binary, "\x00..\x1F")); 31 *** Testing ltrim() : basic functionality ***
|
H A D | trim.phpt | 2 trim(), rtrim() and ltrim() functions 7 var_dump('ABC' === ltrim('ABC')); 10 var_dump("ABC \0\t\n" === ltrim(" \0\t\nABC \0\t\n")); 13 var_dump(" \0\t\nABC \0\t\n" === ltrim(" \0\t\nABC \0\t\n",''));
|
/PHP-8.2/Zend/tests/ |
H A D | bug55509.phpt | 22 $value = (int)ltrim($tmp[1], " ")*1024;
|
/PHP-8.2/ext/openssl/tests/ |
H A D | openssl_pkey_new_basic.phpt | 12 var_dump(strcasecmp(ltrim($expected, '0'), bin2hex($bin_key)));
|
/PHP-8.2/ext/standard/ |
H A D | basic_functions.stub.php | 1615 function ltrim(string $string, string $characters = " \n\r\t\v\0"): string {}
|
H A D | basic_functions_arginfo.h | 2448 ZEND_FUNCTION(ltrim); 3081 ZEND_SUPPORTS_COMPILE_TIME_EVAL_FE(ltrim, arginfo_ltrim)
|
H A D | string.c | 837 PHP_FUNCTION(ltrim) in PHP_FUNCTION() argument
|
/PHP-8.2/sapi/fpm/tests/ |
H A D | tester.inc | 1452 $this->error = $prefix ? 'ERROR: ' . $msg : ltrim($msg);
|
Completed in 46 milliseconds