Searched refs:ltrim (Results 1 – 11 of 11) sorted by relevance
/php-src/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-src/Zend/tests/ |
H A D | bug55509.phpt | 22 $value = (int)ltrim($tmp[1], " ")*1024;
|
/php-src/ext/openssl/tests/ |
H A D | openssl_pkey_new_basic.phpt | 12 var_dump(strcasecmp(ltrim($expected, '0'), bin2hex($bin_key)));
|
/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 2332 function ltrim(string $string, string $characters = " \n\r\t\v\0"): string {}
|
H A D | basic_functions_arginfo.h | 2522 ZEND_FUNCTION(ltrim);
|
H A D | string.c | 695 PHP_FUNCTION(ltrim) in PHP_FUNCTION() argument
|
/php-src/build/ |
H A D | gen_stub.php | 1131 $parts = [...$this->className->getParts(), ltrim($this->methodName, '_')]; 1651 . str_replace('_', '-', ltrim($this->name->methodName, '_'))
|
/php-src/sapi/fpm/tests/ |
H A D | tester.inc | 1555 $this->error = $prefix ? 'ERROR: ' . $msg : ltrim($msg);
|
Completed in 58 milliseconds